« Return to Thread: configuring display number range for Xvnc plugin?

configuring display number range for Xvnc plugin?

by Feuer, Adam :: Rate this Message:

Reply to Author | View in Thread

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 <afeuer@...>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: configuring display number range for Xvnc plugin?

LightInTheBox - Buy quality products at wholesale price