-
-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
`services.xserver.displayManager.job.execCmd' is defined multiple times #47945
Comments
It looks like the system is trying to enable botth |
I am not sure where or what to look for, but /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/display-managers/default.nix says: options = {
and /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/desktop-managers/default.nix says:
}; These are where grep finds desktopManager and displayManager on the left side of an equals sign. |
Ah, sorry should've specified that I was referring to your system configuration file: If both Stuff to try out if the above doesn't work or apply would be to explicitly set the display manager to your preference (eg. |
Thank you, Tor.
/etc/nixos/configuration.nix said:
# Enable the xfce Desktop Environment.
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.xfce.enable = true;
services.xserver.desktopManager.gnome3.enable = true;
#
I changed it to:
# Enable the xfce Desktop Environment.
#services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.xfce.enable = true;
services.xserver.desktopManager.gnome3.enable = true;
#
to turn off sddm, and the system built and worked.
I use the xfce desktop, the gnome3 desktop does not work on this particular
laptop.
I have to enable gnome3 for network manager and bluetooth.
I have never tried kde on this system, I don't like it much, and it did not
appear as an option on the login screen.
I am curious why sddm is a display manager, and gnome3 and xfce are desktop
managers, in this section.
Carl
…On Sat, Oct 6, 2018 at 8:10 PM Tor Hedin Brønner ***@***.***> wrote:
Ah, sorry should've specified that I was referring to your system
configuration file: /etc/nixos/configuration.nix.
If both gdm and sddm is enabled in your config, simply remove the one you
don't want (gdm is typically used by gnome and sddm by plasma/kde). If
that's not the case we're dealing with a bug (probably triggered by
enabling the plasma5 and gnome3 desktop managers).
Stuff to try out if the above doesn't work or apply would be to explicitly
set the display manager to your preference (eg. gdm if you're using gnome
and sddm if you're using plasma). If that doesn't work try to also
disable the display manager you're not using, eg. services.xserver.displayManager.sddm.enable
= false. That should hopefully fix it until we can fix the problem
properly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#47945 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACi3ePhzD3K2lv_Wtig3MUSBcl3-HO8nks5uiUZfgaJpZM4XLDMv>
.
|
Glad it worked. You should be able to replace A display manager is simply used to log into a desktop manager/environment like xfce. |
No, I had added gnome3 with 17.09, where I started. I hacked about to get
Nix installed from flash and ethernet, and added gnome to get network
manager for wireless. And bluetooth for a trackball I use.
With 18.09. gnome desktop now works, with and without Xorg. I don't know
which desktop I will use.
The purpose of this system was to have something besides fedora, and to
experiment with Haskell.
The computer is an Acer Asipre, with a touch screen and Amd hardware.
I picked it up cheap as refurbished. It is rather idiosyncratic.
Carl
…On Sun, Oct 7, 2018 at 12:06 PM Tor Hedin Brønner ***@***.***> wrote:
Glad it worked. You should be able to replace ...gnome3.enable = true
with networking.networkmanager.enable = true
<https://nixos.org/nixos/options.html#networkmanager.enable>, that way
you'll avoid pulling in a bunch of stuff you don't necessarily want. I'm
guessing this happened when trying to upgrade to 18.09? Else I can't quite
understand how gnome3 would pull in gdm.
A display manager is simply used to log into a desktop manager/environment
like xfce.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#47945 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACi3ePKi5t_yk3LcXzqod3xs2NV8xLbuks5uiiZ4gaJpZM4XLDMv>
.
|
The root cause should've been addressed in #48080. |
Issue description
The unique option
services.xserver.displayManager.job.execCmd' is defined multiple times in
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/display-managers/sddm.nix' and `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/services/x11/display-managers/gdm.nix'.Steps to reproduce
nixos-rebuild switch --upgrade
Technical details
first try with nixos-18.09
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
"x86_64-linux"
Linux 4.14.71, NixOS, 18.03.133245.d16a7abceb7 (Impala)
yes
no
nix-env (Nix) 2.0.4
"nixos-18.09beta739.6cbd1ec4b04"
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
The text was updated successfully, but these errors were encountered: