gnome-mplayer无法启动
发表于 : 2017-08-05 16:34
使用的系统是Arch
驱动是安装 xf86-video-vesa
点图标无法正常运行,在shell下打开出现如下:
# gnome-mplayer
No protocol specified
** (gnome-mplayer:7122): WARNING **: Could not open X display
GMLIB-Message: after init: position=0.000 length=0.000 start_time=0.000 run_time=0.000 volume=0.00 player=dead media=unknown uri=
GMLIB-Message: Failed to open connection to session message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GMLIB-Message: Failed to open connection to session message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(gnome-mplayer:7122): Gtk-WARNING **: GtkSocket: only works under X11
(gnome-mplayer:7122): Gdk-WARNING **: gdkwindow-x11.c:5573 drawable is not a native X11 window
Segmentation fault (core dumped)
在虚拟机中重新安装一次,相版本的ARCH 再安装gnome-mplayer却能正常启动。
在网络上找了很久有些方案是执行:xhost +
而我的执行结果却是这样:
# xhost +
No protocol specified
xhost: unable to open display ":0"
有没有什么解决方案呢,只有在物理主机中才出现 这样的错误,而在虚拟机中是正常的。
驱动是安装 xf86-video-vesa
点图标无法正常运行,在shell下打开出现如下:
# gnome-mplayer
No protocol specified
** (gnome-mplayer:7122): WARNING **: Could not open X display
GMLIB-Message: after init: position=0.000 length=0.000 start_time=0.000 run_time=0.000 volume=0.00 player=dead media=unknown uri=
GMLIB-Message: Failed to open connection to session message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GMLIB-Message: Failed to open connection to session message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(gnome-mplayer:7122): Gtk-WARNING **: GtkSocket: only works under X11
(gnome-mplayer:7122): Gdk-WARNING **: gdkwindow-x11.c:5573 drawable is not a native X11 window
Segmentation fault (core dumped)
在虚拟机中重新安装一次,相版本的ARCH 再安装gnome-mplayer却能正常启动。
在网络上找了很久有些方案是执行:xhost +
而我的执行结果却是这样:
# xhost +
No protocol specified
xhost: unable to open display ":0"
有没有什么解决方案呢,只有在物理主机中才出现 这样的错误,而在虚拟机中是正常的。