Update xautologin.

Xautologin run throught xinit.
master
Mike Hiretsky 13 years ago
parent ee98a256c5
commit 62aea133d5

@ -1,8 +1,15 @@
# Calculate chmod=0755
#!/bin/bash
echo $BASHPID >/var/run/xinit.pid
while true;
do
#?list(cl_migrate_user,1)!=#
export USER=#-list(cl_migrate_user,1)-#
/usr/share/calculate/xdm/xdm --login
su - #-list(cl_migrate_user,1)-# -c "/bin/bash -lc startx"
/usr/share/calculate/xdm/xdm --logout
env USER=#-list(cl_migrate_user,1)-# /usr/share/calculate/xdm/xdm --login
su - #-list(cl_migrate_user,1)-# -c 'source /etc/profile;/bin/bash /etc/X11/xinit/xinitrc'
env USER=#-list(cl_migrate_user,1)-# /usr/share/calculate/xdm/xdm --logout
#list#
#?list(cl_migrate_user,1)==#
:
#list#
done
exit 0

@ -2,14 +2,18 @@
CHECKVT=7
#?os_install_root_type==livecd||os_install_linux_shortname==CMC#
DISPLAYMANAGER="xautologin"
DISPLAYMANAGER="xinit"
START_STOP_ARGS="--background -- /usr/bin/xautologin -- vt$CHECKVT"
#os_install_root_type#
#?os_install_root_type!=livecd&&os_install_linux_shortname!=CMC&&pkg(kde-base/kdm)!=#
DISPLAYMANAGER="kdm"
!START_STOP_ARGS=empty
#os_install_root_type#
#?os_install_root_type!=livecd&&os_install_linux_shortname!=CMC&&pkg(gnome-base/gdm)!=&&pkg(kde-base/kdm)==#
DISPLAYMANAGER="gdm"
!START_STOP_ARGS=empty
#os_install_root_type#
#?os_install_root_type!=livecd&&os_install_linux_shortname!=CMC&&pkg(x11-misc/slim)!=&&pkg(kde-base/kdm)==&&pkg(gnome-base/gdm)==#
DISPLAYMANAGER="slim"
!START_STOP_ARGS=empty
#os_install_root_type#

Loading…
Cancel
Save