summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2017-10-09 21:49:09 +0200
committerHolger Paradies <retabell@gmx.de>2017-11-01 19:10:06 +0100
commit30554cd5846392a720e7e0d52114437796413178 (patch)
tree51bc82248d6e1f118c0258854b60d272cf767c24
parentb073856ac46b435680a7a97afb678f334e00d06c (diff)
downloadkanotix-30554cd5846392a720e7e0d52114437796413178.zip
kanotix-30554cd5846392a720e7e0d52114437796413178.tar.gz
hotfix lightdm autologin with plasma
remove misconfigured file
-rwxr-xr-xconfig/chroot_local-hooks/03-lightdm-plasma-hotfix13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/03-lightdm-plasma-hotfix b/config/chroot_local-hooks/03-lightdm-plasma-hotfix
new file mode 100755
index 0000000..f7e083f
--- /dev/null
+++ b/config/chroot_local-hooks/03-lightdm-plasma-hotfix
@@ -0,0 +1,13 @@
+#!/bin/sh
+if [ "$(id -u)" != 0 ]; then
+ echo Error: You must be root to run this script!
+ exit 1
+fi
+
+# delete "buggy file" to enable autologin in live-mode
+
+if [ -e /usr/share/lightdm/lightdm.conf.d/40-kde-plasma-kf5.conf ]; then
+
+ rm -f /usr/share/lightdm/lightdm.conf.d/40-kde-plasma-kf5.conf
+
+fi