Skip to content

Commit 7a0df40

Browse files
Daniel Martinezclassabbyamp
authored andcommitted
dracut/vmklive/display-manager-autologin.sh: set lightdm user-session
1 parent fd38094 commit 7a0df40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dracut/vmklive/display-manager-autologin.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ if [ -r "${NEWROOT}/etc/lightdm/lightdm.conf" ]; then
3838
"${NEWROOT}/etc/lightdm/lightdm.conf"
3939
sed -i -e "s|^\#\(autologin-session=\).*|\1$(cat "${NEWROOT}/etc/lightdm/.session")|" \
4040
"${NEWROOT}/etc/lightdm/lightdm.conf"
41+
sed -i -e "s|^\#\(user-session=\).*|\1$(cat "${NEWROOT}/etc/lightdm/.session")|" \
42+
"${NEWROOT}/etc/lightdm/lightdm.conf"
4143
fi
4244

4345
# Configure lxdm autologin.

0 commit comments

Comments
 (0)