[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to log yourself out remotely of a session you forgot to log out of?



Mike Fedyk wrote:
Joerg Johannes wrote:

I don't think there is a "correct" way to do this. But what you did is
exactly what I would do as well. If you can use sudo un the machine in
question, just do
sudo /etc/init.r/{x|d|k}dm restart
to restart the login manager. Every running X session (and child
processes) will be killed that way.

I would not suggest restarting the login manager.  Any X app you are
running that has any state (think mozilla, openoffice, etc.) will not
get a chance to safely shutdown, and can cause corruption and/or lost data.

Mike

If you kill the process individually it will not have a chance then either.

-Roberto

--
Roberto C. Sanchez
http://familiasanchez.net/~sanchezr

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: