Configure gdm for autologin
This commit is contained in:
parent
82255484ee
commit
5d583126b4
@ -18,7 +18,11 @@ sed -i "s|id:3\(:initdefault.*\)|id:5\1|" $MOUNTDIR/etc/inittab
|
||||
|
||||
# configure GDM for autologin
|
||||
#
|
||||
# sed -i 's|[#]*AutoLoginEnable=.*|AutoLoginEnable=true|' \
|
||||
cat > $MOUNTDIR/etc/gdm/gdm.conf << _EOF
|
||||
[daemon]
|
||||
AutomaticLoginEnable=true
|
||||
AutomaticLogin=root
|
||||
_EOF
|
||||
|
||||
# FIXME: ensure alternatives are correclty set
|
||||
chroot $MOUNTDIR update-alternatives-set-dri
|
||||
|
Loading…
Reference in New Issue
Block a user