I think I found a better method, via d-bus.

The attached "reboot.py" works for me on Karmic/Gnome, could someone report if 
it works on other versions/DEs?
(i.e. if "python reboot.py" reboots the PC without needing root privileges).

If it works, I'll try to send a debdiff for iTalc.

** Attachment added: "reboot.py"
   http://launchpadlibrarian.net/35981455/reboot.py

-- 
"power down" request fails on 9.04; logout instead
https://bugs.launchpad.net/bugs/367960
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to