4

Have a Java Swing app that is running on a Linux server and is being X displayed back via X11 forwarding. Cygwin is running on my workstation. Connection is made to the server using PuTTY with X11 forwarding and then ssh -XY .

Application launches just fine, but certain GUI elements (mostly drop down menus) do not behave correctly. Some menus close immediately after they are opened (the blink open/close when clicked.) Others will not select / highlight items using the mouse. Others will select different items than the one hovered over by my house.

The application works just fine on Windows or on Linux when invoked directed. Problem seems specifically related to viewing it through X11.

Is it possible X11 is swallow some GUI events or not repainting fast enough?

1 Answers1

2

I have noticed that some applications really do not like the X-forwarding done by ssh. In such cases I have had to resort to setting the real IP number in the DISPLAY variable to get the windows back to the designated host properly.

Also, make sure you have opened the permissions to allow windows to be displayed on the remote host....by executing the command 'xhost' (see man page) on the host that you want to receive pages, hopefully listing all the hosts that are allowed to send pages. NOT RECOMMENDED: in a pinch I use xhost + which opens the display to all IPs.

mdpc
  • 4,489