Howto return to virtual machine when remote desktop hangs?

3

I'm using a vmware virtual machine running ubuntu linux and from there I connect to a Windows XP machine using rdesktop through a VPN tunnel. This configuration is given and cannot be changed.

From time to time my internet connection does a reconnect. Then the running rdesktop (running in fullscreen mode) process freezes and isn't usable anymore. Now I want to return to the underlying linux and restart the rdesktop process. But I'm not able to get out of fullscreen rdesktop mode and so I cannot access the ubuntu desktop to kill any process.

My solution is to reboot the vmware and start the rdesktop again.

Is there a better way to get the configuration running again after a freeze?

EDIT:

I have no admin rights for the linux system. Everything must be done with user rights.

tangens

Posted 2009-10-03T12:48:09.890

Reputation: 1 230

Answers

2

Turn on the X escape hatch:

$ gnome-keyboard-properties

and then Layouts ➤ Options... ➤ Key sequence to kill the X server ➤ enable.

Unable to debug/reproduce Ubuntu crash

Jarvin

Posted 2009-10-03T12:48:09.890

Reputation: 6 712

1

Ctrl-Alt-Enter doesn't work?

How about switching to a different virtual console using Ctrl-Alt-F1, logging in, and killing your rdesktop process?

Or, ssh to your Ubuntu machine from your host OS and killing it that way?

wfaulk

Posted 2009-10-03T12:48:09.890

Reputation: 5 692

Ctrl+Alt+F1 has been disabled in recent Ubuntu releases (sigh...) Try Alt+F4 to close rdesktop, perhaps? Or Ctrl+Esc to get a window manager action menu? – wazoox – 2010-05-01T12:30:11.153

Try Ctrl+Alt, then Ctrl+Esc. If not, having two monitors is a solution with other benefits, the second one will get you access to your desktop (though you still have to Ctrl-Alt to let the mouse escape the full screen) – SqlACID – 2010-05-01T13:24:11.737

Ctrl-Alt-Enter switches the vm from fullscreen to window mode, but I can't get a terminal, because rdesktop fills all the screen. – tangens – 2009-10-03T14:34:59.017

Ctrl-Alt-F1 doesn't work, don't know why. Even when no rdesktop is startet. – tangens – 2009-10-03T14:36:12.213

sshd isn't enabled, so I can't connect this way. – tangens – 2009-10-03T14:40:29.210

Can you not resize the un-fullscreen'd rdesktop window? – wfaulk – 2009-10-03T16:43:36.447

rdesktop is frozen and doesn't react to any action. – tangens – 2009-10-03T19:33:25.760

Your window manager should still let you resize or minimize it. – wfaulk – 2009-10-03T20:25:12.410