[virt-tools-list] Running virt-manager outputs "Gtk couldn't be initialized"

Nan Xiao xiaonan830818 at gmail.com
Mon Aug 17 05:26:51 UTC 2015


Hi all,

I am running the virt-manager on RHEL 7.0, but it always display "Gtk
couldn't be initialized".

The output likes this:
[root at dhb5 ~]# virt-manager --debug --no-fork
2015-08-17 01:22:15,711 (cliutils:75): virt-manager startup
2015-08-17 01:22:15,711 (virt-manager:201): Launched as:
['/usr/share/virt-manager/virt-manager', '--debug', '--no-fork']
2015-08-17 01:22:15,711 (virt-manager:202): virt-manager version: 0.10.0
2015-08-17 01:22:15,711 (virt-manager:203): virtManager import: <module
'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
2015-08-17 01:22:15,784 (virt-manager:246): Traceback (most recent call
last):
  File "/usr/share/virt-manager/virt-manager", line 233, in main
    Gtk.Window()
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 416,
in __init__
    raise RuntimeError("Gtk couldn't be initialized")
RuntimeError: Gtk couldn't be initialized

Gtk couldn't be initialized

I try to google, but can't find the answer. I also try the newest
virt-manager (v1.2.1), but the issue still exists.

Could anyone can give some clues about this issue? Thanks very much in
advance!

Best Regards
Nan Xiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20150817/e475e2a6/attachment.htm>


More information about the virt-tools-list mailing list