Virt-manager startup Problems

Source: Internet
Author: User

Run this command to report the following error:

I am using the xshell tool to link the server:

# virt-manager

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: cocould not open display

 

Solution:

Install Yum groupinstall virtualization "virtualization client"

Install Yum install libvirt

Check whether the forwarding function is enabled for X11!

# grep X11Forwarding –color /etc/ssh/sshd_config#X11Forwarding noX11Forwarding yes#    X11Forwarding no

Check whether these packages are installed!

# rpm -qa | grep xorg-x11xorg-x11-xauth-1.0.2-7.1.el6.x86_64xorg-x11-xinit-1.0.9-14.el6.x86_64xorg-x11-server-utils-7.5-13.el6.x86_64xorg-x11-font-utils-7.2-11.el6.x86_64xorg-x11-drv-ati-firmware-7.1.0-3.el6.noarch

Check whether $ display has any parameters. If not, manually add one!

# Echo $ display if the returned result is empty, it indicates that the display # display = $ yourserver_ip write Server IP address is not set! # Export display # echo $ displaylocalhost: 10.0

Run again. The result is as follows!

# virt-manager

Xlib: extension "randroid" missing on display "localhost: 10.0 ".


This article is from the "Siberian wolf" blog, please be sure to keep this source http://kernal.blog.51cto.com/8136890/1530223

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.