Skip to content

Commit 0f05cda

Browse files
iwlguysoft
authored andcommitted
fix autologin-session #253
autologin-session always guisession, last session or ~/.dmrc if not set
1 parent 1027bcb commit 0f05cda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modules/gui/end_chroot_script

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ install_cleanup_trap
99

1010
#set up gui service
1111
sed -i 's/#user-session=.*/user-session=guisession/g' /etc/lightdm/lightdm.conf
12+
sed -i 's/#autologin-session=.*/autologin-session=guisession/g' /etc/lightdm/lightdm.conf
1213
# This is now down as a systemd service to handle username conf on boot
1314
sed -i 's/#autologin-user=.*/autologin-user=UID_1000_PLACEHOLDER/g' /etc/lightdm/lightdm.conf
1415

0 commit comments

Comments
 (0)