Re: ID = VNC Port

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

 



Hi Daniel

Thanks for your suggestions, I will test that out. I am working on a
solution for a RHEL5 environment actually, and as far as i know, this
virt-viewer is not part of RHEL5. I think I will find a solution that
will work. Probably virsh dumpxml <vmname> gives me some helpful
information which can be included into my script.

Many thanks for your help!

regards, Juerg

Daniel P. Berrange wrote:
> On Thu, Sep 27, 2007 at 11:11:24PM +0200, Juerg Ritter wrote:
>   
>> Hello there!
>>
>> I am wondering if there is a possibility to define that the VNC Port of
>> a virtual machine is always equal to the ID of the machine. That would
>> be very interesting for scripting, and easy to find out on which VNC
>> Display i have to search for a particular machine. Does anybody has an idea?
>>     
>
> You can request an explicit port for a VM, but there is no guarentee tht
> the request will actually be honoured - if another process is using the
> port you request, Xen will pick a different port. 
>
>   
>> I would like to invoke something like:
>>
>> vncviewer <dom0>:<ID>
>>     
>
> In Fedora 7 there is a new tool which avoids the need to know the VNC
> port at all. Simply tell it the name or ID or UUID of the guest when
> running, eg with Xen
>
>    virt-viewer  [guest name|id|uuid]
>
> Or with KVM you can do
>
>    virt-viewer --connect qemu:///system [guest name|id|uuid]
>
> Basically, virt-viewer contacts libvirt to find out the VNC port and
> then displays a VNC client window.  This VNC client also knows about the
> new encryption support for VNC servers in Xen, QEMU & KVM, so can be
> used securely over a remote link. In near future it will also be able
> to automatically tunnel over SSH when needed.
>
> Regards,
> Dan.
>   

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux