Commit 25e6afc6 authored by Lorenzo Faletra's avatar Lorenzo Faletra

Import Debian version 5.20190329+parrot13

live-config (2:5.20190329+parrot13) testing; urgency=medium

  * Specify autologin session in lightdm.
  * Drop previous lightdm autologin workarounds.
parent 51a11cb8
......@@ -63,6 +63,7 @@ Config ()
then
sed -i -r -e "s|^#.*autologin-user=.*\$|autologin-user=${LIVE_USERNAME}|" \
-e "s|^#.*autologin-user-timeout=.*\$|autologin-user-timeout=0|" \
-e "s|^#.*autologin-session=.*\$|autologin-session=lightdm-xsession|" \
/etc/lightdm/lightdm.conf
fi
......@@ -71,16 +72,6 @@ Config ()
# Creating state file
touch /var/lib/live/config/lightdm
# try to kill lightdm if it is running to make it restart with new settings,
# and sleep for some milliseconds to put a minimum distance between
# live-config and lghtdm
#
# this is a dirty workaround for Parrot KDE to fix autologin issues in live mode
# when lightdm starts before changes to its config file are applied.
killall lightdm || true
usleep 200000
}
Cmdline
......
live-config (2:5.20190329+parrot13) testing; urgency=medium
* Specify autologin session in lightdm.
* Drop previous lightdm autologin workarounds.
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Thu, 25 Apr 2019 01:12:20 +0200
live-config (2:5.20190329+parrot12.2) testing; urgency=medium
* Avoid bashisms.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment