On 02/27/2012 05:15 PM, Dale Amon wrote: > On Mon, Feb 27, 2012 at 11:14:41AM -0700, Eric Blake wrote: >> On 02/25/2012 07:42 PM, Dale Amon wrote: >>> I'm in the midst of an attempt to convert an >>> old and rather large SuSE server (5 disks) into >>> a virsh loadable VM. Has anyone else dealt with >>> the issues of systems of this sort? I'm at the >>> moment trying to hand construct a machine xml >>> file for it. I managed to create one which would >>> load but not start. >> >> Personally, rather than trying to hand-create XML, I've found it handy >> to use virt-manager's ability to create a new machine XML description >> around existing disk images. That is, use virt-manager to create a new >> VM, but instead of telling it to install the new machine from scratch, >> you instead tell it to attach to the pre-existing storage of the >> eventual guest, and the OS that is installed in that storage, and it >> generates pretty good defaults for the XML that will then boot that guest. > > Hmmm... this is a very remote (from me) virtual host server. > I can get a remote xterm but it throws a fit when I try to > run virt-manager as root over ssh. > > ERROR:root:Unable to initialize GTK: could not open display > > Suggestions? Run virt-manager locally, and tell the local virt-manager to connect to the remote qemu+ssh://root@remote/system, rather than trying to run a remote X virt-manager. (Same goes for things like 'virsh -c qemu+ssh://remote/system' rather than ssh to remote before doing 'virsh -c qemu:///system') -- Eric Blake eblake@xxxxxxxxxx +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature