VLC is not supposed to be run as root. Sorry.

15 февраля 2017 2385 admin

Имеем ошибку:
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)

Происходит это потому что под root'ом нельзя запускать сетевые программы, использующие порты <1024.

И вообще, не стоит запускать программы от root! Это небезопасно.

А если нельзя..но очень сильно хочется, есть такое решение:

NetBSD:
sed -i 's/geteuid/getppid/' /usr/pkg/bin/vlc

Linux:
sed -i 's/geteuid/getppid/' /usr/bin/vlc

  • 3

Другие новости по теме:

Другие новости по теме:
    Написал: rusiq
      10.08.2018 - 14:58 | Комментарий: 1
    Добавление комментария
    [Цитировать]

    Добавление комментария

    Имя:
    Пароль:
    Email:
    Код:
    captcha
    Введите код:

    Последнии комментарии
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Willie (29.12.2025)
    Nice post. I was checking constantly this blog and...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Veda (28.12.2025)
    WOW just what I was searching for. Came here by se...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Wilburn (28.12.2025)
    great points altogether, you simply received a emb...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Vicente (27.12.2025)
    Spot on with this write-up, I actually believe tha...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Harley (27.12.2025)
    Have you ever considered creating an e-book or gue...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Collette (27.12.2025)
    You're so interesting! I don't believe I've truly ...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Tia (25.12.2025)
    Everyone loves what you guys are up too. This type...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Helena (25.12.2025)
    Good day! This post could not be written any bette...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Crystle (25.12.2025)
    Hello it's me, I am also visiting this web page re...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Mathias (25.12.2025)
    Usually I do not learn article on blogs, but I wou...
     Популярные
       
    Календарь
    « Декабрь »
    Пн Вт Ср Чт Пт Сб Вс
    1 2 3 4 5 6 7
    8 9 10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    29 30 31
    Облако тегов
    Яндекс.Метрика