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

[Xen-users] Password unused in vnc console

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Password unused in vnc console
From: "Jean-Michel Bonnefond" <pompon2@xxxxxxxxx>
Date: Thu, 20 Dec 2007 15:48:49 +0100
Delivery-date: Thu, 20 Dec 2007 06:49:23 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=YZvPLUyQwYv0f7bXvQMw5+Hvk4vyQkJz4Rm1XBkNEuM=; b=xa0O4o0hIRku90RXV5Xe4ltFJ2SeMHL88D21B1VJ5XZo5pTWbmxljrov4Ueh7CdQQo9tekvatJ8iz/g/N3VpR1JHGwtgGh1WcknkTZesJ0H51ZsOjRl2XuXxszGDcu7cL5C1QO/EigpggFMHZmBNwij+NNK8rg/4gfROxm/DmIc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=hj2GFoeFWmAzI51SVcC40dWjPsVZK9QctmF3sw4xDG/9Q9452bUxDF8VyAJgOUYExQh9yj4PXrNOGOodTL/HigyGciAgWAG59LcVwuO/LRi3vinhUsl9PEQBRTlgvVMNhpEZjKZgcKHIm1B06x29kYLKkx28UPaP/M9OahHNBcA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi folks,

I'm updating my xen server from a dom0 on debian sarge, using a self compiled xen 3.0.4 and a kernel 2.6.16, to a standard debian etch using the deb packages xen 3.0.3 and kernel 2.6.18.

On the old server, all my hvm machines use vnc console and a password is set into xend-config.sxp and it works nice.

On the new etch server, with the same hvms and configuration files, everything seems to work fine except that we could access to the vnc console without a password which is set in xend-config.sxp by the line (vncpasswd 'xxx'). However it looks like the config file is used because if I change the ip address into the entry "(vnc-listen  '0.0.0.0')", I see the result in the qemu-dm  called line :

/usr/lib/xen/bin/qemu-dm -d 3 -m 128 -boot cda -serial pty -vcpus 1 -domain-name ha-deb1 -net nic,vlan=1,macaddr=00:16:3e:01:01:01,model=rtl8139 -net tap,vlan=1,bridge=xenbr0 -vncunused -k en-us -vnclisten 0.0.0.0

The same hvm machine on the old xen server :

/usr/lib/xen/bin/qemu-dm -d 19 -m 128 -boot cda -serial pty -vcpus 1 -acpi -k fr -domain-name ha-deb1 -net nic,vlan=1,macaddr=00:16:3e:01:01:01,model=rtl8139 -net tap,vlan=1,bridge=xenbr0 -vncunused -vnclisten 0.0.0.0

I do use the same xen-config.sxp file with these options :

(network-script multiple-network-bridge)
(vif-script vif-bridge)
(dom0-min-mem 196)
(dom0-cpus 0)
(vncpasswd 'xxx')
(vnc-listen ' 0.0.0.0')

And the same hvm config file :

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 128
shadow_memory = 8
name = "ha-deb1"
vif = [ 'type=ioemu, mac=00:16:3e:01:01:01, bridge=xenbr0' ]
disk = [ 'file:/xen/ha-deb1.dsk,hda,w' ]
device_model = '/usr/lib/xen/bin/qemu-dm'
boot="cda"
sdl=0
vnc=1
keymap='fr'
nographic=0
stdvga=0
serial='pty'

In fact not only the vncpasswd is not used but also the keymap which is set to 'fr' in sarge and is set to the default 'en_us' on etch.

Here is the installed packages on the etch version :
ii  libc6-xen                      2.7-4                           GNU C Library: Shared libraries [Xen version
ii  linux-image-2.6.18-4-xen-686   2.6.18.dfsg.1-12etch2           Linux 2.6.18 image on i686
ii  linux-modules-2.6.18-4-xen-686 2.6.18.dfsg.1-12etch2           Linux 2.6.18 modules on i686
ii  xen-hypervisor-3.0.3-1-i386    3.0.3-0-4                       The Xen Hypervisor on i386
ii  xen-ioemu-3.0.3-1              3.0.3-0-4                       XEN administrative tools
ii  xen-utils-3.0.3-1              3.0.3-0-4                       XEN administrative tools
ii  xen-utils-common               3.0.3-0-2                       XEN administrative tools - common files


I can't understand why some options are not interpreted and some other are. Are keymap and vncpasswd options only valid starting from xen 3.0.4?

Any idea?
Thanks.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Password unused in vnc console, Jean-Michel Bonnefond <=