Don't for when running startx from autostart
This commit is contained in:
parent
411e45bfdf
commit
b440669527
@ -1680,7 +1680,7 @@ xinit_config()
|
|||||||
EOF
|
EOF
|
||||||
cat > "$MNT/home/$NEWUSER/$LOGINRC" <<- EOF
|
cat > "$MNT/home/$NEWUSER/$LOGINRC" <<- EOF
|
||||||
# automatically run startx when logging in on tty1
|
# automatically run startx when logging in on tty1
|
||||||
[ -z "\$DISPLAY" ] && [ \$XDG_VTNR -eq 1 ] && exec startx
|
[ -z "\$DISPLAY" ] && [ \$XDG_VTNR -eq 1 ] && startx
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
rm -rf "$AUTOLOGIN_SERV"
|
rm -rf "$AUTOLOGIN_SERV"
|
||||||
|
Reference in New Issue
Block a user