Comment 2 for bug 747557

Revision history for this message
Jakh Daven (tuxcanfly) wrote :

Not possible using SessionManager AFAIK. Shutdown() just brings up the dialog.

http://people.gnome.org/~mccann/gnome-session/docs/gnome-session.html#org.gnome.SessionManager.Shutdown

Might be possible using ConsoleKit.

http://www.freedesktop.org/software/ConsoleKit/doc/ConsoleKit.html#Manager.Stop

Should we have a new plugin to directly shutdown/restart or modify the session plugin to use ConsoleKit?