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

Daniel Hlynskyi abcz2.uprola at gmail.com
Sat Jun 20 20:46:54 CEST 2015


thanks, that fixes issue!

2015-06-20 11:06 GMT+00:00 Arseniy Seroka <ars.seroka at gmail.com>:

>   I confirm this issue.
>
> I can solve it only by manually setting:
> ```
> displayManager.sessionCommands = with pkgs; ''
>     ${haskellngPackages.xmonad}/bin/xmonad
> '';
> ```
>
> Sincerely,
> Arseniy Seroka
>
> On 20 June 2015 13:49:39 Daniel Hlynskyi <abcz2.uprola at gmail.com> wrote:
>
>> 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)
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150620/1de466f5/attachment.html 


More information about the nix-dev mailing list