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 116562 - 'Can't connect to X11 window server' message while building cokefixes branch
Summary: 'Can't connect to X11 window server' message while building cokefixes branch
Status: RESOLVED INVALID
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: sun_pp206
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-24 18:59 UTC by Karthikeyan Rajeswaran
Modified: 2009-06-22 21:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karthikeyan Rajeswaran 2007-09-24 18:59:46 UTC
While building cokefixes branch, the build itself succeeds but tests fail with the following message:
   ...Can't connect to X11 window server using '<machinename:2>' as the value of the DISPLAY variable...

The solution is to start the VNC server and then start the build again.

It would be nice to do this as part of the build script itself.
Comment 1 sun_pp206 2007-09-25 10:12:41 UTC
I will take care of this.
Comment 2 rbalada 2007-12-13 13:49:36 UTC
Marking Fixed
Comment 3 Jesse Glick 2007-12-13 17:49:57 UTC
Note that if you are using Hudson to run builds, you can use the XVNC extension to "wrap" the build in a separate
virtual display.
Comment 4 Karthikeyan Rajeswaran 2007-12-13 21:10:18 UTC
Closing the issue as verified (since the subsequent build completed without the error message).
Comment 5 Karthikeyan Rajeswaran 2008-06-10 21:03:18 UTC
Reopening the issue since the issue has not yet been resolved in build scripts itself. Since a very easy workaround
exists (restarting the vnc server), reducing the priority to P5.
Comment 6 Jesse Glick 2009-06-22 21:42:13 UTC
Wherever this build is being run, if it is using Hudson, it should be using the XVNC plugin.