diff options
author | Holger Paradies <retabell@gmx.de> | 2017-10-09 21:49:09 +0200 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2017-11-01 19:10:06 +0100 |
commit | 30554cd5846392a720e7e0d52114437796413178 (patch) | |
tree | 51bc82248d6e1f118c0258854b60d272cf767c24 | |
parent | b073856ac46b435680a7a97afb678f334e00d06c (diff) | |
download | kanotix-30554cd5846392a720e7e0d52114437796413178.zip kanotix-30554cd5846392a720e7e0d52114437796413178.tar.gz |
hotfix lightdm autologin with plasma
remove misconfigured file
-rwxr-xr-x | config/chroot_local-hooks/03-lightdm-plasma-hotfix | 13 |
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 |