cron: xloadimage startet nicht: : Cannot open display
Hallo Liste!
Ich benötige etwas Erleuchtung
Ich starte jede Stunde ein Script,welches mir ein aktuelles Wetterbild saugt.
Diese Bild möchte ich automatisch im Script(s.u.) auf mein root Fenster laden lassen. In der Mail von cron bekomme ich die Fehelermeldung:
: Cannot open display
Wenn ich das script per Hand starte funktioniert es wunderbar.
Was mache ich falsch, was kann ich ändern ?
Script:
#!/bin/sh
cd /home/nexus
rm DTOTF.jpg
wget http://imkhp2.physik.uni-karlsruhe.de/~muehr/satpicsf/eumetsat/DTOTF.jpg
/usr/bin/xloadimage -onroot -fullscreen DTOTF.jpg
Mail von Cron:
Date: Wed, 25 Feb 2004 22:33:02 +0100
From: Cron Daemon <root@neuromancer>
To: nexus@neuromancer
Subject: Cron <nexus@neuromancer> /home/nexus/wheater_down.sh
--22:33:01--
http://imkhp2.physik.uni-karlsruhe.de/%7Emuehr/satpicsf/eumetsat/DTOTF.jpg
=> `DTOTF.jpg'
Resolving imkhp2.physik.uni-karlsruhe.de... 129.13.102.68
Connecting to imkhp2.physik.uni-karlsruhe.de[129.13.102.68]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 80,152 [image/jpeg]
0K .......... .......... .......... .......... .......... 63% 85.60 KB/s
50K .......... .......... ........ 100% 98.70 KB/s
22:33:02 (89.91 KB/s) - `DTOTF.jpg' saved [80152/80152]
: Cannot open display
Vielen Dank für eure Anregungen.
Mark
--
\|/
-----------------------------o-o--------------------------------------
Mark Ross
Mark.Ross1@ewetel.net
----------------------------------------------------------------------
Reply to: