I''m learning xen on a machine with fc6.i386.
The CPU can do pae and vmx.
I have some problems:
1. virt-manager doesn''t start when I''m logged in as
    root:
# virt-manager
Traceback (most recent call last):
   File "/usr/share/virt-manager/virt-manager.py", line 56, in ?
     import gtk
ImportError: No module named gtk
It works if I start /usr/bin/virt-manager instead of /usr/sbin/virt-manager.
2. xm doesn''t start:
# xm
Traceback (most recent call last):
   File "/usr/sbin/xm", line 8, in ?
     from xen.xm import main
ImportError: No module named xen.xm
3. If I create a guest and start an installation
(I''ve tried FC6 and W2K), the guest doesn''t come
up again after the "reboot".
For W2K I can fix this problem by creating a new
machine on the same partition and boot from the w2k
CD. When it says "press any key to boot from CD",
I don''t. Installing&updating W2K requires some
reboots, this leaves quite some ghost virtual
machines :-)
3. The two mouse cursors in the virtual console
don''t follow each other, this is quite annoying.
# rpm -qa|fgrep xen
kernel-xen-2.6.18-1.2869.fc6
xen-devel-3.0.3-3.fc6
xen-libs-3.0.3-3.fc6
xen-3.0.3-3.fc6
# rpm -qa|fgrep virt
python-virtinst-0.98.0-1.fc6
virt-manager-0.2.6-3.fc6
libvirt-0.1.10-1.fc6
libvirt-python-0.1.10-1.fc6
Mogens
-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@crc.dk Homepage: http://www.crc.dk
Mogens Kjaer wrote:> I''m learning xen on a machine with fc6.i386. > > The CPU can do pae and vmx. > > I have some problems: > > 1. virt-manager doesn''t start when I''m logged in as > root: > > # virt-manager > Traceback (most recent call last): > File "/usr/share/virt-manager/virt-manager.py", line 56, in ? > import gtk > ImportError: No module named gtk > > It works if I start /usr/bin/virt-manager instead of > /usr/sbin/virt-manager. > > 2. xm doesn''t start: > > # xm > Traceback (most recent call last): > File "/usr/sbin/xm", line 8, in ? > from xen.xm import main > ImportError: No module named xen.xm > > 3. If I create a guest and start an installation > (I''ve tried FC6 and W2K), the guest doesn''t come > up again after the "reboot". > > For W2K I can fix this problem by creating a new > machine on the same partition and boot from the w2k > CD. When it says "press any key to boot from CD", > I don''t. Installing&updating W2K requires some > reboots, this leaves quite some ghost virtual > machines :-)As of now virt-manager doesn''t have the ability to manage inactive domains. You need to boot the guest from the backend using "xm create <name>"> > 3. The two mouse cursors in the virtual console > don''t follow each other, this is quite annoying. > > # rpm -qa|fgrep xen > kernel-xen-2.6.18-1.2869.fc6 > xen-devel-3.0.3-3.fc6 > xen-libs-3.0.3-3.fc6 > xen-3.0.3-3.fc6 > > # rpm -qa|fgrep virt > python-virtinst-0.98.0-1.fc6 > virt-manager-0.2.6-3.fc6 > libvirt-0.1.10-1.fc6 > libvirt-python-0.1.10-1.fc6 > > Mogens >
Sadique Puthen wrote:> Mogens Kjaer wrote:...>> 2. xm doesn''t start: >> >> # xm >> Traceback (most recent call last): >> File "/usr/sbin/xm", line 8, in ? >> from xen.xm import main >> ImportError: No module named xen.xm...> As of now virt-manager doesn''t have the ability to manage inactive > domains. You need to boot the guest from the backend using "xm create > <name>"Why can''t I run xm? Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@crc.dk Homepage: http://www.crc.dk
Mogens Kjaer wrote: ...> Why can''t I run xm?It was a stupid mistake by me; I had a python in /usr/local/bin as well. Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@crc.dk Homepage: http://www.crc.dk