Re: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread Georges Roux
Hi, I put System.setProperty("java.awt.headless", "true"); in my servlet init method it's ok, but now when I open a Frame, I get the exception HeadlessException: java.awt.HeadlessException at java.awt.GraphicsEnvironnement.checkHeadless(GraphicsEnvironement.java:121) at java.awt.window.(Win

Re: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread p niemandt
ok: there is another solution to the headless thing: (I wrote a graphical servlet that runs on a linux box without X, and had the same problems: The headless seemed to work, well, kinda, but not to my liking): So I went the xvfb route: This is a virtual frame buffer to can install on a linux box th

Re: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread p niemandt
Difficult to say: What kind of problems? I start mine using Xvfb :0 -screen 0 1600x1200x32 & {I just added it to rc.local } On Thu, 2003-03-20 at 19:27, Glenn Parsons wrote: > At 07:18 PM 3/20/2003 +, you wrote: > >ok: there is another solution to the headless thing: (I wrote a > >graphi

RE: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread Chris Dodunski
what it needs to work (which abstract classes and interfaces to implement). Regards, Chris. -Original Message- From: p niemandt [mailto:[EMAIL PROTECTED] Sent: Friday, 21 March 2003 7:18 a.m. To: Tomcat Users List Subject: Re: Can't connect to X11 window server usi

Re: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread p niemandt
Yep: Done correctly, this is probably the more 'correct' solution, but, and I'm probably opening myself to a lot of flamebait, but I do suspect that using something like Xvfb might give some advantages that using headless won't. For example, and I'm just guessing, but I think that 'headless' is pur

RE: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread Andy Eastham
: Re: Can't connect to X11 window server using '0:0' as the value > ofthe display and now java.awt.HeadlessException > > > Yep: Done correctly, this is probably the more 'correct' solution, but, > and I'm probably opening myself to a lot of flamebait, bu