virt-manager can't open display

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Re Santanu's post:

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 pcge:~$ ssh -X root vmw01
root vmw01's password: 
Last login: Mon Nov  8 15:51:39 2010 from pcge
[root 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 ?
    _init()
  File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 64, in _init
    _gtk.init_check()
RuntimeError: could not open display

I'm a bit rusty on my X, despite setting my DISPLAY variable I got the same error, I think my display is firewalled from the server in question.

However, I'm using putty / ssh to acces sthe server, and if I turn on X11 forwarding, my env variable is auto-set to a correct value, and I get the X output on my PC's xterm display.

- Ian

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux