Difference between revisions of "Virsh vncdisplay"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{lc}}
  
 
+
  virsh [[vnc]]display MY_VMNAME
  [[virsh vncdisplay]] MY_VMNAME
 
 
  :2
 
  :2
  
Line 8: Line 8:
  
  
 +
===Ports===
 
  :1 -> 5901
 
  :1 -> 5901
  :1 -> 5902
+
  :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>
  
  
Line 15: Line 21:
 
* <code>[[virt-install]]</code>
 
* <code>[[virt-install]]</code>
 
* <code>[[virsh console]]</code>
 
* <code>[[virsh console]]</code>
 +
* <code>[[virsh domdisplay]]</code>
 +
* <code>[[virt-manager]]</code>
 +
* <code>[[virsh list]]</code>
  
 
== See also ==
 
== See also ==
 
* {{VNC}}
 
* {{VNC}}
 +
* {{virsh connectivity}}
 
* {{virsh}}
 
* {{virsh}}
  
  
 
[[Category:KVM]]
 
[[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: