Don't use ConsoleKit
This commit is contained in:
parent
d692a0807a
commit
2526afb1c7
@ -53,12 +53,6 @@ let
|
|||||||
fi
|
fi
|
||||||
''}
|
''}
|
||||||
|
|
||||||
# Start a ConsoleKit session so that we get ownership of various
|
|
||||||
# devices.
|
|
||||||
if test -z "$XDG_SESSION_COOKIE"; then
|
|
||||||
exec ${pkgs.consolekit}/bin/ck-launch-session "$0" "$sessionType"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Handle being called by kdm.
|
# Handle being called by kdm.
|
||||||
if test "''${1:0:1}" = /; then eval exec "$1"; fi
|
if test "''${1:0:1}" = /; then eval exec "$1"; fi
|
||||||
|
|
||||||
|
|||||||
@ -111,7 +111,7 @@ in
|
|||||||
logsXsession = true;
|
logsXsession = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
security.pam.services = [ { name = "kde"; allowNullPassword = true; } ];
|
security.pam.services = [ { name = "kde"; allowNullPassword = true; ownDevices = true; } ];
|
||||||
|
|
||||||
users.extraUsers = singleton
|
users.extraUsers = singleton
|
||||||
{ name = "kdm";
|
{ name = "kdm";
|
||||||
|
|||||||
@ -115,7 +115,7 @@ in
|
|||||||
|
|
||||||
# Allow null passwords so that the user can login as root on the
|
# Allow null passwords so that the user can login as root on the
|
||||||
# installation CD.
|
# installation CD.
|
||||||
security.pam.services = [ { name = "slim"; allowNullPassword = true; } ];
|
security.pam.services = [ { name = "slim"; allowNullPassword = true; ownDevices = true; } ];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user