Can you post xserver logs?

I've noticed that my autologin on tty6 can no longer start X.

-------------------------
$ cat /etc/systemd/system/getty@tty6.service.d/autologin.conf 
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin infoscreen --noclear %I linux

$ cat /home/infoscreen/.profile 
#...
# launch infoscreen display :1
if [ -z "$DISPLAY" ] && [ -z "$SSH_TTY" ] && [ -z "$SUDO_USER" ] ; then
        export DISPLAY=:1
        startx -- :1
        sleep .1
fi
-------------------------

I get this error in /home/infoscreen/.local/share/xorg/Xorg.0.log:
[  5991.773] (EE) xf86OpenConsole: Cannot open /dev/tty0 (No such file or 
directory)

The problem is: X tries to grab current foreground console, instead of grabbing 
the console it is launched on.

If I set this up on tty0, it works. So, this is a regression.

Reply via email to