[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] RE: VNC to HVM not starting
Hello, Jia Yi, I think the problem is the xm command is intended ttach to text based console ient - in Your configuration You have to start an independent vnc client to access Your running DomU - You must connect to the specified IP address and port. This can be done from the same computer if You have installed the vnc client there, or from a different machine if not. If You start Your DomU from X-windows, specify sdl=1 to get new window with the graphical console immediatelly after the start of the instance - at least so worked it for me under Ubuntu... with best regards Archie -----Original Message----- From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Hu Jia Yi Sent: Friday, September 21, 2007 4:21 AM To: xen-users@xxxxxxxxxxxxxxxxxxx Subject: [Xen-users] RE: VNC to HVM not starting I cannot open VNC yet from xm command I can see the HVM domain is running. But when I run xm console xp, the command doesn't return to the console terminal unless I shutdown the HVM domain(winxp) in virt manager. Please note the HVM domain winxp is created in virt manager. Uuid is got from its data. The following are my config file and the xm list -ll result. ======================================================= The following is winxp xm config file ======================================================= # -*- mode: python; -*- #======================================================================= ===== # Python configuration setup for 'xm create'. # This script sets the parameters used when a domain is created using 'xm create'. # You use a separate script for each domain you want to create, or # you can set the parameters for the domain on the xm command line. #======================================================================= ===== import os, re arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib' kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 512 # shadow_memory = 8 name = "winxp" uuid = "9bf83d7c13e1848615a36094fcc3ed22" vcpus=2 #pae=1 #acpi=1 #apic=1 #cpus = "" # leave to Xen to pick #cpus = "0" # all vcpus run on CPU0 #cpus = "0-3,5,^1" # run on cpus 0,2,3,5 vif = [ 'type=ioemu, mac=00:16:3e:79:5c:8b, bridge=eth0, model=ne2k_pci' ] disk=['phy:/dev/sda3, ioemu:hda, w'] #on_poweroff = 'destroy' #on_reboot = 'restart' #on_crash = 'restart' device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' boot="cda" #snapshot=1 #sdl=0 vnc=1 #I get the IP by ifconfig in dom0 eth0 vnclisten="10.8.114.40" vncdisplay=1 vncunused=0 vncconsole=1 vncpasswd='123456' #nographic=0 stdvga=0 serial='pty' #monitor=1 #soundhw='sb16' #localtime=1 #rtc_timeoffset=3600 #full-screen=1 usb=1 usbdevice='tablet' #keymap='ja' ======================================================= The following is xm list -ll result ======================================================= (domain (on_crash restart) (uuid 9bf83d7c-13e1-8486-15a3-6094fcc3ed22) (bootloader_args ) (vcpus 2) (name winxp) (on_poweroff destroy) (on_reboot restart) (bootloader ) (maxmem 500) (memory 500) (shadow_memory 6) (cpu_weight 256) (cpu_cap 0) (features ) (on_xend_start ignore) (on_xend_stop ignore) (start_time 1190340014.17) (cpu_time 27.190939825) (online_vcpus 1) (image (hvm (kernel /usr/lib/xen/boot/hvmloader) (acpi 1) (apic 1) (boot c) (device_model /usr/lib/xen/bin/qemu-dm) (pae 1) (rtc_timeoffset None) (serial pty) (notes (SUSPEND_CANCEL 1)) ) ) (status 0) (store_mfn 127998) (device (vif (bridge eth0) (uuid 29fb6bd9-e8c9-ccf7-bbb4-3cda2f562664) (script vif-bridge) (devid 0) (mac 00:16:3e:79:5c:8b) (type ioemu) (backend 0) ) ) (device (vbd (uuid 5d2c7b71-d749-400f-1825-c8f72203a576) (bootable 1) (devid 768) (driver paravirtualised) (dev hda:disk) (uname phy:/dev/sda3) (mode w) (backend 0) ) ) (device (vbd (uuid 96fc9867-8f43-4a7d-7b99-9c720c612a4a) (bootable 0) (devid 5632) (driver paravirtualised) (dev hdc:cdrom) (uname phy:/dev/cdrom) (mode r) (backend 0) ) ) (device (vkbd (devid 0) (uuid 543accf0-302b-5cb7-f216-379ad31a293d) (backend 0)) ) (device (vfb (uuid c87bde23-3ed3-e7b3-cd03-c8ada1f788b8) (devid 'None') (vncdisplay 0) (keymap en-us) (type vnc) ) ) ) Best regards, Hu Jia Yi Ext: 20430 Tel: 65-67510430 -----Original Message----- From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of xen-users-request@xxxxxxxxxxxxxxxxxxx Sent: Thursday, September 20, 2007 8:41 PM To: xen-users@xxxxxxxxxxxxxxxxxxx Subject: Xen-users Digest, Vol 31, Issue 73 Send Xen-users mailing list submissions to xen-users@xxxxxxxxxxxxxxxxxxx To subscribe or unsubscribe via the World Wide Web, visit http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users or, via email, send a message with subject or body 'help' to xen-users-request@xxxxxxxxxxxxxxxxxxx You can reach the person managing the list at xen-users-owner@xxxxxxxxxxxxxxxxxxx When replying, please edit your Subject line so it is more specific than "Re: Contents of Xen-users digest..." _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users __________ Informace od NOD32 2542 (20070921) __________ Tato zprava byla proverena antivirovym systemem NOD32. http://www.nod32.cz _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |