[Nix-dev] services.xserver.displayManager.auto does not work

Daniel Hlynskyi abcz2.uprola at gmail.com
Sat Jun 20 12:49:27 CEST 2015


Hi. I'm trying to run window manager without login prompt.
I'm using displayManager.auto, but it results into xterm without WM.

It uses under the hood SLiM, so the following config does not work either

     displayManager.slim =
        { enable = true;
          defaultUser = "danbst";
          autoLogin = true;
        };

Logs say:

Jun 20 10:42:31 master display-manager-start[7860]:
/nix/store/msj1a9rsch74cy3mwb8vbsamq7hsiay6-xauth-1.0.9/bin/xauth:  file
/var/run/slim.auth does not exist
Jun 20 10:42:34 master display-manager-start[7860]:
/nix/store/msj1a9rsch74cy3mwb8vbsamq7hsiay6-xauth-1.0.9/bin/xauth:  file
/home/danbst/.Xauthority does not

How can this be fixed or overriden to run window manager with specific user?

nixos vresion: 15.06pre64030.e1af50c (Dingo)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150620/0f516931/attachment.html 


More information about the nix-dev mailing list