-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
gdm: start gdm on tty7 rather than default tty1 #31820
Conversation
- Fixes nixos-rebuild switch/test issue with GNOME NixOS#21439 - The solution was given here: roastiek@d761e66#commitcomment-25382880
Thanks! I'm running the NixOS tests now. If they pass I'll merge. (I don't have a NixOS machine on master branch.) |
On my system the test times out after printing this block of test repeatedly for a long time:
Anyway, I think we can revert 440178d ("gdm: don't start getty@tty1 if enabled"), and remove the other lines regarding "getty@tty1" in nixos/modules/services/x11/display-managers/gdm.nix. |
This commit isn't needed anymore since we now run gdm on tty7. This reverts commit 440178d.
- There used to be a conflict between gdm and getty both trying to access tty1 - This conflict was fixed by running gdm on tty7 instead
Thanks for the review @bjornfor. I've removed the references to getty. Things still seem to work for me 😄 |
Yep, since the tests not working on my system is not a regression, I don't think it should block integration. |
/cc @jtojnar. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really my area of expertise but it seems to work with GNOME 3.26.
Applied to master (c46d4da and 2 parents). Thanks! |
nixos-rebuild switch/test issue with GNOME #21439
roastiek@d761e66#commitcomment-25382880
Motivation for this change
I can't use nixos-rebuild switch at the moment. I was waiting for someone else to create a pull request, but I thought I might as well.
Things done
As per comments on ticket, went for solution that was brought forward by @deedrah and @bjornfor: start gdm on tty7.
Tested and works for me with gnome 3.24 + gdm + X11.
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)