12

I often use RealVNC Viewer to connect to remote VNC desktops served by RealVNC Server, Tight VNC Server, X11VNC... etc.

When connected, all pressed hotkeys are passed to (captured by) the remote desktop, and that is OK for me, but I then need use to the mouse to click on my local desktop if I want to interact with local programs... and keys are always faster than the mouse.

Is there any hotkey to escape from the remote desktop and send focus to the local desktop?

JBeen
  • 123
  • 6
Sopalajo de Arrierez
  • 6,603
  • 11
  • 63
  • 97

7 Answers7

8

I don't know about any hotkey for escaping nor way to define it at RealVNC Viewer. I would really love to know.

Meanwhile, I use two workarounds for this:

  • Pressing some hotkey that is defined (say Ctrl+Shift+E for Windows Explorer) for a local program (on the computer running VNC Client), as long as they are prioritized by RealVNC Viewer. This automatically send focus to local desktop. Problem: such hotkey will not work on the remote machine (you can not define Ctrl+Shift+E for Windows Explorer on the computer running VNC Server) .
  • Pressing this key sequence: F8, then n (to minimize; maybe any other on your Windows). Problem: this minimizes the window that shows the remote desktop, and some times you don't want this.

The first one is preferred for me, since a sequence is always slower than a direct hotkey.

Sopalajo de Arrierez
  • 6,603
  • 11
  • 63
  • 97
4

I fixed this by disabling the "send special characters" setting in Real VNC's advanced settings. I use OSX, so now I can command+tab to switch to a different app.

rbrc
  • 141
  • 1
3

I solved this under Windows 10 using AutoHotkey, which understandably is not suitable for all users/use cases. The code can be compiled into a .exe file.

The code listens for control-F1 to be pressed, and when triggered, sends the F8 keystroke top open the menu, followed by n (to minimize). This could be written to only work when VNC Viewer is the active window, but this meets my needs.

;; Escape VNC
^f1::   ; press control-F1 to escape
    send {f8}
    send n
    return

https://www.autohotkey.com/

pyn
  • 161
  • 2
0

I came here looking for the same solution and what worked for me was:

  1. Left-click on VNC logo at left side of titlebar or hit F8 if mouse is stuck in VNC session.
  2. Uncheck "Relative Pointer Motion"

Now I can freely move my mouse from local to remote contexts just by moving the mouse to the session I want.

  • Well, I would thank any example on how could this method be used to do anything just by using keys, **not mouse**. Say you are typing (forget you have a mouse plugged, please, the question is about "using keys") inside notepad on a **remote RealVNC** Windows XP screen, and you want to end opening Windows Explorer on **local computer** (please: without a mouse) that, as it is known, can be achieved by pressing **WinKey+E**. What would be the sequence of keys pressed in between? – Sopalajo de Arrierez May 18 '18 at 01:29
  • Thank you this was exactly what I was looking for. Worked like a charm! – Michael Romrell May 21 '20 at 16:41
0

Ctrl-Shift-e and F8-> n didn't work for me, but it made me notice that the media keys on my laptop can be used to bring the focus back to the viewer as long as you're not passing the media keys through the vnc (adjustable in vnc settings).

In my case, the airplane mode, bluetooth, on-screen keyboard, and favorites buttons (overlayed on top of Fnc keys) work to change the focus back the viewer. Then alt-tab allows moving to viewer windows.

Obviously this is specific to my laptop, but it may be a workaround for others who have media keys directly mapped on their laptops (or keyboards with media keys).

horta
  • 419
  • 4
  • 9
0

CTRL + ALT + SHIFT + F
In windows 10 enterprise

DarkDiamond
  • 1,875
  • 11
  • 12
  • 19
  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community May 11 '23 at 17:46
-1

F8 - uncheck Full Screen

Works even with Send special characters turned on.

Rakly3
  • 1
  • Welcome to Stack Exchange forums, Rakly3. Could you please add some more details? Maybe the exact steps you suggest to obtain the results requested in the original question (escape from the remote desktop screen) would help. I would test your disabling `Full Screen` method, but my remote VNC screens are always in window mode, not full screen, so I have nothing to disable. – Sopalajo de Arrierez Feb 16 '20 at 14:31
  • I don't have it in front of me. I'll double check when I can (and remember) But iirc while your mouse pointer is captured by your remote desktop, pressing F8 should escape you back to your actuall desktop. I found some more information about the F8 function. The last section 'The F8 Menu Functions' has the info I was referring to. https://archive.realvnc.com/products/vnc/documentation/4.0/win/winvncviewer.html Hope this helps! – Rakly3 Feb 27 '20 at 10:07