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? By the way: does the analogue of ''xm new domU.cfg'' exist in the new xl toolstack? -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 26 October 2011 09:35, Flavio <fbcyborg@gmail.com> 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.OK, meanwhile I''ve found a workaround for this, using a combination of the xl commands: xl create domU.cfg && xl vncviewer `xl domid domU_name` but the question is still valid.> > Is it possible? > > By the way: does the analogue of ''xm new domU.cfg'' exist in the new xl > toolstack?But I didn''t find an answer yet for this. -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 26 October 2011 11:01, Christian Motschke <christian@motschke.de> wrote:> > Am 26.10.2011 um 10:11 schrieb Flavio: > >> On 26 October 2011 09:35, Flavio <fbcyborg@gmail.com> wrote: >>> Hello, >>> >>> is there a way to start automatically the vncviewer when a domU starts? > > xm create vm-name.cfg --vncviewer > But I assume, that xl behaves not like xm?As far as I can see not in this case. It says: option `'' not supported. Also ''xl new'' doesn''t exist. -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com http://lists.xensource.com/xen-users
On 26 October 2011 18:23, Mike Wright <mike.wright@mailinator.com> wrote:> > Hi Flavio,Hi Mike, thanks for replying.> > You could wrap the commands in a shell script (make it executable): > > #!/bin/bash > > xl create vm14.cfg > xl vncviewer vm14 &And this is actually what I''ve done at the end. It seems there is no alternative solution to this problem.> > 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.Thanks I''ll do.> >> >> By the way: does the analogue of ''xm new domU.cfg'' exist in the new xl >> toolstack? > > xl create vm.cfgI know the create command but xm new is different. when the old xm toolstack was used, "xm new" was for adding the domU to the xend manager (so, even if the domUs were not running, if you execute xm list, you were able to see the domains anyway) and then you could do "xm start domainname" to start the domU. In this case, xend is no longer present, so as far as I understand, this "trick" cannot be done anymore. Am I correct? Did I explain myself correctly? (maybe I didn''t write very well what I mean, let me know if it is not clear please). Thanks a lot, -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- Unable to get IP address in guest OS through DHCP
- OpenSuse 11 hvm domU: screen resolution up to 640x480
- OpenSuse 11 hvm domU: screen resolution up to 640x480
- [PATCH] Add vncviewer xm compatibility options the 'xl create' command
- Unable to boot installation ISO