Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: How to run vlc player as root?

  1. #1
    Join Date
    Jun 2009
    Location
    Pune city, India
    Posts
    127

    Default How to run vlc player as root?

    Hello,

    When I run vlc using root account I get following error in Konsole.
    in GUI mode it anyway fails to run. I havent tried running vlc in normal user mode but I use root account always.
    Error >
    opensuse11.2:~ # vlc
    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 and
    cannot be run by non-trusted users first).
    opensuse11.2:~ #
    I think I have installed vlc using yast2 & vlc's own repo from non oss dir but not from packmans repo.

    Regards,
    Amey.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    19,611
    Blog Entries
    1

    Default Re: How to run vlc player as root?

    Mentioned many times around here: The root account is meant for system administration purposes only, and carries with it dangers to security (as well as possible self-inflicted unintended consequences). You should never log in to the DE as root, and vlc should not need to be executed as root either. What is your justification for this?

    http://www.control-escape.com/linux/lx-postinstall.html

    Similar discussion here:

    http://www.linuxquestions.org/questi...ccount-703319/

    and here:

    http://forum.videolan.org/viewtopic.php?f=13&t=48356

  3. #3
    Join Date
    Jun 2009
    Location
    Pune city, India
    Posts
    127

    Default Re: How to run vlc player as root?

    Quote Originally Posted by deano_ferrari View Post
    Mentioned many times around here: The root account is meant for system administration purposes only, and
    Agreed but using user account I many times have to change file permissions and blah blah. It keeps asking root credentials which is annoying. I am using root because it's my home laptop. Nothing to worry if something goes wrong. In Kaffeine plaayer, it plays all the movies already but vlc doesnt.

    Regards,
    Amey.

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,721
    Blog Entries
    20

    Default Re: How to run vlc player as root?

    Please post result of

    Code:
    zypper lr -d
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    19,611
    Blog Entries
    1

    Default Re: How to run vlc player as root?

    VLC Media Player How To:

    VLC media player for openSUSE

    It shouldn't be necessary to alter any file permissions, as far as the application goes, but maybe you meant some source file permissions? Anyway, if you have problems with this, I would post the details here, rather than resorting to root execution.

  6. #6
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: How to run vlc player as root?

    Quote Originally Posted by sco1984 View Post
    Agreed but using user account I many times have to change file permissions and blah blah. It keeps asking root credentials which is annoying. I am using root because it's my home laptop. Nothing to worry if something goes wrong. In Kaffeine plaayer, it plays all the movies already but vlc doesnt.

    Regards,
    Amey.
    what permissions it keeps asking? VLC shouldn't ask for permissions stuff if the files you're trying to play are accessible as normal user - ie, normal users are allowed to read them

    And this is absurd. do not try to adopt your way of doing stuff for all that requires root access by running under root by default all the time. If you ignore that advice, you might better go back to Windows

  7. #7
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: How to run vlc player as root?

    Quote Originally Posted by sco1984 View Post
    Agreed but using user account I many times have to change file permissions and blah blah. It keeps asking root credentials which is annoying. I am using root because it's my home laptop. Nothing to worry if something goes wrong.
    Amey, as many as 20-30% of all PCs are bots largely due to this line of reasoning. It doesn't just affect you, these computers are used for spam and other attacks, affecting all users. No firewall or security software will protect people from your bad decisions.

  8. #8
    palladium NNTP User

    Default Re: How to run vlc player as root?

    sco1984 wrote:
    > I am using root because it's my home laptop. Nothing to worry
    > if something goes wrong.


    your profile <http://forums.opensuse.org/member.php?userid=28970> says
    that you are a Technical consultant..

    i do hope you will not recommend to anyone to run any Linux/BSD/*nix
    distribution as root, ever!

    and, especially never do so while the machine is connected to the
    internet.....or _any_ network.. please!

    further: i would suggest you never tell anyone that you run openSUSE
    on your machine---because, i'm sure yours *will* be hacked, cracked,
    rooted and botted, eventually..

    and that would only serve to give openSUSE an undeserved bad name due
    only to your unwillingness to follow safe computing practices..

    --
    palladium

  9. #9

    Default How to run vlc player as root?

    1. To the original question:

    You need to download vlc(whatever).gz package, the source package from videolan.org
    After you extract the files you will have to issue the command ./configure --enable-run-as-root
    make
    make install

    That will allow you to run it as root.

    2. To others - we are all sensible people who operate our computers in a way we like to. If we wanted your directions to operate our computer, we will say so. So stop filling up space by telling us not to operate our computers as 'root'.

    3. If Linux is so insecure that running it as 'root' when connected to the net will ultimately allow it to be taken over, I will as well go back to Windows. Or maybe you are 'window' guys, because none of you answered the question and filled up the page with replies.

  10. #10
    palladium NNTP User

    Default Re: How to run vlc player as root?

    navneetgaur wrote:

    > 3. If Linux is so insecure that running it as 'root' when connected to
    > the net will ultimately allow it to be taken over, I will as well go
    > back to Windows. Or maybe you are 'window' guys, because none of you
    > answered the question and filled up the page with replies.



    you are misinforming the unlearned here...because yes running Linux as
    root is just about exactly one of the VERY good ways to make it as
    insecure as Redmonds...because SO many of the locked-in herd run full
    time as administrator--pure DUMB..

    Don't do it in Redmond, and don't do it in *nix!

    now, stick to something you know about, ok?

    --
    palladium

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •