Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kmscon enters zombie state #80

Open
syntaxman opened this issue Apr 26, 2024 · 1 comment
Open

kmscon enters zombie state #80

syntaxman opened this issue Apr 26, 2024 · 1 comment

Comments

@syntaxman
Copy link

Hello,

I'm running an up-to-date NixOS system. I have installed kmscon and it successfully starts up, replacing the kernel console and agetty. The problem appears if I switch to a VT, but don't do anything to log in. I start in X at tty2, and switch to tty1, where I see kmscon take control of the display and present a login prompt. I create no input at all. If I go back to tty2, then after about a minute, I can check on tty1 again and it will display the error, "Login timed out after 60 seconds". Keyboard input is displayed, but ignored. I am still able to switch to other ttys. The process table will show that kmscon instance is now a zombie. This is 100% predictable on any of the ttys.

This is the relevant part of my configuration.nix:
services.kmscon = {
enable = true;
hwRender = true;
fonts = [ { name = "Inconsolata Nerd Font"; package = pkgs.inconsolata-nerdfont; } ];
extraConfig = ''
font-size=16
font-dpi=255
font-engine=pango
xkb-model=pc105
xkb-layout=us
gpus=all
render-engine=gltex
'';
};

console = {
font = "Lat2-Terminus16";
useXkbConfig = true; # use xkb.options in tty.
earlySetup = true;
};

@jflanglois
Copy link

I end up in a similar state, but not the same way: NixOS/nixpkgs#315198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants