Difference between revisions of "Virsh vncdisplay"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
+
{{lc}}
  
 
  virsh [[vnc]]display MY_VMNAME
 
  virsh [[vnc]]display MY_VMNAME
Line 8: Line 8:
  
  
Ports:
+
===Ports===
 
  :1 -> 5901
 
  :1 -> 5901
 
  :2 -> 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 17: Line 22:
 
* <code>[[virsh console]]</code>
 
* <code>[[virsh console]]</code>
 
* <code>[[virsh domdisplay]]</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: