Google
 

3/29/10

logout kde desktop from command line.

1. 'killall kdeinit' to logout KDE.
2. 'dcop kdesktop default logout'. This one will popout the logout dialog and ask the user what to do (logout, cancel or reboot). 

3. 'dcop ksmserver ksmserver logout 0 0 0 '. 
If you want to reboot the machine after logout you have 'dcop ksmserver ksmserver logout 0 1 1'

No comments: