Results 1 to 10 of 12
Regardless of the reason, I find myself needing to know how to send CRTL+ALT+BKSP via SSH. X keeps freezing as I'm messing with it, and right now the way I ...
- 08-25-2005 #1Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
Send CRTL+ALT+BKSP thru SSH
Regardless of the reason, I find myself needing to know how to send CRTL+ALT+BKSP via SSH. X keeps freezing as I'm messing with it, and right now the way I deal with it is ssh in, type init 3 and then init 5. It works, but I feel like that's sloppy. Is there a way to force X to restart (ie, CRTL+ALT+BKSP) over SSH?
Thanks,
JeremyRegistered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 08-25-2005 #2
I assume that you're ssh'ing with X Packets forwarded?
- 08-25-2005 #3Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
Well.. Not always. Sometimes I'm sshing on a Windows box using Cygwin. I'm sure it about X packets forwarding on Cygwin, do you know?
Registered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 08-25-2005 #4what?
Originally Posted by jeremy1701
- 08-25-2005 #5Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
/me puts down the booze.

I'm not sure about X packets forwarding on Cygwin, do you know?Registered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 08-25-2005 #6
If you have X installed on Cygwin, then it should be fine, otherwise, I don't think there would be any way to send the ctrl-alt-bkspace to X
- 08-25-2005 #7
I may be missing something obvious here, but you're using
right?Code:ssh -X user@host-name
Closing the ssh session and re-opening it does not solve the problem?
- 08-25-2005 #8
Assuming answer to above is "no", you might be able to get away with just restarting the xdm service. Quicker than changing runlevels back and forth.
- 08-25-2005 #9Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
anomie,
How do I restart the xdm service from the command line? You mean something like
?Code:/etc/init.d/xdm restart
JeremyRegistered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 08-25-2005 #10
Hi, yes that's what I would try. (I checked on my SuSE install and xdm takes a 'restart' argument.)


Reply With Quote