Re: What's the correct way to kill X via remote SSH?



Ant <ANTant@xxxxxxxxxx> wrote:
On 3/12/2008 5:34 PM PT, Trevor Hemsley 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.

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. Befor doing such a drastic step you might want to
make sure that your problem isn't caused by some flaky hardware. Memtest86
is a simple test to run.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc3(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

.



Relevant Pages

  • Re: 2.6.30-rc4 kernel
    ... I think there may be a problem with the 2.6.30 kernel that is ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • 2.6.30-rc4 kernel
    ... kernel panic - not syncing: ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • [PATCH 18-rc2] Fix typos in /Documentation : N-P
    ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
    (Linux-Kernel)
  • two scary syslog kernel messages
    ... Sep 20 03:46:06 marvin kernel: kernel BUG at mm/rmap.c:482! ... ACPI: Local APIC address 0xfee00000 ... Allocating PCI resources starting at 80000000 ... ** driver failed to call pci_enable_device. ...
    (Debian-User)
  • Re: [PATCH, RFT, v4] sata_mv: convert to new EH
    ... check both new and old drives with SMART ... Use a HIGHMEM enabled kernel. ... ACPI: PM-Timer IO Port: 0xe408 ... Real Time Clock Driver v1.12ac ...
    (Linux-Kernel)