7

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?

nathan
  • 420

4 Answers4

4

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.

nathan
  • 420
2

I also had errors in our Solaris 11 server to Windows 7 desktop using Xming. We were installing some Oracle (Java) apps on the Solaris 11 server and we had issues with XMing with input field becoming uneditable at random times. We tried so many parameter changes and nothing worked (not even a corporate license of Exceed, but that was another issue). We tried using MobaXterm and that worked well and allowed us to do our Oracle installs without issue.

tpinet
  • 21
  • 2
1

I had exactly the same problem with Xming and a remote Java application installer on CentOS 6.9. When I used Xlaunch and selected the "Multiple windows" mode and no access control - I was unable to click on text fields in the UI. The Xming command from the log was:

Xming :0 -multiwindow -clipboard -ac 

However I just found that if I used "One window" mode then I was able to click on text fields and edit content :)

Xming :0 -clipboard -ac 

I recommend you try this for the problem you faced (unless you have already switched over to mobaxterm). I am happy to have a workaround that works but still curious to know the root cause and if its possible to fix this for multiwindow mode. I did try AWT_TOOLKIT=MToolkit but this made no difference for me in multiwindow mode.

0

Have you tried this other XServer tool?

http://mobaxterm.mobatek.net/

I used to have issues with XMing, this one is not only faster, but solved some of those issues for me (input field becoming uneditable among them).

I'm using the free 6.2 portable version. Make sure you start your session from inside the GUI, this way you don't even have to export the display.

I hope this helps!

Davi
  • 11