![]() ![]() Notice as well that these commands don't require you to be root. gnome-session-save is the program that actually quits the gnome-session, which you can of course kill, but that wouldn't qualify as logging out. Yes, there is a command called logout, but it concerns the Terminal. force-logout in contrast to just -logout will not ask the user to deal with unsaved documents and so on. Or alternatively, you can use gnome-session-save -force-logout (via DoR, see his answer to "Reboot without sudoer privileges?" for more dbus goodness!) 11.04 and previous versions dbus-send -session -type=method_call -print-reply -dest= /org/gnome/SessionManager uint32:1 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |