Community
Participate
Working Groups
During Eclipse startup, displays the workspace selection window and crashes when the mouse is moved over the workspace selection window giving the following error. JVM terminated. Ext code=1. And the console shows the error - "Eclipse received an X Window system error. The error was Bad Window (invalid Window parameter)" The environment is Linux - RedHat EL3, Sun Java SDK 1.4.2_07. Cleaned up some of the disk space and it worked for some time and then started crashing again.
Are you using Eclipse over an ssh tunnel? If so, try using "ssh -Y" instead of "ssh -X", does this make the problem go away?
Yes, I am using ssh tunnel. I tried the -Y option and it works fine. Thanks.
Some history about this problem: ssh changed to require that by default, X tunnels are subject to tighter security requirements. This breaks toolkits such as SWT which send mouse pointer events relative to the root window, under X servers which consider this a security violation. Many other applications also crash now under -X, so it's not really specific to Eclipse. I'm not sure if there's any good fix besides telling people to use -Y. *** This bug has been marked as a duplicate of 94477 ***