Without knowing more about how you did the installation and what steps you took to create multiple guest users, I could only guess as to what caused your original problem with being able to log out. You say that a program is "running as root" when you logout. If by that you mean that there is an application that you manually started as user root, then I fail to see why you would want to leave it running during a logout, reboot or shutdown. If you mean that there are system services that were started by user root, that is normal and is part of the sysvinit bootup process.
guest:x:1000:guest
wheel:x:1001:
polkituser:x:1002:guest
With guest as a member of group 1000 and also a member of group 1002
I am able to use Melodie's .pkla file and shutdown when there are root
programs open. Which is what I wanted to do anyway.
The install was a remaster and reinstall of an original Scorpio from Taco.
The iso was like 1 GB, too big for a remaster IMO. But it will shutdown
when I close root programs, now it shutdowns when I don't.
Try it, copy the 55-myconf2.pkla file to your install and setup the group
for polkituser, add yourself as user there, and it will shutdown when root
programs are open and running.
Shutdown LXDE when root programs are openHave a good one,
Patrick