How can I run a Unity session inside Xephyr?
        Posted  
        
            by 
                d3vid
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by d3vid
        
        
        
        Published on 2012-03-29T04:17:52Z
        Indexed on 
            2012/03/29
            5:40 UTC
        
        
        Read the original article
        Hit count: 752
        
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
        © Ask Ubuntu or respective owner