[Nix-dev] Can't launch XFCE from SDDM?
laverne
lists-laverne at schrock.email
Sun Mar 5 04:38:03 CET 2017
Hi,
I have the following lines in my /etc/nixos/configuration.nix
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.kde5.enable = true;
I just tried *adding* this one:
services.xserver.desktopManager.xfce.enable = true;
and then `nixos-rebuild switch`
Now SDDM offers kde5, xterm, and xfce (instead of just kde5 and xterm). However, selecting xfce still takes me to the KDE desktop.
These lines from the system log seem relevant:
Mar 04 21:10:37 laverne-pc systemd[1]: Started User Manager for UID 1000.
Mar 04 21:10:37 laverne-pc sddm-helper[4290]: Starting: "/nix/store/h2m02ai92x3rycygqpq57x7pbwv9znqg-xsession /nix/store/h2m02ai92x3rycygqpq57x7pbwv9znqg-xsession 'xfce'"
Mar 04 21:10:37 laverne-pc sddm-helper[4300]: Adding cookie to "/home/laverne/.Xauthority"
Mar 04 21:10:37 laverne-pc sddm[750]: Session started
Mar 04 21:10:37 laverne-pc xsession[4300]: removed '/home/laverne/.cache/icon-cache.kcache'
Mar 04 21:10:38 laverne-pc xsession[4300]: Loading stage "initial" 260
Mar 04 21:10:38 laverne-pc xsession[4300]: startkde: Starting up...
(My mail client wraps that oddly....)
What is with the weird call to the xsession script? Is it actually calling the script and passing the script name as it's first argument with 'xfce' as the second argument? I'm not very good at reading Bash scripts, but I'm pretty sure that the script never uses its second argument (esp. if the first starts with a '/').
I'm running NixOS 16.09.1803.40de598.
Does anyone else have SDDM + XFCE working on 16.09? I would also be willing to give the 17.03 beta a try if folks think this will work better there.
Cheers,
Laverne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170304/bf0e9975/attachment.html>
More information about the nix-dev
mailing list