Newbie question: vncserver running on port :25, need to attach Perl script to this when it executes
Adrian Phillips
a.phillips at met.no
Tue Dec 1 19:36:06 GMT 2009
>>>>> "Rob" == Rob Newman <rlnewman at ucsd.edu> writes:
Rob> I have a vnc server that I have got running on port
Rob> localhost:25 via the command:
Rob> vncserver.rt :25 -name "My Display" -geometry 1024x1000
Rob> -localhost
<snip>
Rob> I have a Perl script that I normally run from the X11 command
Rob> line. This outputs much information, then opens up three
Rob> Ghostscript windows, creates some postscript image files,
Rob> then converts them to pdf files using the Ghostscript command
Rob> ps2pdf.
Rob> I need this script to run via cron without me being logged
Rob> in, hence why I thought Xvnc would be solution. However, I
Rob> cannot seem to figure out how to force my script to attach to
Rob> this port and run successfully.
First things first, are you running as the same user from cron ? If so
you could add "xauth list" to the script (after export DISPLAY) to see
what displays the script has access to.
Sincerely,
Adrian Phillips
--
Who really wrote the works of William Shakespeare ?
http://www.pbs.org/wgbh/pages/frontline/shakespeare/
More information about the VNC-List
mailing list