Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] sddm: 'MinimumVT=12' ignored (Read 521 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] sddm: 'MinimumVT=12' ignored

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
Code: [Select]
[...]
[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:
Code: [Select]
[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!

 

Re: sddm: 'MinimumVT=12' ignored.

Reply #1
Why I've never removed sddm I don't know as I don't use it but because I haven't
Code: [Select]
man sddm.conf
tells me
Quote
MinimumVT=
Minimum  virtual  terminal number that will be used by the first display. Virtual terminal number will increase as new displays added.  This setting is no longer available since SDDM v0.20.
I think you need to pass vt12 to Xserver ?
So at a guess
Code: [Select]
ServerArguments=-nolisten tcp -retro -reset -terminate -quiet -once vt12

Re: sddm: 'MinimumVT=12' ignored.

Reply #2
Code: [Select]
man sddm.conf
tells me
Quote
MinimumVT=
Minimum  virtual  terminal number that will be used by the first display. Virtual terminal number will increase as new displays added.  This setting is no longer available since SDDM v0.20.
Thanks for pointing this out! So a reason to trash SDDM.
I think you need to pass vt12 to Xserver ?
So at a guess
Code: [Select]
ServerArguments=-nolisten tcp -retro -reset -terminate -quiet -once vt12
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:
Code: [Select]
 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.