[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xorg replaces TTY1



On Wed 25 Nov 2015 at 15:48:48 +0100, Vincent Lefevre wrote:

> On 2015-11-25 12:58:15 +0000, Brian wrote:
> > This is where I think the confusion lies. Quoting
> > 
> >   https://patchwork.freedesktop.org/patch/23004/
> > 
> > again.
> > 
> >   There are 2 reasons for this change:
> > 
> >   1) It is needed to make Xorg run without root rights
> >   2) The old behavior creates a new session-id (as returned by getsid()),
> >      without registering it with PAM, this breaks session managers such
> >      as systemd-logind. 
> > 
> > Reason 2) is the one relevant to the first post in the thread.
> 
> Both are relevant. But if xserver-xorg-legacy is used as you suggested,
> then I suppose that reason 2 is the one that is still relevant.

I was thinking of the OP being on Jessie. The server is SUID there.

> But then, if the user does "startx -- vt7", he would still be affected
> by the session manager issue, possibly except with some PAM
> reconfiguration.

"startx -- vt7" won't work (tested). X only runs on the virtual console
it was started from.

Play with PAM? I want a quiet life. :)


Reply to: