# 安装
apt install vlc -y
# 解决VLC不能在root用户上运行
# VLC is not supposed to be run as root. Sorry.
# https://www.linuxintro.org/wiki/Run_vlc_as_root
cp /usr/bin/vlc /usr/bin/vlc-backup
needle=$(objdump -d /usr/bin/vlc | grep euid | tail -1 | awk '{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6;}')
sed -ir "s/$needle/\xb8\x01\x00\x00\x00/" /usr/bin/vlc
【VLC】linux安装解决VLC不能在root用户上运行
最新推荐文章于 2024-08-14 21:58:44 发布