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
    Автор Humberto (14.12.2025)
    Great blog here! Also your site loads up very fast...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Nancy (14.12.2025)
    Thank you for every other informative blog.
    Where e...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Thelma (13.12.2025)
    Currently it seems like BlogEngine is the top blog...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Gale (13.12.2025)
    Awesome! Its really remarkable paragraph, I have g...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Teresita (13.12.2025)
    My partner and I stumbled over here by a different...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Mackenzie (13.12.2025)
    Hi there very cool website!! Man .. Beautiful ..
    Wo...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Shenna (13.12.2025)
    Helpful information. Lucky me I discovered your si...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Normand (12.12.2025)
    Really no matter if someone doesn't understand the...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Andres (12.12.2025)
    If you desire to increase your knowledge just keep...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Heriberto (12.12.2025)
    Heya i'm for the first time here. I found this boa...
     Популярные
       
    Календарь
    « Декабрь »
    Пн Вт Ср Чт Пт Сб Вс
    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
    Облако тегов
    Яндекс.Метрика