WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Cannot connect to VNC

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Cannot connect to VNC
From: oz <oz@xxxxxxxxxxx>
Date: Mon, 20 Nov 2006 20:46:26 +0100
Delivery-date: Mon, 20 Nov 2006 11:47:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4561E11A.9010600@xxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4561E11A.9010600@xxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Icedove 1.5.0.7 (X11/20061013)
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