Re: Xorg replaces TTY1
On Sat 28 Nov 2015 at 12:27:01 +0000, Lisi Reisz wrote:
> On Saturday 28 November 2015 10:48:00 Nicolas George wrote:
> > L'octidi 8 frimaire, an CCXXIV, Lisi Reisz a écrit :
> > > I can access a plethora of VTs without changing to root.
> >
> > You, as far as I know, are a human being, not a Linux process. You do not
> > access VTs, you access computer keyboards that allow you to control VTs
> > through the courtesy of the getty program. The getty program run as root.
>
> Thanks, Nocolas. But that still doesn't really explain it. If $USER can
> access it, provided $USER is human, courtesy of the getty program, why can
> Xorg not access it via the getty program?
As Vincent Lefevre said, root privileges are needed to access a vt other
than the one startx is used on. However, this is not sufficient because
the co-operation of logind is also needed. It will not give it,
Reply to: