[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:

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
to start vncviewer.

Is it possible?

Hi Flavio,

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


    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

xl create vm.cfg

Xen-users mailing list



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