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] Automatic vncviewer startup

To: Flavio <fbcyborg@xxxxxxxxx>
Subject: Re: [Xen-users] Automatic vncviewer startup
From: Mike Wright <mike.wright@xxxxxxxxxxxxxx>
Date: Wed, 26 Oct 2011 09:23:01 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 26 Oct 2011 09:26:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAP8Jb=pkmeAH7naTbbCn7iL8OrOWnNyjTVF0yJy41Kz4ao=AbQ@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <CAP8Jb=pkmeAH7naTbbCn7iL8OrOWnNyjTVF0yJy41Kz4ao=AbQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2
On 10/26/2011 12:35 AM, Flavio wrote:
Hello,

is there a way to start automatically the vncviewer when a domU starts?
When I was using the xm toolstack I could use "xm create domain.cfg -vncviewer"
or something similar (if I'm not wrong), but I don't know how to do it with the
xl toolstack. At the moment, I have to create the domain using
xl create domU.cfg, then xl list to see the domU id and then xl
vncviewer<domU_id>
to start vncviewer.

Is it possible?

Hi Flavio,

You could wrap the commands in a shell script (make it executable):

    #!/bin/bash

    xl create vm14.cfg
    xl vncviewer vm14 &

Personally, I prefer that the domU run its own vncserver. That way I can configure it to use the whole screen and then resize it as I see fit using regular window controls. But then again, I have to start the viewer manually (alt-f2, then vncviewer domU-hostname:1).

Take a look at tigervnc.


By the way: does the analogue of 'xm new domU.cfg' exist in the new xl
toolstack?

xl create vm.cfg

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

<Prev in Thread] Current Thread [Next in Thread>