<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi there,<br>
<br>
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:<br>
<br>
<blockquote>
  <pre>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

  </pre>
</blockquote>
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?<br>
Any help much appreciated. Thanks in advance!!<br>
<br>
Cheers,<br>
Santanu<br>
</body>
</html>