Sun Apr 10, 2016 10:09 am
#!/bin/sh
## live-config(7) - System Configuration Scripts
## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.
## 0105-lightdm-autologin-timeout (additional custom live-config script)
## Set a timeout for lightdm to fix autologin failure
if [ -e /*etc/lightdm/lightdm.conf ] && [ -e /var/lib/live/config/lightdm ]; then
# 0100-lightdm has already been executed and has set autologin-user-timeout=0
# If this doesn't work try changing to 2 or even 3
sed -i "s/autologin-user-timeout=0/autologin-user-timeout=1/" /*etc/lightdm/lightdm.conf
# create a state file
touch /var/lib/live/config/lightdm-autologin-timeout
# else do nothing
fi
Sun Apr 10, 2016 1:49 pm
Sun Apr 10, 2016 4:46 pm
Not tested yet, but I packaged it, and it installs.
Fri Jul 22, 2016 5:01 pm
Fri Jul 22, 2016 5:39 pm
Sat Jul 23, 2016 12:08 pm
Mon Jul 25, 2016 1:28 pm
Mon Jul 25, 2016 5:00 pm
Sat Aug 06, 2016 2:35 pm
Sun Aug 07, 2016 4:22 am
Compared to reducing locale-related overhead during snapshotting, the workflow may be different for setting up a live build.Tell me what else I forgot