[gelöst] yaVDR 0.1.1 : XBMC startet nicht mehr

  • Hello,


    thanks for your reply.


    Zitat

    Originally posted by gda
    Hi David4,


    Sorry to hear that, but it looks like we have to wait for an experienced Linux user with the same Problem to solve it. We don't see this Problem and can't do it by ourselves.


    Because of the last tests I doubt that there is a problem with the permissions.


    Ok, are there some tests which I can do?
    I hope that I'm experienced enough to check what is neccessary if you'll give me hints on what to look for.


    start-xbmc permissions are:


    vdr@sun:~$ ls -l /usr/bin/start-xbmc
    -rwxr-xr-x 1 root root 149 2010-02-18 19:39 /usr/bin/start-xbmc


    Zitat


    Maybe it is a race condition. Play a little bit with the script start-xbmc.
    Put a

    Code
    sleep 5

    under the line

    Code
    sudo /sbin/initctl stop vdr-frontend

    , or comment this line out.


    This currently looks as most probable cause for me now. I'll test this when I'll be back home in the afternoon.


    Zitat


    I don't have to mention that it is mandatory if you face problems to do

    Code
    sudo apt-get update
    sudo apt-get dist-upgrade

    , have I?


    I already did update/upgrade yesterday when I found this problem, with no effect.


    Just to provide more information, this is part of the /var/log/user.log which covers messages from externalplayer plugin when it tries to start xbmc:



    Just to notice, it was completely clean install of yaVDR 0.1.1 (downloaded yesterday from yavdr.org).


    My HTPC components:
    CPU: AMD Sempron(tm) 140 Processor
    MB: MICRO-STAR 770-C45
    GPU: nVidia Corporation G94 [GeForce GT 130] (rev a1)


    Cheers,
    David

  • Zitat

    Das gilt auch für dich Bernie7, du machst auch immer schön sudo apt-get update sudo apt-get dist-upgrade bevor du Fehler meldest, oder? Gerald


    Na klar !!

    Zitat

    Sorry to hear that, but it looks like we have to wait for an experienced Linux user with the same Problem to solve it


    Damit kann ich leider nicht dienen, zu mehr als "ls -l" reichen meine Kenntnisse leider nicht.


    Grüße Bernd

    VDR : POV Atom 330-1 Mainboard, MSI TV@nywhere Satellite II, 2 GB RAM, natürlich mit yaVDR 0.61. Heimkino mit Onkyo AVR, Nubert-Surround-Boxen und JVC Beamer mit 4K und HDR. HD-VDR für Newbies: www.partyfotos.de/vdr

  • Zitat

    Original von David4


    This currently looks as most probable cause for me now. I'll test this when I'll be back home in the afternoon.


    I am not so sure, the profile .xbmc that Hepi mentioned ist a candidate for me too.


    Gerald


    HP Proliant MicroServer Gen8, Xeon E3-1230, 12 GB RAM, 3xWD red 2TB im RAID 5, 2xSundtek MediaTV Home DVB-C/T, L4M TWIN-C/T, Ubuntu Server 14.04.1, Plex Media Server
    Samsung UE55H6470

  • Zitat

    Original von Bernie7


    Damit kann ich leider nicht dienen, zu mehr als "ls -l" reichen meine Kenntnisse leider nicht.


    Aber ein

    Code
    sudo rm -rf /var/lib/vdr/.xbmc

    bekommst du auch hin.
    Versuch mal ob es danach geht.


    Gerald


    HP Proliant MicroServer Gen8, Xeon E3-1230, 12 GB RAM, 3xWD red 2TB im RAID 5, 2xSundtek MediaTV Home DVB-C/T, L4M TWIN-C/T, Ubuntu Server 14.04.1, Plex Media Server
    Samsung UE55H6470

  • Zitat

    Original von Bernie7


    Nein.


    das schränkt die Suche schon mal ein, danke.


    Ein paar Fragen noch.
    Unmittelbar nach diesem Versuch, hat da XBMC wieder ein Verzeichnis /var/lib/vdr/.xbmc angelegt, oder ist es immer noch weg? Voraussetzung ist natürlich, dass du zwischenzeitlich xbmc nicht per Hand gestartet hast.


    Wieviel Grafik-Speciher hast du im BIOS eingestellt? Versuche mal 512MB wenn es noch nicht passiert ist.



    Gerald


    HP Proliant MicroServer Gen8, Xeon E3-1230, 12 GB RAM, 3xWD red 2TB im RAID 5, 2xSundtek MediaTV Home DVB-C/T, L4M TWIN-C/T, Ubuntu Server 14.04.1, Plex Media Server
    Samsung UE55H6470

  • connected on ssh


    Code
    vdr@htpc:~$ export DISPLAY=:1


    Code
    vdr@htpc:~$ sudo /sbin/initctl stop vdr-frontend
    vdr-frontend stop/waiting


    Code
    vdr@htpc:~$ su -c "/usr/bin/xbmc --standalone" vdr
    Password: 
    open /dev/sequencer or /dev/snd/seq: Nessun file o directory


    xbmc will starts well


    Code
    vdr@htpc:~$ sudo /sbin/initctl start vdr-frontend
    vdr-frontend start/running, process 3927


    but from menu applikationen xbmc not work.


    xzero2

  • Zitat

    Original von xzero2
    but from menu applikationen xbmc not work.


    Yes, we know this already, thanks.


    Please try to change the start of xbmc in start-xbmc to this:

    Code
    su -c "/usr/bin/xbmc --standalone 2>&1 >/tmp/start-xbmc.log" vdr


    and post the file /tmp/start-xbmc.log. Additionally send your /etc/sudoers file.


    Gerald


    HP Proliant MicroServer Gen8, Xeon E3-1230, 12 GB RAM, 3xWD red 2TB im RAID 5, 2xSundtek MediaTV Home DVB-C/T, L4M TWIN-C/T, Ubuntu Server 14.04.1, Plex Media Server
    Samsung UE55H6470

  • /var/lib/vdr/.xbmc wird nicht abgelegt beim Start aus dem VDR-Menü.


    /tmp/start-xbmc.log wird auch nicht angelegt.


    Wenn ich manuell starte wird /tmp/start-xbmc.log mit Größe 0 angelegt.


    Will jemand Zugriff auf meinen Rechner ? Oder ich bring ihn in Heidelberg vorbei ;)


    Grüße Bernd

    VDR : POV Atom 330-1 Mainboard, MSI TV@nywhere Satellite II, 2 GB RAM, natürlich mit yaVDR 0.61. Heimkino mit Onkyo AVR, Nubert-Surround-Boxen und JVC Beamer mit 4K und HDR. HD-VDR für Newbies: www.partyfotos.de/vdr

    2 Mal editiert, zuletzt von Bernie7 ()

  • Ich denke ich habe den Grund für euer Problem gefunden. Ich gehe davon aus, dass ihr bei der Installation auf die Frage nach dem Usernamen den Namen "vdr" eingegeben habt, richtig? Ihr Blindfische, der Name ist tabu.


    Weil ihr den Namen vdr genommen habt, landet der user vdr in der Gruppe der admins, das soll er aber nicht. Jetzt zieht nämlich die letzte Zeile aus der /etc/sudoers:

    Code
    # Members of the admin group may gain root privileges
    %admin ALL=(ALL) ALL

    Das bedeutet, aller Admins dürfen alles, aber MIT Passwort!
    Das überschreibt automatisch diese Zeilen:

    Code
    # Added by yavdr-startup, don't remove
    vdr ALL=NOPASSWD: /sbin/initctl
    # Added by yavdr-startup, don't remove
    vdr ALL=NOPASSWD: /usr/bin/start-xbmc

    mit denen wir dem user vdr erlauben start-xbmc und initctl OHNE Passwort zu benutzen.

    Wir könnten jetzt versuchen, dass unsere Zeilen immer die letzten sind, aber wir wollen sowieso nicht, dass der normale user vdr heißt, weil das ein erhöhtes Sicherheitsrisiko wäre.


    Kommt jetzt nicht damit, dass wir irgendwie verhindern sollen, dass der User vdr genommen werden kann. Wegen dieser Sache patche ich den Ubuntu-Installer nicht.


    NEVER USE THE USERNAME VDR!


    Gerald


    HP Proliant MicroServer Gen8, Xeon E3-1230, 12 GB RAM, 3xWD red 2TB im RAID 5, 2xSundtek MediaTV Home DVB-C/T, L4M TWIN-C/T, Ubuntu Server 14.04.1, Plex Media Server
    Samsung UE55H6470

  • Zitat

    Ich gehe davon aus, dass ihr bei der Installation auf die Frage nach dem Usernamen den Namen "vdr" eingegeben habt, richtig?


    Ja, woher weisst Du das ?


    Steht sogar groß in meiner Anleitung : http://www.partyfotos.de/vdr/


    :wand :wand


    Danke Gerald, Du bist mein Held !!!


    Grüße Bernd



    PS.: Jetzt kommen bald die nächsten Fragen *hihi

    VDR : POV Atom 330-1 Mainboard, MSI TV@nywhere Satellite II, 2 GB RAM, natürlich mit yaVDR 0.61. Heimkino mit Onkyo AVR, Nubert-Surround-Boxen und JVC Beamer mit 4K und HDR. HD-VDR für Newbies: www.partyfotos.de/vdr

  • Zitat

    Original von Bernie7
    Steht sogar groß in meiner Anleitung : http://www.partyfotos.de/vdr/


    Du kannst doch nicht im Ernst annehmen, dass ich eine Anleitung lese ;).


    Gerald


    HP Proliant MicroServer Gen8, Xeon E3-1230, 12 GB RAM, 3xWD red 2TB im RAID 5, 2xSundtek MediaTV Home DVB-C/T, L4M TWIN-C/T, Ubuntu Server 14.04.1, Plex Media Server
    Samsung UE55H6470

  • Hello Gerald,


    I see that you probably found the reason for xbmc start fail.
    I'm not good in german, so I don't see the details, could you please briefly describe what was the problem?
    Is it in /etc/sudoers or in the fact that I have chosen username vdr for the user under which vdr runs?


    Cheers,
    David

  • Hi David,


    yes, you are right. The problem is our username vdr. That is forbidden.


    I'm just installing a new yaVDR, I am very fast at this.


    But I don't know another username now, I have no fantasy ;)


    Maybe myvdr ?


    Greetings Bernd

    VDR : POV Atom 330-1 Mainboard, MSI TV@nywhere Satellite II, 2 GB RAM, natürlich mit yaVDR 0.61. Heimkino mit Onkyo AVR, Nubert-Surround-Boxen und JVC Beamer mit 4K und HDR. HD-VDR für Newbies: www.partyfotos.de/vdr


  • The user you choose during installation goes always into the group admin.
    because of this, this line in /etc/sudoers:

    Code
    # Members of the admin group may gain root privileges
    %admin ALL=(ALL) ALL


    overwrites the preceding lines:

    Code
    # Added by yavdr-startup, don't remove
    vdr ALL=NOPASSWD: /sbin/initctl
    # Added by yavdr-startup, don't remove
    vdr ALL=NOPASSWD: /usr/bin/start-xbmc


    that means the user vdr is allowed to do everything but with password, but it should only get the permission to start-xbmc and initctl without password. The start of start-xbmc fails because it asks for a password that it doesn't get.


    The other sentences mean that we will do nothing to prevent this in future. I think there is no need to translate the unfriendly part of the post.


    Gerald


    HP Proliant MicroServer Gen8, Xeon E3-1230, 12 GB RAM, 3xWD red 2TB im RAID 5, 2xSundtek MediaTV Home DVB-C/T, L4M TWIN-C/T, Ubuntu Server 14.04.1, Plex Media Server
    Samsung UE55H6470

  • Zitat

    Original von Bernie7
    But I don't know another username now, I have no fantasy ;)


    Maybe myvdr ?


    You are strange, you are this user! The name is bernd.


    Gerald


    HP Proliant MicroServer Gen8, Xeon E3-1230, 12 GB RAM, 3xWD red 2TB im RAID 5, 2xSundtek MediaTV Home DVB-C/T, L4M TWIN-C/T, Ubuntu Server 14.04.1, Plex Media Server
    Samsung UE55H6470

    Einmal editiert, zuletzt von gda ()

  • Hmmm, stimmt !


    So, yaVDR ist neu installiert ...


    Funktioniert nun wie erwartet !


    Danke nochmal


    Grüße Bernd



    PS.: Morgen kann ich beim Nachbarn an die Sat-Antenne, dann werde ich sehen ob die fehlenden HD-Sender bei mir am VDR oder an der Antenne liegen.

    VDR : POV Atom 330-1 Mainboard, MSI TV@nywhere Satellite II, 2 GB RAM, natürlich mit yaVDR 0.61. Heimkino mit Onkyo AVR, Nubert-Surround-Boxen und JVC Beamer mit 4K und HDR. HD-VDR für Newbies: www.partyfotos.de/vdr

  • Hello Gerald,


    thanks for explanation in english and your help.
    Now I understand the issue, it has really no sense to make any changes to prevent this, I see that there's a note on yaVDR.org/installation that the "vdr" user is reserved (I don't remember whether it was there yesterday :) ).


    Once again, thanks for help, yaVDR is great piece of software.


    Best regards,
    David

  • Zitat

    Original von gda
    NEVER USE THE USERNAME VDR!
    Gerald


    hm wenn ich mich aber recht erinnere hat das bei yavdr 0.1 (sprich beim ersten iso) ohne probleme geklappt......


    gruss gerd

    vdr => p8b75-m lx / pentium g2020t / 8 GB Ram / zotac gt 630 / cine S2 V5.5 / 60 gb ocz ssd / 640 gb wd scorpio blue / display noritake 256x64-3900 / chenbro PC71023 gehaeuse / yavdr stable / softhddevice


    spielsystem => p8b75-m le / intel core i3 3220T / ubuntu lts 14.04 / 16 GB ram / zotac gt 630 / cine S2 V6.2 / yavdr stable pakete / softhddevice / pulseaudio+alsa


    spielwiese => Zotac Zbox ID45 / 120 GB mSATA / via Satip => Octopus Net / yavdr stable / softhddevice

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!