12

I'm using VNC to access an Ubuntu 16.04 laptop (running Desktop Sharing) from a Windows 10 desktop (running Ultra VNC Viewer). My problem: some keyboard combos don't travel well; for example, pressing Shift+Ctrl+Tab is processed on the server as Ctrl+Tab.

The problem persists when using a different VNC client, for example MobaXTerm, so the issue seems to be on the Ubuntu side. How can I solve this? Thanks.

UTAN_dev
  • 121
  • 1
  • 5
  • Does the shift key work on the windows 10 system? Does using either right or left shift change it? – ianorlin Oct 20 '16 at 22:37
  • Both Shift keys work on the Win10 desktop, but in both cases, sending `Shift`+`Tab` gets interpreted as `Tab`. Other combos, like `Shift`+`Ctrl`+`F` work (Search Backwards, in Terminal), so the problem may be limited to `Shift`+`Tab`. (`Shift`+`Tab`works correctly from the Linux laptop's physical keyboard.) – UTAN_dev Oct 23 '16 at 12:41
  • I have the same problem. – Martin Hennings Feb 23 '17 at 08:47
  • @UTAN_dev Ubuntu physical laptop keyboard - Ubuntu remote desktop - same problem, so that is not true. – jave.web Mar 15 '20 at 13:34

1 Answers1

11

Instruction from this (2009) thread solved the issue for me: https://bugzilla.gnome.org/show_bug.cgi?id=353304#c21

Solution: Run in Ubuntu terminal: xmodmap -e 'keycode 23 = Tab'

EDIT: to make the fix permanent (for 18.04) run sudo vim /usr/share/X11/xkb/symbols/pc and change the line

key <TAB> { [ Tab, ISO_Left_Tab ] };

to

key <TAB> { [ Tab ] };

After that reboot.

nekdolan
  • 179
  • 2
  • 9