[virt-tools-list] virt-manager can't open display

Santanu Das santanu at hep.phy.cam.ac.uk
Mon Nov 8 16:09:43 UTC 2010

Hi there,

Just installed KVM on my server without any xwindows system. Then ssh 
onto the server (with X11Forward on) and found virt-manager can't open 
display when I issue the command:

    santanu at pcge:~$ ssh -X root at vmw01
    root at vmw01's password:
    Last login: Mon Nov  8 15:51:39 2010 from pcge
    [root at vmw01 ~]# virt-manager
    Traceback (most recent call last):
       File "/usr/share/virt-manager/virt-manager.py", line 376, in ?
         _show_startup_error(str(run_e), "".join(traceback.format_exc()))
       File "/usr/share/virt-manager/virt-manager.py", line 52, in _show_startup_error
         import gtk
       File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 76, in ?
       File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 64, in _init
    RuntimeError: could not open display


Is it something I really expect to see? Why can't I import gtk (pygtk) 
module? Do I really need to run xwindows system on the server?
Any help much appreciated. Thanks in advance!!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20101108/3e2e3cf0/attachment.htm>

More information about the virt-tools-list mailing list