Monday 22 August 2016

VNC server does not respond to ALT+Shift+R sent to Eclipse

Problem: Linux RedHat (RHEL) 5.5 accessed via VNC, open Eclipse IDE. I need to use keybinding Alt+Shift+R which should invoke a renaming operation. Instead, it just opens the "Run" menu.

An option needs to be passed to the vnc server.
In /etc/sysconfig/vncservers   find
   VNCSERVERS="1:user"
   VNCSERVERARGS[1]="-geometry 1024x768 " 



Add +kb
VNCSERVERARGS[1]="-geometry 1024x768 +kb
and restart VNC server
 
+kb is used to enable the X Keyboard Extension 

More options HERE. 

I also had to first find out which VNC server RHEL 5.5. was using because that was not in the docs, or at least I could not find it.
To find out the vendor, grep the vnc process, in my case it returned a list with Xvnc process.
Then do "man Xvnc" where at the botton you see RealVNC.
From here you can go on searching for details about this VNC server once that you know who the vendor is.

No comments:

Post a Comment