How to reproduce:
1. Enable 'reset=1' in lxdm.conf.
2. Log in with LXDM as usual.
3. Shut down the system
Instead of a simple shutdown, X restarts and LXDM greeter loads again for a short time before the shutdown continues.
Systemd provide to be compatible with sysvinit, at least on my fedora, and can get run level here, and not have .greeter start when shutdown
I update something in git now, when session stop, wait 300ms before get run level and start greeter. System should update the runlevel or kill lxdm process at the time interval.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
should be fixed in git now
Unfortunately the fix does not work for me, X still restarts on shutdown. Not always, but many times.
Fix get run level code now.
I tested git master again, but stil not work for me, X restarts on shutdown.
Maybe your system don't have runlevel. Workaround this by delay restart X 3 seconds, try the git.
Still no luck. :( It sometimes restarts, sometimes not, and I don't see any delay. I'm using systemd, which has targets instead of runlevels, I think.
Systemd provide to be compatible with sysvinit, at least on my fedora, and can get run level here, and not have .greeter start when shutdown
I update something in git now, when session stop, wait 300ms before get run level and start greeter. System should update the runlevel or kill lxdm process at the time interval.
It works now, X no longer restarts on shutdown. Thank you very much! :)