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 5f9da0e041
commit a8b46bcd8b

View file

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