赞
踩
按照如下方式安装VLC:
安装vlc方法
sudo apt-get update
sudo apt-get install vlc
sudo apt-get build-dep vlc
安装后无法打开VLC,报如下错误:
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_back-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).
使用以下三个命令:
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
就可以播放了。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。