<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Xvnc to create headless CI builds for Flex and AIR applications</title>
	<atom:link href="http://www.brianlegros.com/blog/2009/12/20/using-xvnc-to-create-headless-ci-builds-for-flex-and-air-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brianlegros.com/blog/2009/12/20/using-xvnc-to-create-headless-ci-builds-for-flex-and-air-applications/</link>
	<description>eat, program, and be merry</description>
	<lastBuildDate>Fri, 28 Oct 2011 00:48:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Vinit</title>
		<link>http://www.brianlegros.com/blog/2009/12/20/using-xvnc-to-create-headless-ci-builds-for-flex-and-air-applications/comment-page-1/#comment-45513</link>
		<dc:creator>Vinit</dc:creator>
		<pubDate>Thu, 17 Mar 2011 20:35:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.brianlegros.com/blog/?p=656#comment-45513</guid>
		<description>@John, Did you resolve this issue?</description>
		<content:encoded><![CDATA[<p>@John, Did you resolve this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.brianlegros.com/blog/2009/12/20/using-xvnc-to-create-headless-ci-builds-for-flex-and-air-applications/comment-page-1/#comment-33188</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 29 Oct 2010 03:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.brianlegros.com/blog/?p=656#comment-33188</guid>
		<description>Hi Brian, I am having the following issue with this setup.



I login as user zxcv onto Hudson. I click on Build a free-style software project, and indicate the checkbox for start xvnc upon build.

In the build steps I added:

firefox

Then I proceeded into running the build, and checking the console output it&#039;s asking for password. I know the password and have set it when I first installed vncserver. how can I pass the password to vncserver ?

Started by user zxcv
Starting xvnc
[workspace] $ vncserver :10

You will require a password to access your desktops.

getpassword error: Invalid argument
Password:Starting xvnc
[workspace] $ vncserver :11

You will require a password to access your desktops.

getpassword error: Invalid argument
Password:Starting xvnc
[workspace] $ vncserver :12

You will require a password to access your desktops.

getpassword error: Invalid argument
Password:Starting xvnc
[workspace] $ vncserver :13

You will require a password to access your desktops.

getpassword error: Invalid argument
Password:FATAL: Failed to run &#039;vncserver :13&#039; (exit code 1), blacklisting display #13; consider checking the &quot;Clean up before start&quot; option
java.io.IOException: Failed to run &#039;vncserver :13&#039; (exit code 1), blacklisting display #13; consider checking the &quot;Clean up before start&quot; option
    at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:100)
    at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98)
    at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98)
    at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98)
    at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:73)
    at hudson.model.Build$RunnerImpl.doRun(Build.java:132)
    at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
    at hudson.model.Run.run(Run.java:1280)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:139)</description>
		<content:encoded><![CDATA[<p>Hi Brian, I am having the following issue with this setup.</p>
<p>I login as user zxcv onto Hudson. I click on Build a free-style software project, and indicate the checkbox for start xvnc upon build.</p>
<p>In the build steps I added:</p>
<p>firefox</p>
<p>Then I proceeded into running the build, and checking the console output it&#8217;s asking for password. I know the password and have set it when I first installed vncserver. how can I pass the password to vncserver ?</p>
<p>Started by user zxcv<br />
Starting xvnc<br />
[workspace] $ vncserver :10</p>
<p>You will require a password to access your desktops.</p>
<p>getpassword error: Invalid argument<br />
Password:Starting xvnc<br />
[workspace] $ vncserver :11</p>
<p>You will require a password to access your desktops.</p>
<p>getpassword error: Invalid argument<br />
Password:Starting xvnc<br />
[workspace] $ vncserver :12</p>
<p>You will require a password to access your desktops.</p>
<p>getpassword error: Invalid argument<br />
Password:Starting xvnc<br />
[workspace] $ vncserver :13</p>
<p>You will require a password to access your desktops.</p>
<p>getpassword error: Invalid argument<br />
Password:FATAL: Failed to run &#8216;vncserver :13&#8242; (exit code 1), blacklisting display #13; consider checking the &#8220;Clean up before start&#8221; option<br />
java.io.IOException: Failed to run &#8216;vncserver :13&#8242; (exit code 1), blacklisting display #13; consider checking the &#8220;Clean up before start&#8221; option<br />
    at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:100)<br />
    at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98)<br />
    at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98)<br />
    at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98)<br />
    at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:73)<br />
    at hudson.model.Build$RunnerImpl.doRun(Build.java:132)<br />
    at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)<br />
    at hudson.model.Run.run(Run.java:1280)<br />
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)<br />
    at hudson.model.ResourceController.execute(ResourceController.java:88)<br />
    at hudson.model.Executor.run(Executor.java:139)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian LeGros</title>
		<link>http://www.brianlegros.com/blog/2009/12/20/using-xvnc-to-create-headless-ci-builds-for-flex-and-air-applications/comment-page-1/#comment-27221</link>
		<dc:creator>Brian LeGros</dc:creator>
		<pubDate>Mon, 07 Jun 2010 01:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.brianlegros.com/blog/?p=656#comment-27221</guid>
		<description>@Darren - Not quite sure I can help without more details.  Check out http://docs.flexunit.org/index.php?title=Continuous_Integration_Support for possibly more tips and things to try.  If you still don&#039;t have any luck, email me with the contents of your xstartup file, OS details, settings in Hudson, and the contents of the shell script being run so we can pick apart what&#039;s going on.  Hope this helps.</description>
		<content:encoded><![CDATA[<p>@Darren &#8211; Not quite sure I can help without more details.  Check out <a href="http://docs.flexunit.org/index.php?title=Continuous_Integration_Support" rel="nofollow">http://docs.flexunit.org/index.php?title=Continuous_Integration_Support</a> for possibly more tips and things to try.  If you still don&#8217;t have any luck, email me with the contents of your xstartup file, OS details, settings in Hudson, and the contents of the shell script being run so we can pick apart what&#8217;s going on.  Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren Jensen &#124; Upstarthq.com</title>
		<link>http://www.brianlegros.com/blog/2009/12/20/using-xvnc-to-create-headless-ci-builds-for-flex-and-air-applications/comment-page-1/#comment-26890</link>
		<dc:creator>Darren Jensen &#124; Upstarthq.com</dc:creator>
		<pubDate>Sat, 29 May 2010 11:12:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.brianlegros.com/blog/?p=656#comment-26890</guid>
		<description>Brian, I am not able to get the headless CI build to work. My setup is slightly different to yours (I am not using Tomcat), but everything else is the same. Basically, I start the build and it just hangs (here is the log). Do you have any suggestions that might help me to get this working?

Started by user darren
Starting xvnc
[workspace] $ vncserver :99

New &#039;ubuntu-upstart:99 (hudson)&#039; desktop is ubuntu-upstart:99

Starting applications specified in /var/lib/hudson/.vnc/xstartup
Log file is /var/lib/hudson/.vnc/ubuntu-upstart:99.log

[workspace] $ /bin/sh -xe /tmp/hudson3082626689357722831.sh
+ /opt/flex-sdk-3.4-testrunner/bin/adl_lin /var/development/Test_Runner.xml
Xlib:  extension &quot;RANDR&quot; missing on display &quot;:99.0&quot;.
Xlib:  extension &quot;Generic Event Extension&quot; missing on display &quot;:99.0&quot;.
Xlib:  extension &quot;Generic Event Extension&quot; missing on display &quot;:99.0&quot;.
Xlib:  extension &quot;Generic Event Extension&quot; missing on display &quot;:99.0&quot;.
selected
selected
1
2
2

(At this point it hangs)...</description>
		<content:encoded><![CDATA[<p>Brian, I am not able to get the headless CI build to work. My setup is slightly different to yours (I am not using Tomcat), but everything else is the same. Basically, I start the build and it just hangs (here is the log). Do you have any suggestions that might help me to get this working?</p>
<p>Started by user darren<br />
Starting xvnc<br />
[workspace] $ vncserver :99</p>
<p>New &#8216;ubuntu-upstart:99 (hudson)&#8217; desktop is ubuntu-upstart:99</p>
<p>Starting applications specified in /var/lib/hudson/.vnc/xstartup<br />
Log file is /var/lib/hudson/.vnc/ubuntu-upstart:99.log</p>
<p>[workspace] $ /bin/sh -xe /tmp/hudson3082626689357722831.sh<br />
+ /opt/flex-sdk-3.4-testrunner/bin/adl_lin /var/development/Test_Runner.xml<br />
Xlib:  extension &#8220;RANDR&#8221; missing on display &#8220;:99.0&#8243;.<br />
Xlib:  extension &#8220;Generic Event Extension&#8221; missing on display &#8220;:99.0&#8243;.<br />
Xlib:  extension &#8220;Generic Event Extension&#8221; missing on display &#8220;:99.0&#8243;.<br />
Xlib:  extension &#8220;Generic Event Extension&#8221; missing on display &#8220;:99.0&#8243;.<br />
selected<br />
selected<br />
1<br />
2<br />
2</p>
<p>(At this point it hangs)&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian LeGros</title>
		<link>http://www.brianlegros.com/blog/2009/12/20/using-xvnc-to-create-headless-ci-builds-for-flex-and-air-applications/comment-page-1/#comment-21150</link>
		<dc:creator>Brian LeGros</dc:creator>
		<pubDate>Tue, 12 Jan 2010 22:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.brianlegros.com/blog/?p=656#comment-21150</guid>
		<description>@David - That&#039;s handled by the plugin.  The plugin attempts to start xvnc at the base display number (e.g. - 99) provided in the plugin configuration.  Then it&#039;ll pipe everything to the display on which it was able execute Xvnc and do an export DISPLAY=:99 for the scope of the build run.  At the end of the build it resets DISPLAY and calls vncserver -kill :99 for you.

At least this is what I can gather while running the plugin and looking at the source to emulate the behavior in the FlexUnit4 Ant task.

Hope this helps.</description>
		<content:encoded><![CDATA[<p>@David &#8211; That&#8217;s handled by the plugin.  The plugin attempts to start xvnc at the base display number (e.g. &#8211; 99) provided in the plugin configuration.  Then it&#8217;ll pipe everything to the display on which it was able execute Xvnc and do an export DISPLAY=:99 for the scope of the build run.  At the end of the build it resets DISPLAY and calls vncserver -kill :99 for you.</p>
<p>At least this is what I can gather while running the plugin and looking at the source to emulate the behavior in the FlexUnit4 Ant task.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Tucker</title>
		<link>http://www.brianlegros.com/blog/2009/12/20/using-xvnc-to-create-headless-ci-builds-for-flex-and-air-applications/comment-page-1/#comment-21140</link>
		<dc:creator>David Tucker</dc:creator>
		<pubDate>Tue, 12 Jan 2010 18:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.brianlegros.com/blog/?p=656#comment-21140</guid>
		<description>Brian,

Did you have to &#039;export DISPLAY=:99.0&#039; so that gflashplayer knows which display to open on?  If not - is that handled by the Hudson plugin?

David Tucker</description>
		<content:encoded><![CDATA[<p>Brian,</p>
<p>Did you have to &#8216;export DISPLAY=:99.0&#8242; so that gflashplayer knows which display to open on?  If not &#8211; is that handled by the Hudson plugin?</p>
<p>David Tucker</p>
]]></content:encoded>
	</item>
</channel>
</rss>

