[MPlayer-users] started from cron, mplayer doesn't work

Paul TT paultt at hackerjournal.it
Thu Feb 26 00:27:05 CET 2004


On Wed, 25 Feb 2004 20:53:51 +0100
Lars Mausehund <lars.mausehund at senckenberg.de> wrote:

> hello,
> 
> starting an .mpg-file from the command line, everything works fine.
> now I want to start a playlist of 3 mpg's every hour as a cron task, but 
> all I get is a error message in the users mail:
> 
> vo: couldn't open the X11 display ()!
> ..> 

you should set the DISPLAY variable according to which xserver send mplayer output, for instance "export DISPLAY=:0.0" o "DISPLAY=:0.0 mplayer etc... etc..."
> 




More information about the MPlayer-users mailing list