[LightDM] Bootloop after tried to run a custom script

Emanuele Petriglia inbox at emanuelepetriglia.me
Sun Apr 1 18:10:12 UTC 2018


Hi,

recently I had a seriously problem with LightDM. I wrote a custom Bash
script that do something, and I wanted to run this script before the
greeter (I use GTK+ greeter) is launched. So I wrote this on my
lightdm.conf:

	greeter-setup-script=custom script

I didn't check if lightdm could reach the script, because I forgot to
move it on /usr/local/bin. So I restarted the computer, and LightDM
started to loop infinitely.

I resolved using Debian recovery mode. I inserted the path after the
script name:

	greeter-setup-script=/usr/local/bin/background-selector

and it worked perfectly.

Why a simple script blocked the booting process? Doesn't LightDM check
if the script or command can be executed? And if it can't, why it
doesn't skip it?

I'm using Debian Stable, lightdm 1.18.3.

-- 
Emanuele Petriglia

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/lightdm/attachments/20180401/38893c28/attachment.sig>


More information about the LightDM mailing list