[vdr] Pb with softdevice and vdr in deamon mode

Stefan Lucke stefan at lucke.in-berlin.de
Sun Sep 11 22:31:54 CEST 2005


On Sonntag, 11. September 2005 21:30, Martin Wache wrote:
> Dominique Dumont schrieb:
> > Hello
> > 
> > I'm trying to setup vdr with a budget card (only, no ff card) and
> > softdevice.
> > 
> > When I launch vdr and softdevice from a terminal, everything is
> > working fine (with xv)
> > 
> > But I'd like to set up vdr as a daemon (i.e. launched by init.d) so
> > recording can begin even if I'm not logged.

I think it would be easier to start vdr with streamdev (server mode)
as the backgound deamon, and connect later a vdr with streamdev
(client mode) to your server. The screenshots on softdevice
homepage with two vdrs running, were done this way
(vdr with streamdev client+server on the local maschine).

> > 
> > So far, I've managed to run vdr (from debian package) and softdevice
> > after some crude hacks:
> > - I've added and 'export DISPLAY=:0.0' in /etc/init.d/vdr
> > - I must be logged in and perform a xhost local:
> > 
> > I'd like to be able to run vdr as a daemon with softdevice plugin
> > loaded. For this I need softdevice to not try to connect to X11 until
> > a command is sent to vdr daemon (either through the remote control or
> > SVDRP).
> > 
> > This command would need to contain the display name to connect to.
> > 
> > Does this sound reasonnable ? (or did I miss something ?)
> > 
> I think it is not impossible to do it like this, however the softdevice
> would have to be changed accordingly, so if you want to do this or find
> someone who volunteers to do this there should be no problem.

I think we should reject a delayed allocation of the output device.

> 
> If not you could set up a second X server to be used with vdr which is
> started at startup of vdr and use Marko Mäkeläs suspend patch to suspend
> the output while your not watching. I plan to do it like this once I
> have my vdr only box.
> 
> Or you use vdr-xine which is probably more what you are looking for.

-- 
Stefan Lucke




More information about the vdr mailing list