[vdr] softdevice with xv-plugin does not start

Andre Bischof a.bischof at gmx.net
Sun Nov 13 19:41:59 CET 2005

Hi Stefan,

Stefan Lucke wrote:
>>>>Nov 12 21:03:51 linux vdr[10465]: [XvVideoOut]: patch version (2005-07-20)
>>>>Nov 12 21:03:51 linux vdr[10465]: [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.

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.

BTW, is "-vo xv:" right for me? I couldn't find anything about XvMC, or 
should I better use xv with my graca, which uses v4l if I'm not 
completly wrong?

> If you want to use vdr as a frontend / desktop application you don't 

Glad to here that, so I didn't understand everything wrong ;-) That's 
exactly what I intend to do.

>>I'd like to use softdevice with a Geforce 6600 and TV-Out, if this could 
>>be better please tell me.
>>In vdr-wiki is also written that softdevice does replace the 
>>mpeg2-decoder and outputs directly on a framebuffer, output could then 
>>be on a monitor or tv-out (for that part streamdev is needed?)
> Streamdev if only needed for transferring the dvb data from one vdr to another.
> Maybe that is of some help:
> http://www.linuxtv.org/pipermail/vdr/2005-October/005510.html

So I think my main problem is exporting the display right. For the time 
being I've only one display, no tv-out, which I would experiment with 
later on, when the rest is running.

But I'm not used to exporting displays and don't know how to manage it 
for the user vdr - do you still have the patience helping me again?


More information about the vdr mailing list