X11 connection rejected because of wrong authentication.
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 383, in <module>
main()
File "/usr/share/virt-manager/virt-manager.py", line 286, in main
raise gtk_error
RuntimeError: could not open display
安装 yum groupinstall Virtualization "Virtualization Client"
安装 yum install libvirt
确认一下x11是否开启了转发的功能!
#X11Forwarding no
X11Forwarding yes
xorg-x11-xauth-1.0.2-7.1.el6.x86_64
xorg-x11-xinit-1.0.9-14.el6.x86_64
xorg-x11-server-utils-7.5-13.el6.x86_64
xorg-x11-font-utils-7.2-11.el6.x86_64
xorg-x11-drv-ati-firmware-7.1.0-3.el6.noarch
12345
localhost:10.0
再次运行,就可以打开了
转载于:https://blog.51cto.com/aishangwei/2124491