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-devel

[Xen-devel] Help with Windows guest and vncviewer

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Help with Windows guest and vncviewer
From: Flavio <fbcyborg@xxxxxxxxx>
Date: Mon, 17 Oct 2011 16:47:56 +0200
Delivery-date: Mon, 17 Oct 2011 07:48:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=NXSI3uxqM3gbpyGsokSH8gQjK27nXq1FqmLgJXGeOLU=; b=gN2FPAXoWy2nd/dy3fVP7fAFsw3GsNusnI/A0BBZmfpiQZ/hX74Ya56HlpMb70CqI4 M77pyRc0ffNt8OsZVt4lL4rXee560TBJMt+2MUIa7WEfnBWh/nxj1v/X5OdUULVviHHG u+3xE6kuGS/FJiyav9qD9v5mt2L1l1fUojvMM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAP8Jb=q1DQ88K6T73YzadiNQ9FRJx2JWVZfLZ9bGFU-PDtSQhg@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <CAP8Jb=q1DQ88K6T73YzadiNQ9FRJx2JWVZfLZ9bGFU-PDtSQhg@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I'm having some trouble running a windows guest after the migration to
the new XEN tool stack.
Note that I am running XEN on a Desktop Environment now, using the
gentoo-sources-3.0.6 kernel.
All the Linux guests are running without any problem at the moment.
I access to my Linux box as a normal user and when I need to start a
VM I become root and issue
the needed commands to start a domU with the xl toolstack.

Well, the problem is that when I start the windows guest, having the
following configuration file

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024
shadow_memory = 8
name = "windows-7"
vif = [ 'type=ioemu, mac=00:16:3e:00:00:02, bridge=xenbr0' ]
acpi = 1
apic = 1
disk = [ 'file:/mnt/data/xen/vmstore/windows-7/xenwin7.img,xvda,w',
'file:/mnt/data/xen/vmstore/windows-7/Windows-7.iso,hdc:cdrom,r' ]
boot="dc"
sdl=0
vnc=1
vncconsole=1
vncpasswd=''
serial='pty'
usbdevice='tablet'

the guest starts but I can't start vncviewer.

# xl vncviewer 1

VNC Viewer Free Edition 4.1.3 for X - built Feb 16 2011 13:13:42
Copyright (C) 2002-2008 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Invalid MIT-MAGIC-COOKIE-1 keyvncviewer: unable to open display ":0"

Is this problem solvable? I've read something about this in Internet
but I didn't understand
if it is possible to solve it or not.

Cheers,

-- 
Flavio

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