configuring display number range for Xvnc plugin?

4 messages Options
Embed this post
Permalink
Feuer, Adam

configuring display number range for Xvnc plugin?

Reply Threaded More More options
Print post
Permalink
Hudson folks,

Hi, we're using Hudson here at Amazon Fresh (http://fresh.amazon.com).
It's great!

Some of our builds use Xvnc and Selenium to run acceptance tests. This
works great, as long as no-one is ssh'd into the build box. This box is
a shared box, so that happens more often than we want.

The Xvnc plugin defaults to having its displays to start at :10. This is
a problem for us, as our sshd starts its X port forwarding at :10 too.
For a variety of reasons, we can't change the sshd configuration.

I looked at the code for this, and it's just hard coded to use :10 ...

http://fisheye5.cenqua.com/browse/hudson/hudson/plugins/xvnc/src/main/ja
va/hudson/plugins/xvnc/DisplayAllocator.java?r=1.2

How would I make this configurable? I know I could just rebuild with a
different hard coded number, but we don't want to make private
modifications to the build that we would then have to make each time a
new version of Hudson came out.

Any ideas?

cheers
adam
--
Adam Feuer <[hidden email]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Jesse Glick

Re: configuring display number range for Xvnc plugin?

Reply Threaded More More options
Print post
Permalink
Feuer, Adam wrote:
> The Xvnc plugin defaults to having its displays to start at :10.
> [...] How would I make this configurable?

We would need to improve the plug-in to make the first display number a
global configuration option. You can see the general style in the
plug-in since it already has an option for setting the Xvnc command
line. Please file an RFE in the Hudson issue tracker, and if you really
want this, a patch would be great!

-J.

--
[hidden email]  netbeans.org  ant.apache.org  hudson.dev.java.net
             http://google.com/search?q=e%5E%28pi*i%29%2B1

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Feuer, Adam

RE: Re: configuring display number range for Xvnc plugin?

Reply Threaded More More options
Print post
Permalink
Jesse,

We do want this, I will file an RFE, and can submit a patch too, I will
need some help with integrating the setting into the UI.

Should I join the developers list to get help there?

-adam
--
Adam Feuer <[hidden email]>


> -----Original Message-----
> From: news [mailto:[hidden email]] On Behalf Of Jesse Glick
> Sent: Wednesday, September 05, 2007 2:50 PM
> To: [hidden email]
> Subject: Re: configuring display number range for Xvnc plugin?
>
> Feuer, Adam wrote:
> > The Xvnc plugin defaults to having its displays to start at :10.
> > [...] How would I make this configurable?
>
> We would need to improve the plug-in to make the first
> display number a global configuration option. You can see the
> general style in the plug-in since it already has an option
> for setting the Xvnc command line. Please file an RFE in the
> Hudson issue tracker, and if you really want this, a patch
> would be great!
>
> -J.
>
> --
> [hidden email]  netbeans.org  ant.apache.org  hudson.dev.java.net
>              http://google.com/search?q=e%5E%28pi*i%29%2B1
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Jesse Glick

Re: configuring display number range for Xvnc plugin?

Reply Threaded More More options
Print post
Permalink
Feuer, Adam wrote:
> I will need some help with integrating the setting into the UI.

Sure. I think this one should be pretty easy but didn't look at it long.

> Should I join the developers list to get help there?

Yes.

Thanks,
-J.

--
[hidden email]  netbeans.org  ant.apache.org  hudson.dev.java.net
             http://google.com/search?q=e%5E%28pi*i%29%2B1

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]