>>>>> "Rob" == Rob Newman <[email protected]> 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/

_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to