-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Rob Newman
Sent: Tuesday, December 01, 2009 12:24 PM
To: [email protected]
Subject: Re: Newbie question: vncserver running on port :25,need to
attach Perl script to this when it executes
> Hi Phil,
>
> Thanks so much for the reply, however I think I didn't explain my
> problem clearly. The script is already on the same server, I just need
> the Perl script to attach to a display port (localhost:25 in this
> case) when it is run nightly via cron, as the script creates images
> that need an X window to process in. The point of me showing I can
> successfully attach to the port via vncviewer was purely to
> demonstrate that I have everything related to VNC working in a stable
> environment.
>
> After trawling the VNC mailing list archives all day yesterday I saw a
> couple of threads about Xvfb - which might be all I need. However, I
> cannot pass my Perl script a display argument, so I need to somehow
> force the script to use the localhost:25 port. Hence why I had been
> attempting to export the DISPLAY variable in my wrapper script
[snip]
Rob:
Well, it's more likely that I didn't read your initial post
correctly; when I'm at work, I'm always in a rush. :-/
I can't say that I have a VNC solution for U, but if U're only
using ps2pdf, U shouldn't need to use an X server. In fact,
if gs is being used to generate PostScript output to feed to
gs, U should be able to use '-dBATCH' on the gs command line
to inhibit output (that's what psp2pdf does).
BTW, thanx for the tip about Xvfb; that looks handy!
Thx, Phil Long
--------------------------------------------------------
Goss ... Innovation for Business
NOTICE: This e-mail and any attachment(s) may contain confidential and
proprietary information of Goss International Corporation and/or its
subsidiaries and may be legally privileged. This e-mail is intended solely for
the addressee. If you are not the addressee, dissemination, copying or other
use of this e-mail or any of its content is strictly prohibited and may be
unlawful. If you are not the intended recipient please inform the sender
immediately and destroy the e-mail and any copies. All liability for viruses is
excluded to the fullest extent permitted by law. Any views expressed in this
message are those of the individual sender. No contract may be construed by
this e-mail.
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list