X server: Enable local access control

For the last ten years we have been passing -ac to the X server, which
is very bad idea.

Fixes #14623.

(cherry picked from commit 1541fa351b)
This commit is contained in:
Eelco Dolstra 2016-04-12 18:37:53 +02:00 committed by Vladimír Čunát
parent 2d32ae48b0
commit d7c7c0e357

View File

@ -516,8 +516,7 @@ in
};
services.xserver.displayManager.xserverArgs =
[ "-ac"
"-terminate"
[ "-terminate"
"-logfile" "/var/log/X.${toString cfg.display}.log"
"-config ${configFile}"
":${toString cfg.display}" "vt${toString cfg.tty}"