vlc视频播放器安装的小问题

从vlc官网上查询,因为操作系统是centos7,所以使用如下指令:

https://www.videolan.org/

    $> su -
    #> yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    #> yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
    #> yum install vlc
    #> yum install vlc-core (for minimal headless/server install)
    #> yum install python-vlc npapi-vlc (optionals)

安装完成后怎么都启动不了,查找了半天,又是查日志又是找资料,最后查看版本发现了线索:不能用root权限打开vlc!

[root@zsx0728 Desktop]# vlc -v
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 and
cannot be run by non-trusted users first).

官网就不能写清楚嘛,害我费了半天劲。小坑,大家引以为戒。

猜你喜欢

转载自blog.csdn.net/zsx0728/article/details/81280032