Restarting Xserver from cli
Knapp
magick.crow at gmail.com
Thu Mar 19 08:21:10 UTC 2009
.>> 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?
>
> Later, Ray Parrish
If you have jumped out of X then I would think it is dead, so jumping
back to X with 7 will give you the same dead X. If howeever, you fix
it from f1 then jump back to f7 all should be good.
Use the man command and learn these:
Top is a great tool to learn but I hate its interface.
Atop or htop is better but you must install it. (not hard!) Anyone
know which is best?
kill (built into the 3 above)
ps
Anyone less have commands that are a must have for fixing a dead X?
For the newbie, start looking at the htop list and look for programs
that are maxing out the CPU or just start killing off stuff that you
know is running under X and you can kill without problems. For
example, I often kill the software that I was using when the computer
froze up and that fixes the problem or if that fails start killing of
software that you know can take it, like firefox and sound and movie
viewers. Save programs with data that needs saving for last. When all
else fails kill X itself.
--
Douglas E Knapp
Why do we live?
More information about the ubuntu-users
mailing list