1820192 Members
4404 Online
109620 Solutions
New Discussion юеВ

X Display

 
SOLVED
Go to solution
Thom Cornwell
Frequent Advisor

X Display

When running xnmgraph from cron it requires a DISPLAY to connect to. The cron job executes as long as some one is logged in on the DISPLAY console. If not logged in at the console the shell kicked offed by the cron waits until there is a log in on the DISPLAY console. Is there a way around this other than VNC?
2 REPLIES 2
Santosh Nair_1
Honored Contributor
Solution

Re: X Display

Hi,

You could set up a virtual frame buffer using either Xvfb or install patch PHSS_23546 which support virtual frame buffers. Once this is set up, you can set the DISPLAY to server:0.

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
Wodisch
Honored Contributor

Re: X Display

Hello Thom,

you could get the free (OpenSource) VNC from
http://www.orl.co.uk/vnc
(I know that you will be redirected to an AT&T site
in Edinburgh, but the old URL is shorter ;-)

Then install it on your HP box, create an "rc" script
to automatic start the VNC server on booting and
point your $DISPLAY to it:
export DISPLAY=$(hostname):1

Then you do not need anybody logged in...

HTH,
Wodisch