x11vnc, how to enable shift-key?

Solution 1:

The problem seemed to be with x11vnc, the server that I run.

To enable the shift-keys I used the argument -nomodtweak when starting x11vnc. This enabled the shift-keys for me!

Solution 2:

From reports on the web, it does appear that x11vnc has shift-related server-side problems, but various VNC clients DO also have their own similar client-side bugs. I am on Ubuntu 14.04.3 LTS, using VNC to connect to a Windows 7 machine. In my case, the shift key works normally when typing, but shift-click or ctrl-click with the mouse did not work at all!

Switching to gvncviewer (version 0.5.3-0ubuntu2) fixed the problem for me. The shift-click bug still exists in xtightvncviewer (1.3.9-6.4ubuntu1) and xvnc4viewer (4.1.1+xorg4.3.0-37ubuntu5.0.2).

Some additional bug reports and discussions of the problem:

  • https://bugs.launchpad.net/ubuntu/+source/vnc4/+bug/275089
  • http://sourceforge.net/p/virtualgl/mailman/message/19797016/