View previous topic :: View next topic |
Author |
Message |
sbbg n00b

Joined: 02 Feb 2013 Posts: 23
|
Posted: Thu Dec 12, 2019 3:46 am Post subject: Replace default Linux VT with KMSCon, anyone? |
|
|
Hi, Gentoo gurus,
I've been always a terminal fan. I just discover kmscon and willing to replace default Linux VT with kmscon.
So I have a simple openrc script
Code: |
#!/sbin/openrc-run
start() {
ebegin "Starting KmsCon"
/usr/bin/kmscon -l /bin/login --seats all &
eend 0
return 0
}
stop() {
ebegin "Stopping KmsCon"
killall kmscon
eend 0
return 0
}
|
But somehow, this only enable a new session on no.2 VT.
Is there a better approach to achieve the following 2 objectives?
1.Replace default VT with KMSCon.
2.Apply KMSCon to all seats.
Thank you. |
|
Back to top |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6862
|
Posted: Thu Dec 12, 2019 6:25 am Post subject: |
|
|
Tried this about 5 years ago. kmscon seemed prone to weird lockups, and the lack of any releases since then doesn't give me much confidence in it.
If you really want to replace the default VT with it, you'll need to disable fbcon emulation in kconfig and remove your agetty services, which will no longer work as a result.
Note that doing so will leave your system unusable if you can't get kmscon/x11/wayland to start automatically and reliably.
Applying kmscon to all seats requires systemd, as multiseat is a systemd-specific concept. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|