Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: ProjectX requires DISPLAY?



Thomas Weber wrote:
Hello,

C.Y.M schrieb:

When I attempt to use ProjectX with VDRConvert, I get an error saying pX.jar wants to connect to X. Is there a way to use this without having X running?

INFO : call ProjectX: java -jar /usr/local/share/vdrconvert/pX/pX.jar -c /usr/local/share/vdrconvert/pX/pX.ini -o /home/video/tmp/vdr2dvd/4066/Video_File/%_/VDRSYNC.pflU6R /video/recordings/Video_File/%_/2004-10-27.19:00.50.99.rec/001.vdr
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.

I don't know if ProjectX does need a display because i never used it at all ;-)
However, you may want to try the -Djava.awt.headless=true java switch.
It tells java to not look for a display (except if it really wants to open a window).


Thanks for the tip. PX still doesnt seem to like it though..(unless I am doing something wrong). This is a runtime switch right?

Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121)
at java.awt.Window.<init>(Window.java:274)
at java.awt.Frame.<init>(Frame.java:401)
at java.awt.Frame.<init>(Frame.java:366)
at javax.swing.JFrame.<init>(JFrame.java:154)
at SUBPICTURE.<init>(SUBPICTURE.java:47)
at X.<clinit>(X.java:81)




Home | Main Index | Thread Index