Here's my uname -a info ...

Linux qa3398c 2.6.18-194.8.1.el5 #1 SMP Wed Jun 23 10:52:51 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

I'm running some Google Web toolkit tests that require access to a virtual display. I don't know what to set my DISPLAY environment variable to get that functionality. I've tried things like "localhost:0.0", ":0.0" and "0.0", but all result in errors like

Caused by: java.lang.Exception: java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.

How do I figure out what to set my DISPLAY variable to? I have Xvfb installed on the machine.

link|improve this question
feedback

1 Answer

Have you tried setting the DISPLAY to :1 ? Xvfb Wikipedia page seems have all the examples using :1

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.