Synology-Forum.nl

Tweaks / Addons A.K.A. The Underground => Media Streaming mods => Topic gestart door: Eddy1980 op 08 augustus 2011, 22:05:13

Titel: Hoe VLC starten in Synology
Bericht door: Eddy1980 op 08 augustus 2011, 22:05:13
Beste Forumlezers,

Het is me eindelijk gelukt om VLC te installeren op mijn Synology.
Echter heb ik niet zoveel kaas gegeten van Telnet etc.

Nu ben ik echter ingelogd in de root zie hieronder. Echter als ik de command vlc -I http --extraintf rc geeft krijg ik de melding dat dit niet mogelijk is in de root. Zie hieronder.

MacBookAir:~ eddyvermeulen$ ssh root@192.168.0.14 (http://mailto:root@192.168.0.14)'s password:

BusyBox v1.16.1 (2011-06-29 11:49:19 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

DiskStation> vlc -I http --extraintf rc
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root first and
cannot be run by non-trusted users first).
DiskStation
>




Als ik wil inloggen met een andere gebruikersnaam bijv Eddy en daarna mijn wachtwoord invoer dan krijg ik de melding dat de toegang is geweigerd en de connectie is afgesloten.

MacBookAir:~ eddyvermeulen$ ssh Eddy@192.168.0.14 (http://mailto:Eddy@192.168.0.14)'s password:
Permission denied, please try again.
Connection to 192.168.0.14 closed.
MacBookAir:~ eddyvermeulen$



Dus op welke manier kan ik nu VLC starten. Als iemand me kan voorzien van de juiste codes dan ben ik u daar zeer dankbaar voor.

Bij gebruik van deze code vlc -I http --extraintf rc& krijg ik dezelfde reactie van telnet in de root menu.


Gr,

Eddy
Titel: Re: Hoe VLC starten in Synology
Bericht door: Holy op 09 augustus 2011, 10:56:55
Hallo Eddie1980,

En als je gebruiker Eddy ook admin rechten geeft? Het is maar een idee.

Even gegoogled en op het volgende forum http://www.linuxquestions.org/questions/linux-general-1/run-vlc-using-root-account-703319/ onderstaande tekst gevonden, wellicht kun je er iets mee. Begrijp wel dat je hiermee een stuk veiligheid teniet doet.

Citaat
-_- come to the dark side, run as root, you will find that you don't have to type sudo in front of anything you type, there will be no locks on the icons on your desktop, and you will notice that you have grown a full beard.

putting the rest of you at risk is a risk I am willing to take

---------------------------------
also:

before doing these steps you may have to purge your existing vlc installation (apt-get purge vlc)

wget -c http://download.videolan.org/pub/vid...0.9.9a.tar.bz2 (http://download.videolan.org/pub/vid...0.9.9a.tar.bz2)
tar -xvf vlc-0.9.9a.tar.bz2
cd vlc-0.9.9a
apt-get build-dep vlc
./configure --enable-run-as-root
make
make install
------------------------------
start it from command line, (simply type vlc or /usr/local/bin/vlc) it may give you an error about libvlc.so, if it does run:

apt-get install libvlc-dev libvlc2

and just like magic, vlc is workings in root. compiling takes forever though -_- ...

Uiteraard de tekst aanpassen met jouw eigen gewenste VLC versie.