Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using a Vsphere client on Windows XP over a VNC link (Vinagre) from an Ubuntu 10.10 desktop running WindowMaker. It all works pretty well, but I can't find any way to press the Magic SysReq key (used to reset Linux hard). Neither Vinagre nor Vsphere has any sort of keyboard that can be pressed; trying to use the SysReq key just results in the local system being reset. Running Vinagre in full screen makes no difference.

How do I press SysReq in this combination of software? I thought that sending a BRK would help, but there's no way to do that either. I thought PrScr would do it, but don't know how. Switching from Vinagre to xtightvncviewer didn't help at all.

Am I missing something or is sending a SysReq just not possible?

UPDATE: I found information about /proc/sys/kernel/sysrq-key (which allows you to specify the key) but that seems to have been removed sometime during the Red Hat Enterprise Linux 5.x kernel lifetime. This was a feature in the mainline kernel at one time.

share|improve this question
    
this could maybe help you: unix.stackexchange.com/questions/105295/… –  dnozay Feb 18 at 19:14
add comment

2 Answers 2

sysrq on ESXi VNC/Console for a redhat/fedora/debian guest:

[ctrl+alt] (keep them pressed all the time) + [space] + <release [space]> + [PrintScrn] + <sysrq> + <release [ctrl+alt]>

you might also want to try [break] instead of [printscrn]

share|improve this answer
    
This looks like the best option for the Console itself, but with VNC not sure this could work... but will try next time I get a chance. –  Mei May 23 at 20:43
add comment

Not sure if it helps in your situation (won't help if the kernel is in panic) but there is a file /proc/sysrq-trigger:

Using the echo command to write to this file, a remote root user can execute most System Request Key commands remotely as if at the local terminal. quote

A list of letters to echo to this file can be found for example here

share|improve this answer
    
The problem I've been seeing is an apparent lockup: so this won't help - at least not from a local shell. I'm leery of making such a capability available via the network without security precautions. –  Mei Feb 3 '12 at 16:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.