Restarting Xserver from cli

Bart Silverstrim bsilver at chrononomicon.com
Thu Mar 19 02:35:13 UTC 2009



Ray Parrish wrote:
> Joep L. Blom wrote:
>> Ray Parrish wrote:
>>   
>>> Bart Silverstrim wrote:
>>>     
>>>> David Curtis wrote:
>>>>
>>>>   
>>>>       
>>>>> To me, removing C-A-B to limit this issue, is a sound decision.  
>>>>>     
>>>>>         
>>>> Not for people like me who have used Linux for many moons now, and when 
>>>> X locks up that is one of the first methods to regain some form of 
>>>> control...what's the alternative if you don't have another system to try 
>>>> SSH'ing into it and checking processes?
>>>>       
>>> Uh, CTRL-ALT-F1??? or F2, F3, etc... 8-) Although, since I'm still a 
>>> noob, when I do an F1 to the console, I usually wind up doing a sudo 
>>> reboot from there to continue, as I'm not really sure yet what to do 
>>> once I get there. I'm sure with a little more reading on my part, that 
>>> it's possible to query, and kill processes from the other tty to get it 
>>> running properly again, and then log back into it.
>>>
>>> Later, Ray Parrish--
>>>
>>> Human reviewed index of links about the computer
>>> http://www.rayslinks.com
>>> Poetry from the mind of a Schizophrenic
>>> http://www.writingsoftheschizophrenic.com/
>>>
>>>
>>>     
>> Ray,
>> After CTRL+ALT+Fn(n=1-6) do CTRL-ALT-F7 and you're back in your X-session.
>> Joep
>>   
> Thanks! Can I actually query and kill hung processes from 7 while logged 
> into 1?

If you have control, yes.

Same as logging in from another system using SSH, if you have another 
system available and the network stack didn't crap the bed too.




More information about the ubuntu-users mailing list