summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrtan Samos <drtan@lavabit.com>2013-04-27 20:59:48 +0200
committerDrtan Samos <drtan@lavabit.com>2013-04-27 20:59:48 +0200
commit9761e6a782c357a9b510f51eea71f21e0199a314 (patch)
treef192143d49d911d40d687e4c45189379a2d82ca0
parent09887eba175a8c2d853603aa919c6950a253438f (diff)
Auto-login is of no use when enabling GDM and hides the problem with hanging GDM.
-rwxr-xr-xconfigs/gnome/root-image/root/customize_root_image.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/configs/gnome/root-image/root/customize_root_image.sh b/configs/gnome/root-image/root/customize_root_image.sh
index f6c4b14..37bd015 100755
--- a/configs/gnome/root-image/root/customize_root_image.sh
+++ b/configs/gnome/root-image/root/customize_root_image.sh
@@ -17,11 +17,4 @@ chmod 440 /etc/sudoers.d/g_wheel
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
-sed 's#\(^ExecStart=-/sbin/agetty\)#\1 --autologin root#;
- s#\(^Alias=getty.target.wants/\).\+#\1autologin@tty1.service#' \
- /usr/lib/systemd/system/getty@.service > /etc/systemd/system/autologin@.service
-
-systemctl disable getty@tty1.service
-
-# Remember to not to include multi-user.target, because it stops gdm.service from starting at boot.
-systemctl enable pacman-init.service autologin@.service NetworkManager.service gdm.service
+systemctl enable pacman-init.service NetworkManager.service gdm.service