* /var/lib/kdm needs to be owned by ‘kdm’.

* Set KDEDIRS properly in kdm.

svn path=/nixos/trunk/; revision=27817
This commit is contained in:
Eelco Dolstra 2011-07-18 12:36:46 +00:00
parent 63e9ece771
commit c45356769e

View File

@ -100,9 +100,10 @@ in
services.xserver.displayManager.job = services.xserver.displayManager.job =
{ execCmd = { execCmd =
'' ''
mkdir -p /var/lib/kdm mkdir -m 0755 -p /var/lib/kdm
chown kdm /var/lib/kdm
${(optionalString (config.system.boot.loader.id == "grub") "PATH=${config.system.build.grub}/sbin:$PATH ") + ${(optionalString (config.system.boot.loader.id == "grub") "PATH=${config.system.build.grub}/sbin:$PATH ") +
"KDEDIRS=${kdebase_workspace} exec ${kdebase_workspace}/bin/kdm -config ${kdmrc} -nodaemon"} "KDEDIRS=/var/run/current-system/sw exec ${kdebase_workspace}/bin/kdm -config ${kdmrc} -nodaemon"}
''; '';
logsXsession = true; logsXsession = true;
}; };