[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?



On Wednesday 23 March 2005 05:00, Mike Fedyk 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.

So how do you log yourself out of an X session from another terminal
window?



Reply to: