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

Re: [Xen-users] Cannot connect to VNC



Morten Christensen wrote:
I try to install Windows XP on an AM2-box with Debian unstable and Xen 3.0.3.

I can get the XP-install to start but cannot find any way to see the domU-display with vnc.

If I have a domU.cfg of:

sdl = 1
vnc = 0
vncviewer = 0
stdvga = 1

then I get a sdl-window on the dom0-window.


If I have a domU.cfg of:

sdl = 0
vnc = 1
vncviewer = 0
stdvga = 1

nothing happens when I try to connect with a vncviewer. I have tried all combinations I can image, mostly "ip.of.my.dom0:domU_id" . From dom0, nothing happens. From a windows-box I an told, that vnc cannot connect io server.

From the windows-box I can vnc to dom0 with "ip.of.my.dom0" , and from dom0 I can vnc to the windows-box.

I have googled without luck. Where can I find some background-material or FAQ about Xen and VNC ?

Hi,
maybe missing "vncviewer = 1"?

Maybe it is a help for you to see a working config from my domU on Debian/unstable:

...
device_model = '/usr/lib/xen-3.0.3-1/bin/qemu-dm'
sdl=0
# enable VNC library for graphics, default = 1
vnc=1
# enable spawning vncviewer(only valid when vnc=1), default = 1
vncviewer=1
# no graphics, use serial port
#nographic=0
# enable stdvga, default = 0 (use cirrus logic device model)
stdvga=0
#    start in full screen
#full-screen=1
...


When I start the domU with #xm create mydomU.cfg from a xterm, I see a listening vnc-port afterwards:

# netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN 4244/qemu-dm
...

To this I can connect with vncviewer by ...

$ vncviewer localhost

VNC Viewer Free Edition 4.1.1 for X - built Oct 23 2006 05:52:17
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

Mon Nov 20 20:17:27 2006
 CConn:       connected to host localhost port 5900
 CConnection: Server supports RFB protocol version 3.3
 CConnection: Using RFB protocol version 3.3
 TXImage:     Using default colormap and visual, TrueColor, depth 24.
 CConn:       Using pixel format depth 6 (8bpp) rgb222
 CConn:       Using ZRLE encoding
 CConn:       Throughput 20000 kbit/s - changing to hextile encoding
 CConn:       Throughput 20000 kbit/s - changing to full colour
 CConn:       Using pixel format depth 24 (32bpp) little-endian rgb888
 CConn:       Using hextile encoding

Mon Nov 20 20:18:33 2006
 CConn:       Throughput 20000 kbit/s - changing to raw encoding
 CConn:       Using raw encoding

... and a xwindow with XP pops up.

Gruss,
Oliver


_______________________________________________
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®.