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

1 Answer 1


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

Ubuntu Forums Very informative


Dedoimedo Nice graphics

Hope this helps

  • these are helpful, but don't resolve the issues above I'm afraid, I guess I'm looking for something more explicit
    – lofidevops
    Mar 30, 2012 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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