Le lun 10/02/2003 � 18:05, David A. Desrosiers a �crit :
> > Is there a debug mode I could run to see where it fails? And why does it
> > have to open a display, when all it has to do is to launch a daemon?
> 
>       Let's see the crontab entry and your script.
> 
>       Note, running it as root here locally seems to validate my original
> assertion that you're running it as root and not a normal user, or that when
> cron runs, it doesn't have access to the $DISPLAY. xhost +yourhost might
> help, as that user.
> 
> # gpilot-install-file --later cvsdocs.pdb
> (gpilot-install-file:2404): Gtk-WARNING **: cannot open display:

Hi David,

I noticed something that confirms that when I launch something from my
cron, it does something different that in my shell (the cron is for the
same user of course).
If I enter "date +%a" in the shell, it returns "mar" (="mardi", Tuesday
in French). If I do that from the cron, it returns "Tue". So I guess the
cron has its own locales somehow. It may have nothing to do with my
problem, but it's worth noticing...

And by the way, the xhost +myhost didn't help regarding my problem...(I
still get Gtk-WARNING **: cannot open display: )

Thanks,

-- 
Alexandre Aractingi <[EMAIL PROTECTED]>
_______________________________________________
plucker-list mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-list

Reply via email to