kmscon
kmscon copied to clipboard
login option ignored
anything i put in login option in /etc/kmscon/kmscon.conf results in the same default behaviour
is it because the --login here https://github.com/Aetf/kmscon/blob/develop/docs/kmsconvt%40.service.in#L41 ?
The command line option always takes precedence over the config file kmscon.conf.
https://github.com/Aetf/kmscon/blob/develop/src/conf.c#L173
So you should modify the systemd service instead of kmscon.conf.
I moved all options to /etc/kmscon/kmscon.conf and it works.
kmsconvt service config:
ExecStart=/usr/bin/kmscon "--vt=%I"
/etc/kmscon/kmscon.conf:
login=/bin/login -p -f username
seats=seat0
no-switchvt
hwaccel
rotate=right
font-size=15
render-engine=gltex
xkb-layout=us
xkb-model=pc105
no-reset-env
font-name=Hack Nerd Font Mono
xkb-repeat-delay=500
grab-zoom-in=<Ctrl>equal