Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can get Xephyr to run single applications within a Xephyr window. How can I run an entire Unity desktop session within a Xephyr window? (Preferably as another user.)

If I use the gtk-xephyr script with the command gnome-session --session=ubuntu, I get a black window. If I run compiz I get a grey window.

If I do not use the script and just run the following I get a popup in the Xephyr window saying "Could not acquire name on session bus. [Log out]" and in the terminal "gnome-session[3157]: WARNING: Failed to acquire org.gnome.SessionManager".

Xephyr :8 &
DISPLAY=:8 gnome-session --session=ubuntu
share|improve this question

This is probably as close as you are going to get.

Ubuntu Forums Very informative


Dedoimedo Nice graphics

Hope this helps

share|improve this answer
these are helpful, but don't resolve the issues above I'm afraid, I guess I'm looking for something more explicit – d3vid Mar 30 '12 at 7:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.