Page 1 of 6 123 ... LastLast
Results 1 to 10 of 59

Thread: Get VLC to work under root without compiling

Hybrid View

  1. #1
    Senior Member cgelici's Avatar
    Join Date
    Feb 2010
    Location
    /root
    Posts
    121

    Default Get VLC to work under root without compiling

    When downloading VLC media player in BT5, it won't start. This is because you cannot run it under root. This is annoying since BT5 is standard root. Anyway, I have found a way to get it running without having to install it from source with the enable run as root as suffix.

    Credit: Net_Spy

    First install from vlc from the repo's.

    Use a hex editor to edit /usr/bin/vlc
    Look for
    Code:
    geteuid._libc_start_main
    and change it into

    Code:
    getppid._libc_start_main
    Save and you are done. It works perfectly on my BT5 G32.
    Last edited by cgelici; 08-26-2011 at 11:11 AM. Reason: UPDATE

  2. #2
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    6

    Default Re: Get VLC to work under root without compiling

    This didn't work for me for some reason.

  3. #3
    Senior Member cgelici's Avatar
    Join Date
    Feb 2010
    Location
    /root
    Posts
    121

    Default Re: Get VLC to work under root without compiling

    What are you using ? 32b or 64b ? Gnome or KDE ?

    I hope it's clear that you have to install vlc from repo's first ?
    Last edited by cgelici; 05-12-2011 at 03:21 PM.

  4. #4
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    6

    Default Re: Get VLC to work under root without compiling

    I am using 32b KDE. And yes, I did download it from the repo first. That was like.. a question you would ask a windows user. Well, except the fact winblows doesn't have a repository.

  5. #5
    Senior Member
    Join Date
    May 2010
    Posts
    198

    Default Re: Get VLC to work under root without compiling

    Running VLC as root is not a good idea (especially if you have it installed to HD)

    That being said I couldn't get vlc-wrapper to work

    So I can confirm this works

    Or use mplayer and xine
    Last edited by Scamentology; 05-17-2011 at 08:09 AM.
    "Never do anything against conscience -- even if the state demands it."
    -- Albert Einstein

  6. #6
    Just burned his ISO
    Join Date
    Jan 2011
    Location
    At home.
    Posts
    20

    Default Re: Get VLC to work under root without compiling

    Ok after using GHex on it, it worked like a charm Thank you very much
    Last edited by Azkrath; 05-15-2011 at 11:28 AM.

  7. #7
    Senior Member
    Join Date
    Apr 2006
    Posts
    154

    Default Re: Get VLC to work under root without compiling

    worked for me thanks!

  8. #8
    Just burned his ISO
    Join Date
    May 2011
    Posts
    1

    Default Re: Get VLC to work under root without compiling

    Vlc worked for me 2,..thanks!!!!!! then how solutions for chromium????????

  9. #9
    Just burned his ISO
    Join Date
    May 2011
    Posts
    9

    Default Re: Get VLC to work under root without compiling

    Thank you very much cgelici for the hex mod to VLC and to Azkrath for the tip about GHex. Everything worked fine for BT5 Gnome 32-bit version however the search string to modify in /usr/bin/vlc was "geteuid._libc_start_main" not "geteuid._libc_start_man" as stated in cgelici's instructions. Just do a search for "geteuid" (without the quotes) as it is the only instance and follow the mod. This may help some people who are having problems.

    Thanks again for the assistance as I was starting to pull hair out...and I really can't afford that. Have an OUTSTANDING day!

  10. #10
    Just burned his ISO
    Join Date
    May 2011
    Posts
    5

    Default Re: Get VLC to work under root without compiling

    Thank you very much! Worked awesomely.

    Cheers

Page 1 of 6 123 ... LastLast

Similar Threads

  1. login: root password: toor won't work on clean install
    By cybersmurf in forum Beginners Forum
    Replies: 2
    Last Post: 02-08-2010, 03:04 PM
  2. Compiling problems
    By DocAngry in forum OLD Newbie Area
    Replies: 2
    Last Post: 11-05-2009, 10:57 PM
  3. 'startx' doesn't work for others than root
    By The MoD in forum OLD BT3final Support
    Replies: 9
    Last Post: 03-02-2009, 08:41 PM
  4. su root doesn't work
    By HaVaNa7 in forum OLD BackTrack 3 Final
    Replies: 6
    Last Post: 12-30-2008, 05:31 AM
  5. root doen't work
    By sdvferreira in forum OLD Newbie Area
    Replies: 5
    Last Post: 06-15-2007, 03:16 PM

Posting Permissions

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