[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Automatic vncviewer startup



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.