<graphics>

Specifies a graphics processing unit (GPU) device that provides remote frame buffers for workstation clients.

Text content

None.

Selected attributes

type= "vnc"
Supports workstation clients that use Virtual Network Computing (VNC).
autoport="yes"
Optional and mutually exclusive with port; automatically allocates the TCP port to use.
port=<port_number>
Optional and mutually exclusive with autoport; specifies the TCP port to use.

Usage

Configuring a virtual graphics card

Parent elements

<devices>

Child elements

<listen>

Example


<domain type="kvm">
   ...
   <devices>
      ...
      <graphics type="vnc" autoport="yes">
         <listen type="address" address="0.0.0.0"/>
      </graphics>
      <input type="keyboard" bus="virtio"/>
      <input type="mouse" bus="virtio"/>
      ...
   </devices>
   ...
</domain>