Xfce & lightdm -> xfce cannot start with normal user

Hi !

I have installed nixos with xfce and lightdm and if i login with root user xfce start and all work !

But if i login with normal user the xfce deskop won’t start !

Here is my nix configuration

services.xserver.desktopManager.xfce.enable = true;
services.xserver.desktopManager.default = "xfce";
services.xserver.displayManager.lightdm.enable = true;

and if use exact this in configuration → same problem:


and if i use:

services.xserver.windowManager.default = "xfce";

it says: Error: Default window manager (xfce) not found

and with only config of above (without default window manager):

In the .xsession-erroes log file it says also window manager xcfe not found

The normal user is configured in the nix config file and is in group wheel networkmanager …

Thanks for help !

kind regards kri

1 Like