My VDR system run on xorg without KDE.
cp init.d.runvdr.Debian /etc/init.d/runvdr
chmod a+x /etc/init.d/runvdr
cp runvdr /usr/bin/runvdr
chmod a+x /usr/bin/runvdr
cp runvdr.conf.example /etc/runvdr.conf
ln -s /etc/init.d/runvdr /etc/rc2.d/S99runvdr
runvdr.conf:
--------------------------------------------------
# Fire up own X server as output device
XSERVER="/usr/bin/X -nolisten tcp -config /etc/X11/xorg-runvdr.conf :0"
--------------------------------------------------
when I start the VDR-PC,The Screen displays:
/usr/bin/runvdr:line 576: 4515 Segmentation fault
waiting for X server to shut down
PID=4515
RET=139
VDR died within 10 seconds, this happened 6 time(s).
Terminating because VDR died 6 times in a row quickly at wed Jan 14 06:51:28 CST 2009
Sending 1 processes the TERM signal.terminated.
/usr/bin/runvdr:line 576: 4515 Segmentation fault
-----------------------------------------------------
# Act as a proxy for calling VDR, from within X session
if [ -n "$XSERVERPROXY" ] ; then
eval "$VDRCMD &"
PID=$!
echo "PID $PID" > "$XSERVERPROXY"
wait $PID #line 576: 4515 Segmentation fault
echo "RET $?" >> "$XSERVERPROXY"
exit 0
fi
-----------------------------------------------------
But after I logined the VDR-PC.
root@vdr:/etc/inti.d/runvdr start
the VDR-PC run X at first, next run vdr is OK.
why the VDR-PC can't auto run runvdr,but after I logined the VDR-PC,press the command:/etc/inti.d/runvdr start,the vdr running is OK?