Linux (Ubuntu): vlc root permission

Snap packages are in containers which prevent them from "seeing" outside of those containers unless you give them permission.

For VLC, I'd recommend uninstalling the Snap package, and using the vanilla APT version:

sudo snap remove vlc
sudo apt update && sudo apt install vlc

You will be able to run VLC as root by modifying the VLC binary, located in /usr/bin

First, you'll need a hex-editor, like Bless :

sudo apt-get install bless

Then, you'll open the VLC binary with the hex-editor :

sudo bless /usr/bin/vlc

Search and change the geteuid string by getppid, save and exit.

You can now launch VLC as root.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章