[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] problems connecting to HVM guest OS via VNC Viewer
i am following the instructions at https://help.ubuntu.com/community/XenProposed to install Xen + Ubuntu. i have already installed successfully a PV guest OS (Ubuntu Server 12.04). now i am trying to install a HVM guest OS (Ubuntu Desktop 12.04). however, i cannot seem to connect to the instance after i start it up. the HVM configuration file looks like the following. builder = "hvm" name = "ubuntu-hvm" memory = 512 vcpus = 1 vif = [' '] disk = ['phy:/dev/xenub/ubuntu-hvm,hda,w','file:/home/jwane/ubuntu-12.04-desktop-amd64.iso,hdc:cdrom,r'] vnc = 1 boot = "d" i start the HVM guest os with the following command sudo xm create ubuntu-hvm.cfg to make sure the HVM guest os is running, i type in the following command sudo xm list and i get the following output Name ID Mem VCPUs State Time(s) Domain-0 0 22622 8 r----- 63.9 ubuntu-hvm 1 512 1 -b---- 2489.2 on my windows box, i download vnc viewer, and try to connect to my Dom0 at 192.168.0.201, but i get the following message unable to connect to host: Connection refused (10061) so, as a sanity check, on the Dom0 console, i try to ping as follows. ping localhost ping 127.0.0.1 ping 192.168.0.201 all pings were successful. so next, i try to telnet as follows. telnet localhost 5900 telnet 127.0.0.1 5900 telnet 192.168.0.201 5900 the telnet to the LAN IP does not work. i get: telnet: Unable to connect to remote host: Connection refused. the telnet to localhost and 127.0.0.1 works. so, for some reason, port 5900 is not working on the LAN IP (192.168.0.201). if i can't get to the IP and port from Dom0, i sure won't be able to get to that IP and port from another location. i also did another sanity check to make sure the port is opened. sudo netstat -tcp --listening --programs and my results are as follows. Proto Recv-Q Send-Q Local_Address Foreign_Address State PID/Program_name tcp 0 0 localhost:5900 *:* LISTEN 2097/qemu-dm tcp 0 0 192.168.122.1:domain *:* LISTEN 5653/dnsmasq tcp 0 0 *:ssh *:* LISTEN 1198/sshd tcp 0 0 [::]:ssh [::]:* LISTEN 1198/sshd my questions are: 1. why can't i connect to the LAP IP and port 5900 from Dom0 and another location using telnet or VNC? 2. i also tried to connect using "sudo gvncviewer localhost:0" and "sudo gvncviewer localhost:5900" from Dom0, but get "Cannot open display". are there missing dependencies? any help is appreciated. thanks. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |