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.

Bug 201049

Summary: cannot start GUI application of full remote project
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: RemoteAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2011-08-17 15:50:20 UTC
Steps to reproduce:
- open Freeway sample project on remote host
- make sure that host properties check box "enable X11 forwarding" is selected
- run application
Application finishes with message:
------------8<----------------
Xlib: connection to "localhost:10.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(freeway_2:23369): Gtk-WARNING **: cannot open display:  

RUN FAILED (exit value 1, total time: 240ms)
------------8<----------------
So it would be nice to make combo box "enable X11 forwarding" workable.

By the way to fix problem you can run command in terminal:
#xhost +
Another way is:
- add run environment variable "DISPLAY=hostname:0" in project properties.
Comment 1 Vladimir Kvashin 2014-10-31 16:03:44 UTC
We tried xhost+ right now, this did not help either
Comment 2 soldatov 2014-10-31 22:04:25 UTC
I don't see any problems in Windows 7 -> Solaris Sparc case (Freeway sample)
Comment 3 Vladimir Kvashin 2015-11-19 08:54:39 UTC
I'm setting this as a duplicate of issue 255838 - since, although created later than this one, issue 255838 is filed by user.

*** This bug has been marked as a duplicate of bug 255838 ***