Start gnome as another user on display :1

Posted on

Problem :

I logged in a console as a second user and I tried running startx, xinit, gnome-session, gnome-shell and all their combinations (in bg &). X starts in display :1, I see the mouse pointer, but I don’t see any background or gnome panels.

How do I make gnome start as another user on display :1, just like it is normally started by gdm when I log in, with all the panels, the background, multiple desktops, etc?

(Debian testing, gnome3)

Solution :

Try :
~$ sudo DISPLAY=:1 gnome-session
it will normally start a gnome-session in display :1

Leave a Reply

Your email address will not be published. Required fields are marked *