Command line to logout from lxde session

Please post all general support questions for LXDE here.
Locked
toketin
Posts: 2
Joined: Thu Sep 02, 2010 11:12 am

Command line to logout from lxde session

Post by toketin »

Hi, i've discovered oblogout that is a nice application to close the pc, reboot, logout ecc, but under lxde the logout doesn't work, because the program is written for openbox so the solution is very simple, just change /etc/oblogout.conf options and in logout line i've to put a command line to back to slim, which is this command? It's not "lxsession-logout" that only displays the window with the options. Thanks
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: Command line to logout from lxde session

Post by Marty Jack »

Send SIGTERM to lxsession; among other ways, you can find its pid in $_LXSESSION_PID
Locked