Thursday 23 August 2018

windows - Problem with remoted display of java applications


I'm trying to remote display Java based development environments, such as NetBeans and IntelliJ, from a linux machine to a windows machine. When I do this, the right click functionality of the environments does not work, which makes them unusable.


I use the -X option with Putty to tunnel X through SSH. I've repeated this using Ubuntu and RedHat to my Windows running Xming. Is there a trick to remote Xing java applications that I'm missing?



Answer



From this post on the java.net forums it seems that there are "incorrect insets detection when using the Xming". The fix is to set the AWT_TOOLKIT environment variable. Explanation for why can be found on Sun's page here.


AWT_TOOLKIT=MToolkit

Setting this environment variable fixed all problems. Update: The link containing the original link has changed. See here.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...