File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,10 @@ if [ x"$SHELLS_USERNAME" != x ]; then
9494 [[ -d /run/openrc ]] && sed -i -e ' s/^.*minimum-vt=.*/minimum-vt=7/' /etc/lightdm/lightdm.conf.d/70-xubuntu.conf
9595 gpasswd -a " ${SHELLS_USERNAME} " autologin
9696 echo [SeatDefaults] > /etc/lightdm/lightdm.conf.d/70-xubuntu.conf
97+ echo user-session=xubuntu >> /etc/lightdm/lightdm.conf.d/70-xubuntu.conf
9798 echo autologin-user=${SHELLS_USERNAME} >> /etc/lightdm/lightdm.conf.d/70-xubuntu.conf
9899 echo autologin-user-timeout=0 >> /etc/lightdm/lightdm.conf.d/70-xubuntu.conf
99- echo user- session=xubuntu >> /etc/lightdm/lightdm.conf.d/70-xubuntu.conf
100+ echo session-cleanup-script=pkill -P1 -fx /usr/sbin/lightdm >> /etc/lightdm/lightdm.conf.d/70-xubuntu.conf
100101 echo pam-autologin-service=lightdm-autologin >> /etc/lightdm/lightdm.conf.d/70-xubuntu.conf
101102 echo " auth sufficient pam_succeed_if.so user ingroup nopasswdlogin" >> /etc/pam.d/lightdm
102103 groupadd -r nopasswdlogin
You can’t perform that action at this time.
0 commit comments