jane.wayne2978 at gmail
May 28, 2012, 8:59 PM
Post #1 of 4
i am following the instructions at
problems connecting to HVM guest OS via VNC Viewer
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.
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
tcp 0 0 localhost:5900 *:*
tcp 0 0 192.168.122.1:domain *:*
tcp 0 0 *:ssh *:*
tcp 0 0 [::]:ssh [::]:*
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.
Xen-users mailing list
Xen-users [at] lists