[MPlayer-users] Re: mplayer && video && (at || cron)

D Richard Felker III dalias at aerifal.cx
Tue Apr 13 17:59:16 CEST 2004


On Tue, Apr 13, 2004 at 08:56:52AM -0400, Jason Stechschulte wrote:
> On Tue, Apr 13, 2004 at 12:36:10AM +0000, adland wrote:
> > Jason Stechschulte wrote:
> > > Xlib: connection to ":0.0" refused by server
> > > Xlib: No protocol specified
> > 
> > would this command xhost help with this? 
> > xhost - server access control program for X
> 
> Yep that was it.  I just needed to allow connections using xhost.  So
> now I can use cron to schedule mplayer, but I'm still having issues with
> at.  It doesn't appear to be giving me any error messages.  It just
> tried to open the movie in a window and then it dies.  Maybe I need to
> set another environment variable or two when using at?  I may just have
> to deal with cron since I can't even get just sound to work when using
> at.

FYI xhost is always a security hole and a workaround for another
problem of not having permissions right. mplayer should run as the
same user as the X session, which should NOT be root.

Rich




More information about the MPlayer-users mailing list