1

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)

2
  • 1
    Are you talking about GNOME 2 or GNOME 3?
    – fpmurphy
    Jun 10, 2014 at 0:10
  • GNOME 3, it's in the tags
    – f.ardelian
    Jun 10, 2014 at 3:13

1 Answer 1

4

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

1
  • Not sure the exact reason for the downvote as I didn't do it. (maybe the person who did, could advise why!), but you might want to expand your answer to include cases where 'normally' wouldn't apply.
    – Stese
    Nov 14, 2017 at 14:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .