You are not logged in.
Pages: 1
I've read from the wiki and gotten this to work but its kind of slow compared to sddm autologin. For that it feels very weird as I expected it to be faster without external softwares.
I created
/etc/systemd/system/getty@tty1.service.d/override.conf
ExecStart=
ExecStart=-/usr/bin/agetty --autologin thumbie --noclear %I $TERM.profile
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi.xinitrc
exec awesome.It does work but I need to wait like 10-15 seconds and it gives following error before autologin inside.
/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X serverSources:
https://wiki.archlinux.org/title/Getty# … al_console
https://wiki.archlinux.org/title/Xinit# … X_at_login
Any clue how to optimize?
Offline
Recheck the xinitrc wiki, yours is missing some required lines.
"the wind-blown way, wanna win? don't play"
Offline
In addition you may need https://wiki.archlinux.org/title/Xinit#xserverrc
Offline
I created the
file
~/.xserverrc
#!/bin/sh
exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNRBut seems to still be quite slow.
Offline
And did you also fix your xinitrc?
Offline
I copied /etc/X11/xinit/xinitrc as template and added exec awesome to the bottom. Also deleting
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &Still same issue.
Last edited by simplisticways (2021-07-15 15:06:43)
Offline
Let's figure *what* is actually slow here.
Add some strategic
echo "about to to foobar:" >> /tmp/autologin.debug
date >> /tmp/autologin.debug lines into your .profile and .xinitrc and use "strace -t awesome 2>&1 > /tmp/awesome.strace" instead of "exec awesome".
Also compare your xorg log (notably the recorded date)
Offline
Pages: 1