virt-manager can't open the display

Posted by MacUsers on Server Fault See other posts from Server Fault or by MacUsers
Published on 2012-03-30T00:51:04Z Indexed on 2012/03/31 17:33 UTC
Read the original article Hit count: 1685

Filed under:
|

My virt-manager was working just fine and all of a sudden stopped working, throwing in error: RuntimeError: could not open display

root@rakcal ~]# echo $DISPLAY
localhost:10.0

[root@rakcal ~]# virt-manager 
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

Has anyone seen this before? the same thing happen to "virt-viewer" as well:

[root@rakcal ~]# virt-viewer winxp1
Cannot open display: 
Run 'virt-viewer --help' to see a full list of available command line options

Does anyone know what might be the problem or if I'm missing anything? Reinstalling "virt-manager" didn't bring any good. Any help would be appreciated. Cheers!!

© Server Fault or respective owner

Related posts about kvm-virtualization

Related posts about libvirt