This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
IDE should be able to check whether X11 forwarding for the given host is possible. It's not quite clear when to check whether X11 forwarding is possible and how to present results of this check to the user. Both local and remote host can be tuned between IDE runs; so the possibility of X11 forwarding can change. So most likely the right moment(s) are: 1) the moment of host setup; 2) the moment of reconnect to the host. User also should be informed why is it impossible to forward X11 if it is the case.
Here are some technical details by lsl239 copied from issue 166105 : http://docstore.mik.ua/orelly/networking/firewall/ch08_16.htm see 8.16.1 BTW, it might be a good idea to check if DISPLAY env. variable is set locally. Because if it doesn't, no luck. "X11 uses TCP. X11 uses port 6000 for the first server on a machine. ... On a UNIX system, the DISPLAY environment variable tells clients what X11 server to contact. This variable is of the form hostname:n; this tells clients to contact the server on port 6000+n on machine hostname." Problem here is that if your local DISPLAY was set to .0:0 then after unset the behaviour would be the same. The only very correct way to check X11 is running is to try set tcp connection to localhost:6000 if DISPLAY is not set. On the remote host it does make sense to check if sshd_config allows X11 forwarding. Options related to that are: # X11 tunneling options X11Forwarding X11DisplayOffset X11UseLocalhost
Solving this requres further UI changes; UI freeze is passes; I believe it isn't important enough to make an exception => changing target milestone to "next"
sounds like enhancement, isn't it?
I'm not sure. The absence of this check leads to the situation when user checks X11 forwarding on and this does not work - which is a defect...
UI was fixed. Other issues are enhancement.