Revert "nixos/desktop-managers/xterm: Disable by default"#70182
Revert "nixos/desktop-managers/xterm: Disable by default"#70182matthewbauer wants to merge 1 commit intoNixOS:masterfrom
Conversation
Ericson2314
left a comment
There was a problem hiding this comment.
I don't like hacking around upstream bugs like this, despite having been impacted by this.
|
Plus, the state version is there to help with the migration. |
I disagree that this is an upstream bug. The problem is we need some placeholder WM to be available when nothing else has been manually specified. For a long time on NixOS that has been xterm, so might as well keep it available for new users. And these are just defaults, so you can always disable xterm manually if you really don't like it for some reason. |
|
It looks like both issues were with lightdm? I think it is an upstream bug in that lightdm should give a better error message when there is no selected session. It's a classic "forgot about base case" (0) bug. |
|
Yeah, I honestly don't understand why anyone was ever abusing the xterm session for this purpose. As for having a placeholder WM there's #68371 |
It seems that lightdm notoriously gives no feedback in multiple cases of a session not starting. |
|
Having xterm set as default caused a lot of headache on my side when I tried to setup autologin with any display manager. I failed to set |
|
Hmm, it appears at least in lightdm this failure feedback is greeter side I guess lightdm-gtk-greeter lacks code like that ^ @Ericson2314. |
This reverts commit f140dfb.
This reverts commit cf56cef.
This reverts commit 456c42c.
This has caused more issues than originally intended. It looks like many configurations rely on xterm being set to work correctly. This includes when you are starting a WM without going through a DE. We shouldn't break these setups (if stateVersion is unset). To make matters worse, most users don't actually know they are relying on xterm. LightDM seems to be the main one effected for now:
I expect more issues to come up as users of 19.03 upgrade to 19.09.
Motivation for this change
Things done
sandboxinnix.confon non-NixOS)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)Notify maintainers
cc @