欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

程序员文章站 2022-07-14 19:48:04
...

从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!

[aaa@qq.com 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).

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

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

相关标签: vlc