最近从 ubuntu 12.04 lts 升级到 ubuntu 14.04 lts。
现在 vlc 无法启动。
在终端中发生以下输出 -
$ vlc
VLC media player 2.1.6 Rincewind (revision 2.1.4+git20141006+r54582+19+11~ubuntu14.04.1)
[0x8c1c910] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x8ca4a00] skins2 interface error: no suitable dialogs provider found (hint: compile the qt4 plugin, and make sure it is loaded properly)
[0x8ca4a00] skins2 interface error: cannot instantiate qt4 dialogs provider
[0x8ca4a00] [cli] lua interface: Listening on host "*console".
VLC media player 2.1.6 Rincewind
Command Line Interface initialized. Type `help' for help.
>
如何修复它?
命令输出 -
$ vlc -I skins2
VLC media player 2.1.6 Rincewind (revision 2.1.4+git20141006+r54582+19+11~ubuntu14.04.1)
[0x9ba39c0] skins2 interface error: no suitable dialogs provider found (hint: compile the qt4 plugin, and make sure it is loaded properly)
[0x9ba39c0] skins2 interface error: cannot instantiate qt4 dialogs provider
[0x9ba39c0] main interface error: no suitable interface module
[0x9b1b910] main libvlc error: interface "default" initialization failed
和
$ vlc -I qt4
VLC media player 2.1.6 Rincewind (revision 2.1.4+git20141006+r54582+19+11~ubuntu14.04.1)
[0x8bd37e0] main interface error: no suitable interface module
[0x8b4b910] main libvlc error: interface "default" initialization failed
和
$ vlc --ignore-config
VLC media player 2.1.6 Rincewind (revision 2.1.4+git20141006+r54582+19+11~ubuntu14.04.1)
[0x9822910] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x98ab930] skins2 interface error: no suitable dialogs provider found (hint: compile the qt4 plugin, and make sure it is loaded properly)
[0x98ab930] skins2 interface error: cannot instantiate qt4 dialogs provider
[0x98ab930] [cli] lua interface: Listening on host "*console".
VLC media player 2.1.6 Rincewind
Command Line Interface initialized. Type `help' for help.
>
和
$ vlc --reset-config
VLC media player 2.1.6 Rincewind (revision 2.1.4+git20141006+r54582+19+11~ubuntu14.04.1)
[0x9b92910] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x9c1bab0] skins2 interface error: no suitable dialogs provider found (hint: compile the qt4 plugin, and make sure it is loaded properly)
[0x9c1bab0] skins2 interface error: cannot instantiate qt4 dialogs provider
[0x9c1bab0] [cli] lua interface: Listening on host "*console".
VLC media player 2.1.6 Rincewind
Command Line Interface initialized. Type `help' for help.
>
答案1
尝试清除配置文件并再次安装 -
sudo apt-get purge vlc*
sudo apt-get clean
sudo apt-get install vlc
如果 VLC 在 之后开始工作vlc --ignore-config
,则配置文件已损坏。
要重置它们 -vlc --reset-config