[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Unable to connect with VNC


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Morten Christensen <mc-xen@xxxxx>
  • Date: Mon, 04 Dec 2006 22:53:37 +0100
  • Delivery-date: Mon, 04 Dec 2006 13:54:05 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Michael Froh skrev den 04-12-2006 04:32:

*From: *Morten Christensen <mc-xen@xxxxx <mailto:mc-xen@xxxxx>>
*Date: *December 3, 2006 8:16:18 AM EST (CA)
*To: *Xen-users@xxxxxxxxxxxxxxxxxxx <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>
*Subject: **[Xen-users] Unable to connect with VNC*


Debian unstable and Xen 3.0.3. I have had VNC working before a total new install but never understood it very well.

Whenever I try to connect with VNC to a domU from dom0 (or from another box), I get a message:

------------------
VNC Free Edition 4.1.1 for X - built Nov 10 2006 06:38:35

Sun Dec 3 13:02:09 2006
main :   unable to connect to host: Connection refused (111)
------------------

Morten.

I believe the VNC provided by Xen effectively replaces the monitor/keyboard for the virtual machine. Therefore, the VNC server for VMs is actually running in Dom0 and not on DomU. For example, given the configuration you list, you should connect to <Dom0 IP>:5905 to get the display of DomU.

The vnc-listen parameter will restrict which IPs can access the server running on Dom0. "0.0.0.0" allows vnc connections from any IP address. You can check which ports vnc is listening on using the following command line in Dom0:
"netstat -l | grep tcp | grep 59"

This should filter out only the vnc server ports listening for tcp connections.

This only shows a vncserver listening on 5900.

It looks like som kind of missing link between Xen and my vnc-installation.

Anybody  with ideas to, what might be missing there ?


--
Morten Christensen



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.