logout from kdm

Andrew Wendt awendt at putergeek.com
Fri Sep 5 18:05:35 BST 2003

On Friday 05 September 2003 12:02, Bullier Erick wrote:
> I would like to logout (in a shell script) from a kde session (initiated by
> kdm) and to arrive on a login graphical screen (as i clic on the logout
> button and select on the screen "reconnect on a different name").

Probably something like this:

dcop ksmserver ksmserver logout 0 0 2

You may need to play with those 3 numbers to get the desired effect.

I think those 3 numbers are the same as the enums shown on this page (Do a 
search for "enum ShutdownConfirm"):
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

More information about the kde mailing list