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

Re: [Xen-devel] ioemu: empty vnc passwd

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] ioemu: empty vnc passwd
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Wed, 23 Jan 2008 17:26:14 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Delivery-date: Wed, 23 Jan 2008 09:27:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080123163555.GF24352@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080123161130.GD5188@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20080123163555.GF24352@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Wed, Jan 23, 2008 at 04:35:55PM +0000, Daniel P. Berrange wrote:

> > However, that means we can't use an empty passwd any more, while that
> > may be quite useful e.g. in testing environments, so that we would need
> > the following patch:
> 
> This is handled in XenD.
> 
>   - If a non-empty passwd is found in the guest config, or in the
>     global XenD config,, then qemu has  -vnc :1,passwd  on its CLI
>     to turn on password auth.
>   - If there is no guest password and no global XenD password,
>     then   qemu has  -vnc :1   and no password auth is enabled
>     at all.

I'm confused: if there's no config or xend password at all, then the
domain won't start:

            if vncpasswd is None:
                raise VmError('vncpasswd is not setup in vmconfig or '
                              'xend-config.sxp')

regards
john

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