You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using services.kmscon.enable = true, the login tty does not reset after quitting the shell. I've also noticed that the welcome message does not appear.
Steps To Reproduce
Steps to reproduce the behavior:
nix run github:jflanglois/debug-kmscon (source; add --extra-experimental-features "nix-command flakes" if not set up for flakes)
Wait for qemu VM to boot up and auto login
Log out (via ctrl-d, exit, or logout...)
Observe that the console does not reset and cannot be interacted with anymore (e.g. ctrl-c doesn't do anything)
Expected behavior
The tty resets by clearing the console and presenting a new login prompt.
Additional context
This used to work, but stopped working in the last year. My next steps were going to be to bisect nixpkgs, but I haven't gotten to it yet and figured I'd raise this issue in the meantime. I should note that kmscon hasn't changed since 2013, so I suspect it might be something to do with login (edit: I didn't realize it had been forked, so it may be the issue). Also of note is that getty seems to have login use ttyS0, so there might be something there too.
FWIW, there was another fork from Aetf's version: MacSlow/kmscon It has several improvements. Those were included in a PR that Aetf never applied, unfortunately. I doubt he ever even saw the PR.
I rather hoped that MacSlow would be willing to take over the project and keep it going. At this point, it would be nice if the derivation for this package included those patches. I'm not knowledgeable enough about nix to create or override the derivation myself, at least not yet.
Describe the bug
When using
services.kmscon.enable = true
, the login tty does not reset after quitting the shell. I've also noticed that the welcome message does not appear.Steps To Reproduce
Steps to reproduce the behavior:
nix run github:jflanglois/debug-kmscon
(source; add--extra-experimental-features "nix-command flakes"
if not set up for flakes)exit
, orlogout
...)Expected behavior
The tty resets by clearing the console and presenting a new login prompt.
Additional context
This used to work, but stopped working in the last year. My next steps were going to be to bisect nixpkgs, but I haven't gotten to it yet and figured I'd raise this issue in the meantime.
I should note that kmscon hasn't changed since 2013, so I suspect it might be something to do with(edit: I didn't realize it had been forked, so it may be the issue). Also of note is that getty seems to havelogin
login
usettyS0
, so there might be something there too.Metadata
(note: nixpkgs isn't found because the system is managed with flakes. The vm is a more typical base setup.)
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: