Ahoj,
I am on an OpenRC based Artix Linux system.
I use sddm as display manager.
In my
/etc/sddm.conf.d/01-main.conf I have
[...]
[X11]
[...]
# The lowest virtual terminal number that will be used.
MinimumVT=12
[...]
However, at system boot, the X server is started on VT 2 (VT 1 is already in use for boot messages).
How can I force sddm to use VT12 and higher?
The complete
/etc/sddm.conf.d/01-main.conf, sans comments and empty lines, and username censored:
[Autologin]
Relogin=false
Session=xinitrc.desktop
User=<censored>
[General]
HaltCommand=/usr/bin/loginctl poweroff
RebootCommand=/usr/bin/loginctl reboot
Namespaces=
Numlock=none
[Theme]
Current=maldives
CursorTheme=Neutral
DisableAvatarsThreshold=15
EnableAvatars=true
FacesDir=/usr/share/sddm/faces
ThemeDir=/usr/share/sddm/themes
[Users]
DefaultPath=/usr/local/bin:/usr/bin:/bin
HideShells=/bin/false,/sbin/nologin
HideUsers=pulse,courier,tss,amule,wwwoffle,signal-cli,dhcp,_skype
MaximumUid=65535
MinimumUid=1000
RememberLastSession=false
RememberLastUser=false
ReuseSession=false
[Wayland]
EnableHiDPI=false
SessionCommand=/usr/share/sddm/scripts/wayland-session
SessionDir=/usr/share/wayland-sessions
SessionLogFile=.local/share/sddm/wayland-session.log
[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=false
MinimumVT=12
ServerArguments=-nolisten tcp -retro -reset -terminate -quiet -once
ServerPath=/usr/bin/X
SessionCommand=/usr/share/sddm/scripts/Xsession
SessionDir=/usr/share/xsessions
SessionLogFile=.local/share/sddm/xorg-session.log
UserAuthFile=.Xauthority
XauthPath=/usr/bin/xauth
XephyrPath=/usr/bin/Xephyr
Regards!
Why I've never removed sddm I don't know as I don't use it but because I haven't
man sddm.conf
tells me
I think you need to pass vt12 to Xserver ?
So at a guess
ServerArguments=-nolisten tcp -retro -reset -terminate -quiet -once vt12
Thanks for pointing this out! So a reason to trash SDDM.
Thanks.
sddm passes it's own notion of
vt to the X server, I think to handle multiple logins.
ps ax | grep Xorg shows me:
2269 ? Rsl 9:26 /usr/lib/Xorg -nolisten tcp -retro -reset -terminate -quiet -once -background none -seat seat0 vt2 -auth /var/run/sddm/xauth_VWHjXY -noreset -displayfd 16
which has a
vt2 within the command line.
Marking this as solved since the answer is given: SDDM ignores this option.