SDDM is problematic to me with i3 too. Right now, if I try to login to i3 via SDDM I'm returned to SDDM (I don't have plasma enabled). Logs didn't look like anything was wrong to me.

On 05/03/17 04:38, laverne wrote:
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









_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to