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] vncviewer configuration problem

To: "Steve Kemp" <steve@xxxxxxxxxxxx>
Subject: Re: [Xen-users] vncviewer configuration problem
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Tue, 3 Apr 2007 20:31:12 +0530
Cc: Xen list <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 03 Apr 2007 08:00:14 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=P5NqpzkRNqavxLPoNLEl7eKp3lTFqL3vtaPU071ZtBhps3wfhkRjxke18665IvAf27rvC7TMsggn/YdcMW5kYm8miAuVg49CKyBmArU6+SwFSkqw0WtsN1CcJuRrNnlQ9s4JZjAnFozWSjGRCaA3sDoB3jl+teLLaHKZ7pN4diA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=T4W87rvBWyiG9emUvfKMLLtMN5ulx+mLzRMMba4Wp2N93bbo1/jKJx/yuvhpQfjF5zwNhu1pkEnqs3xD9ShTp2qtZRMmS06gs7hJuRSN9rCrP6lrKwC9TScQR0Fx+c2NZmo4ZCwfsM09+8QTqucrXaT0aBDq+xOHVE+S2XMDin4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070403144853.GA20873@xxxxxxxxxxxx>
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: <f58fc26d0704030717q7b5859f0mbdf5ea87fe896721@xxxxxxxxxxxxxx> <20070403143133.GA19295@xxxxxxxxxxxx> <f58fc26d0704030744y2f6e95e3oaaebeeb0b316c081@xxxxxxxxxxxxxx> <20070403144853.GA20873@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
When i add vnclisten='10.177.237.101' (This is my machine ip ).
Then i cant able to start the domain. I am getting this error.

# xm create -c /etc/xen/dom-209
Using config file "/etc/xen/dom-209".
VNC= 1
Started domain Dom-El4
xenconsole: Could not read tty from store: No such file or directory

Could we make this more simple if we can do some configuration in host machine, no password no vnclisten at all.

Thanks,
--Trilok




On 4/3/07, Steve Kemp <steve@xxxxxxxxxxxx> wrote:
On Tue, Apr 03, 2007 at 08:14:07PM +0530, trilok nuwal wrote:

>    My host machine is remote machine, and i am accessing this through ssh. So
>    in this case i should mention
>    vnclisten = '<my machine ip>'
>    What i understand from your mail. Is it correct ?

  Yes.

>    Because from xend.log, i came to know that bydefault vnclisten is set to
>    '127.0.0.1 only as below.

  Right.  Thats your problem then.

  You could use ssh port-forwarding to forward the connection from the
remote host to the local machine, then connect to that securely as
follows:

  [remote machine]
    xm create ...

  [local machine]
    [setup forward to remote]
    ssh -L 5900:localhost:5900 -N username@xxxxxxxxxxxxxxxxx

    [start viewer]
   xvncviewer 127.0.0.1:5900

  (This might be too much complexity; but it is preferable to having
VNC listening on a public-facing machine with no password/firewall/ACL
in the way ..)

Steve
--

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