andy@htpc:~$ ps -ef | grep X
andy 3152 3135 0 18:48 tty1 00:00:00 xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.LgWZE9syhN
root 3153 3152 2 18:48 tty7 00:00:04 /usr/bin/X11/X -nolisten tcp
andy 3251 3209 0 18:48 tty1 00:00:00 /usr/lib/xfce4/panel-plugins/xfce4-menu-plugin socket_id 12582944 name xfce4-menu id 5 display_name Xfce-Menü size 45 screen_position 2
andy 3335 3316 0 18:50 pts/0 00:00:00 grep --color=auto X
andy@htpc:~$ ps -ef | grep vdr
root 2968 1 0 18:48 ? 00:00:00 /bin/bash -p /usr/sbin/runvdr -v /var/lib/video.00 -c /var/lib/vdr -L /usr/lib/vdr/plugins -r /usr/lib/vdr/vdr-recordingaction -s /usr/lib/vdr/vdr-shutdown.wrapper -E /var/cache/vdr/epg.data -u vdr -g /tmp --port 2001 --lirc -P "mailbox -c /etc/vdr/plugins/mailbox/mailconv.sh" -P nordlichtsepg -P femon -P eggtimer -P text2skin -P systeminfo -P "xine ? -r -p" --vfat -w 60
vdr 2993 2968 0 18:48 ? 00:00:01 /usr/bin/vdr -v /var/lib/video.00 -c /var/lib/vdr -L /usr/lib/vdr/plugins -r /usr/lib/vdr/vdr-recordingaction -s /usr/lib/vdr/vdr-shutdown.wrapper -E /var/cache/vdr/epg.data -u vdr -g /tmp --port 2001 --lirc -P mailbox -c /etc/vdr/plugins/mailbox/mailconv.sh -P nordlichtsepg -P femon -P eggtimer -P text2skin -P systeminfo -P xine ? -r -p --vfat -w 60
andy 3339 3316 0 18:51 pts/0 00:00:00 grep --color=auto vdr
/etc/sudoers:
# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
# User alias specification
User_Alias ABSCHALTER = andy
# Cmnd alias specification
Cmnd_Alias DOWN = /sbin/shutdown, /sbin/halt, /sbin/reboot
# User privilege specification
ABSCHALTER ALL = NOPASSWD: DOWN
Das Script läuft unter meinem Benutzernamen und startet, wenn ich es alleine ausführe auch ohne probleme den XBMC.
Als Windows Manager läuft ein XFCE4, aber auch ohne XFCE4 mit einem VDR-Xine mit "xinit-e" aufgerufen fuktioniert es nicht.