Jenkins cannot connect to X server on Ubuntu

2012-12-28 Thread suter_daniel
My tests on jenkins are failing because jenkins can't connect to the x server on my ubuntu machine. The machine disposes of a display, so it's not headless. I tried to set the connection settings on the etc/init.d/jenkins configuration as follows: #Display connection export DISPLAY=:0.0 In

Re: Jenkins cannot connect to X server on Ubuntu

2012-12-28 Thread Pawel Jasinski
hi, can it be that you need to enable tcp connection to your xserver? http://askubuntu.com/questions/72812/how-to-disable-nolisten cheers, pawel On Fri, Dec 28, 2012 at 3:31 PM, suter_dan...@hotmail.com wrote: My tests on jenkins are failing because jenkins can't connect to the x server on

Re: Jenkins cannot connect to X server on Ubuntu

2012-12-28 Thread suter_daniel
Hi Pawel, Thanks for your suggestion but I still got the same problem (after I enabled tcp connections). I don't know how to debug this problem. cheers Am Freitag, 28. Dezember 2012 17:11:00 UTC+1 schrieb Pawel Jasinski: hi, can it be that you need to enable tcp connection to your xserver?

Re: Jenkins cannot connect to X server on Ubuntu

2012-12-28 Thread Pawel Jasinski
there is one thing I forgot. You have to issue the following in the terminal connected to XServer xhost localhost this will allow the connections to XServer from localhost only. For troubleshooting (not to be permanent) you can do: xhost + this turns off any restrictions. If you still have a

Re: Jenkins cannot connect to X server on Ubuntu

2012-12-28 Thread Mark Waite
and you don't need to remember to unlock its permissions. Mark Waite From: Pawel Jasinski pawel.jasin...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Friday, December 28, 2012 11:50 AM Subject: Re: Jenkins cannot connect to X server on Ubuntu