kali linux陆续装了几个视频播放器,都比较不够友好,无奈安装vlc,vlc安装方法就是 apt install vlc这个没什么好说的,多数源都集成这个著名软件了,kali linux打开闪退,终端下运行出现:
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-wrapper (make sure it is Set-UID root andcannot be run by non-trusted users first).
原因是新版的VLC 不能以root用户运行 ,参https://blog.csdn.net/weixin_42305753/article/details/105504221文章中方法:
1、安装Bless,这是个好用地类似金山游侠的反编译软件,优点是查询更改等异常方便。
apt install bless
2、打开bless 点查找并替换,搜索geteuid替换成getppid成功解决
bless /usr/bin/vlc
VLC,值得拥有!