Hack to allow VLC to run as root.

Former-commit-id: a55a45cb36301ca49c385f55b66aac280da52851
Former-commit-id: 9cdf6eb6f92f06bc145aaad8351c9f519047683c
This commit is contained in:
Kaj Forney 2019-01-24 14:33:28 -07:00
parent 5225bda05f
commit 75033569c9

View file

@ -22,6 +22,9 @@ systemctl enable cockpit.socket
systemctl enable xrdp
systemctl disable firewalld
#Allow VLC to run as root
sed -i 's/geteuid/getppid/' /usr/bin/vlc
#Distro-specific stuff
DISTRO=$(cat /etc/lsb-release | grep DISTRIB_ID | cut -c 12-30)