[vdr] softdevice with xv-plugin does not start
stefan at lucke.in-berlin.de
Sun Nov 13 21:18:28 CET 2005
On Sonntag, 13. November 2005 19:41, Andre Bischof wrote:
> Hi Stefan,
> Stefan Lucke wrote:
> >>>>Nov 12 21:03:51 linux vdr: [XvVideoOut]: patch version (2005-07-20)
> >>>>Nov 12 21:03:51 linux vdr: [XvVideoOut]: Could not connect to
> >>>You have to start your X-server _before_ you may start vdr with
> >>>softdevice and xv out.
> >>The output above is from a term in kde, so I suppose the X-server should
> >>be running.
> > So vdr is running with another userid as you are logged in.
> > 1. you need to set th DISPLAY variable (export DISPLAY=:0.0)
> > 2. the user who wants to access your display needs permissions to do that
> > For my tests, when running vdr from root I do sux which keeps
> > authorisation to x-server contact.
> I can't manage to do that. If I try to run vdr as user root, vdr-kbd
> complains to refuse to run with root priviledges. If I do "su vdr"
> whoami tells me to be still root - is that what you meant by "sux"?
> Because I don't know sux, and nothing like this is installed.
Maybe sux is specific to SuSe.
> I tried:
> root at linux:/usr/lib/vdr# DISPLAY=:0.0;xset s off;vdr-daemon
> --config=/var/lib/vdr --lib=/usr/lib/vdr/plugins -d
> ib/vdr/plugins -vo xv:" -u vdr -g vdr
> Xlib: connection to ":0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> xset: unable to open display ":0.0"
> as mentioned in the link you provided at the end of your posting.
So as normal user you may grant access to your x-session via xhost
command "xhost +host_name" .
More information about the vdr