Re: What's the correct way to kill X via remote SSH?
- From: Ant <ANTant@xxxxxxxxxx>
- Date: Thu, 13 Mar 2008 06:43:06 -0700
On 3/13/2008 12:13 AM PT, Henrik Carlqvist typed:
You could try reading /usr/src/linux/Documentation/sysrq.txt,
Don't have it:
$ cat /usr/src/linux/Documentation/sysrq.txt
cat: /usr/src/linux/Documentation/sysrq.txt: No such file or directory
I did a "locate" command and it didn't find it.
If you don't have that file it is because you don't have the kernel
sources installed. You could probably install a kernel source package
provided by your distribution or you can download the entire kernel source
from www.kernel.org.
Someone told me to do since I didn't have the Kernel document package installed: sudo aptitude install linux-doc-2.6
$ locate sysrq.txt
/usr/share/doc/linux-doc-2.6.18/Documentation/sysrq.txt.gz
Wow, this document hasn't been updated since 1/28/2001. :)
Also, if X hangs your keyboard it might sometimes help to log in from
remote and do a "chvt 2" which gives the same result as pressing
ctrl-alt-f2 at the console. If it doesn't help to use chvt your X driver
has broken your console completely and only a reboot will fix it. If you
have such a broken driver it is best to replace it. If you have no other
driver to choose from for your graphics card, replace your graphics card
to replace the driver.
I will try that chvt trick through a ssh session next time. I use NVIDIA's binary driver. I never knew about that one. From what I was told, NVIDIA driver is pretty buggy. It's getting bad as Windows' drivers! :(
I wonder how's ATI/AMD driver is since ATI/AMD's support is doing better these days under Linux. I need the OpenGL accerlation part so I can't use Intel's onboard and stuff.
--
"... Ooh, we haven't done that in a long time. I love picnics. I'll bring my ant jar." --The Berenstain Bears (unknown episode)
/\___/\
/ /\ /\ \ Phil/Ant @ http://antfarm.home.dhs.org (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Remove ANT from e-mail address: philpi@xxxxxxxxxxxxxxxx
( ) or ANTant@xxxxxxxxxx
Ant is currently not listening to any songs on his home computer.
.
- Follow-Ups:
- Re: What's the correct way to kill X via remote SSH?
- From: Darren Salt
- Re: What's the correct way to kill X via remote SSH?
- References:
- Re: What's the correct way to kill X via remote SSH?
- From: Henrik Carlqvist
- Re: What's the correct way to kill X via remote SSH?
- Prev by Date: Re: partition table information
- Next by Date: Re: What's the correct way to kill X via remote SSH?
- Previous by thread: Re: What's the correct way to kill X via remote SSH?
- Next by thread: Re: What's the correct way to kill X via remote SSH?
- Index(es):
Relevant Pages
|