On Tue, Nov 25, 2008 at 07:30, David C. Rankin
If I want to log a user out from a kde session after I have connected to the box via ssh, how is the right way to do it? I would like to do it gracefully so applications close and aren't just crashed. Would 'kill /bin/sh /usr/bin/startkde3' be a way to do that?
Hi David, I'm not sure about the right way but I thought you'd appreciate these two ideas: 1) dcop Something like `dcop kdesktop default logout`? You might need to do some hackery to get the dcop call passed to your (or whoever's) dcop session. 2) krfb I used to use this trick when I left a document open or IM client logged in when I went to work: krfb setup to accept connections correctly but forgot to start it? ssh to box (tunneling the VNC port for later), run `krfb -display :0` then VNC to machine and bingo - the console's desktop. You could use it to logout the desktop too, I guess :) Cheers, henare -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org