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?
Not possible using SessionManager AFAIK. Shutdown() just brings up the dialog.
http:// people. gnome.org/ ~mccann/ gnome-session/ docs/gnome- session. html#org. gnome.SessionMa nager.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?