Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Replace default Linux VT with KMSCon, anyone?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sbbg
n00b
n00b


Joined: 02 Feb 2013
Posts: 21

PostPosted: Thu Dec 12, 2019 3:46 am    Post subject: Replace default Linux VT with KMSCon, anyone? Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6332

PostPosted: Thu Dec 12, 2019 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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