[mythtv-users] Australian HOWTO?

James Lever j at jamver.id.au
Sat Nov 6 03:26:01 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 6 Nov 2004, at 8:07 PM, Markus Buchanan wrote:

>> From Xine:
>
> bash-2.05b# xine stdin://mpeg2 < /dev/dvb/adapter0/dvr0
> Xlib: connection to ":0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> This is xine (X11 gui) - a free video player v0.9.23.
> (c) 2000-2003 The xine Team.
> Xlib: connection to ":0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> Cannot open display

This appears to be an X11 permission problem.  Did you login as another 
user/root and su to the user who was running xine?  xclock is a good 
tool to check your X permissions.  Read the manpage for xhost and xauth 
to gain further understanding.

> and with mplayer:
>
> bash-2.05b$ mplayer - < /dev/dvb/adapter0/dvr0
> bash: /dev/dvb/adapter0/dvr0: Permission denied
>
> Now I guess the devices are set up for root access only, so what's the
> best option for allowing all users access without compromising 
> anything?

check the permissions on /dev/dvb/adapter0/dvr0 and possibly try chmod 
a+r /dev/dvb/adapter0/dvr0 to give everybody read permission on the 
device.  man chmod if you need to understand unix permissions.

cheers,
James
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBjEROrvrs2vRqiIwRArfiAJ4uxB+3dhBx4f236M4mH3nJ+S6d2wCgpoeG
8mUcL2UzQlUqmGkBgRUWNvg=
=G2ID
-----END PGP SIGNATURE-----



More information about the mythtv-users mailing list