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

Jason Stechschulte stech at ypisco.com
Tue Apr 13 19:16:18 CEST 2004


On Tue, Apr 13, 2004 at 11:59:16AM -0400, D Richard Felker III wrote:
> 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.

It is not running as root.  I needed to do the following:

xhost +local:video@

video is the user that the X session is running as.  It seems it would
not allow a different instance of the video user to use the X session
without doing this.  Once I added that, I was able to add a crontab
entry as the video user and mplayer would play when scheduled.

at however, still does not work.

-- 
Jason Stechschulte
stech at ypisco.com

Truth is hard to find and harder to obscure.




More information about the MPlayer-users mailing list