Difference between revisions of "Virsh vncdisplay"

From wikieduonline
Jump to navigation Jump to search
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{lc}}
  
 +
virsh [[vnc]]display MY_VMNAME
 +
:2
  
 +
virsh vncdisplay VM_NAME
 +
error: Failed to get [[VNC]] port. Is this domain using VNC?
 +
 +
 +
===Ports===
 +
:1 -> 5901
 +
:2 -> 5902
  
  
virsh vncdisplay VM_NAME
+
    <[[graphics]] type='[[vnc]]' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'>
error: Failed to get [[VNC]] port. Is this domain using VNC?
+
      <listen type='address' address='127.0.0.1'/>
 +
    </graphics>
 +
 
 +
 
 +
== Related commands ==
 +
* <code>[[virt-install]]</code>
 +
* <code>[[virsh console]]</code>
 +
* <code>[[virsh domdisplay]]</code>
 +
* <code>[[virt-manager]]</code>
 +
* <code>[[virsh list]]</code>
 +
 
 +
== See also ==
 +
* {{VNC}}
 +
* {{virsh connectivity}}
 +
* {{virsh}}
 +
 
 +
 
 +
[[Category:KVM]]

Latest revision as of 18:18, 29 June 2022

virsh vncdisplay MY_VMNAME
:2
virsh vncdisplay VM_NAME
error: Failed to get VNC port. Is this domain using VNC?


Ports[edit]

:1 -> 5901
:2 -> 5902


    <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>


Related commands[edit]

See also[edit]

Advertising: