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: WARNING: Failed to acquire org.gnome.SessionManager".
Xephyr :8 & DISPLAY=:8 gnome-session --session=ubuntu