On Wed, 2020-12-30 at 15:29 +0100, Tim Tassonis via blfs-dev wrote:
> Hi all
> 
> I now seen to have everything in place for elogind and rootless X, 
> however, just calling startx still does not seem to work.
> I get the following error on startx on the console:
> 
> 
> [   382.428] (EE) parse_vt_settings: Cannot open /dev/tty0
> (Permission 
> denied)
> 
> 
> If I just call
> 
> X vt7
> 
> I get:
> 
> 
> [   972.965] (EE) xf86OpenConsole: Cannot open virtual console 7 
> (Permission denied)
> 
> 
> However, I get a success using:
> 
> startx -- vt1
> 
> , as /dev/tty1 seems to be my seat:
> 
> 
> timtas@lfsda0:~$ loginctl
> SESSION  UID USER   SEAT  TTY
>        4 1000 timtas       pts/0
>        7 1000 timtas seat0 tty1
> 
> 
> So, is this all correct now, and I'm fine to go on?
> 

Well, I've never have had to specify the vt with startx, so something
is weird. Just to check: what is your version of elogind, and if using
246.9.1, have you applied the sed?
sed -i '/running/,+1s:^://:' src/login/pam_elogind.c

Also, the seat is tty1, but even without elogind, /dev/tty1 would be
owned by you if logging in on it.

Not sure exactly what is going on, though
Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to