mirror of
https://github.com/PhyllomeOS/wiki.git
synced 2025-01-03 03:15:22 +00:00
docs: update virt/vm/display
This commit is contained in:
parent
e3ba1cb931
commit
e872173db6
@ -2,7 +2,7 @@
|
|||||||
title: Display
|
title: Display
|
||||||
description: How to access a virtual machine's display
|
description: How to access a virtual machine's display
|
||||||
published: true
|
published: true
|
||||||
date: 2022-08-12T23:57:15.072Z
|
date: 2022-08-24T23:13:49.450Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2022-07-31T09:22:05.854Z
|
dateCreated: 2022-07-31T09:22:05.854Z
|
||||||
@ -10,10 +10,15 @@ dateCreated: 2022-07-31T09:22:05.854Z
|
|||||||
|
|
||||||
# Display
|
# Display
|
||||||
|
|
||||||
A virtual display can be attached to a virtual machine to se the content of it. It is a must-have for non-headless scenarios.
|
A virtual display can be attached to a virtual machine, letting a user see the content of it. It is a must-have for non-headless scenario.
|
||||||
|
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
|
> *[Official ressource](https://libvirt.org/formatdomain.html#graphical-framebuffers) for `libvirt`-compatible displays, including various XML examples*
|
||||||
|
>
|
||||||
|
{.is-info}
|
||||||
|
|
||||||
* *to-be done. Add table here*.
|
* *to-be done. Add table here*.
|
||||||
|
|
||||||
## Specific displays
|
## Specific displays
|
||||||
@ -77,6 +82,25 @@ sudo semodule -X 300 -i my-qemusystemx86.pp
|
|||||||
> *You can identify your display using the following command: `echo $DISPLAY`*
|
> *You can identify your display using the following command: `echo $DISPLAY`*
|
||||||
{.is-info}
|
{.is-info}
|
||||||
|
|
||||||
|
### D-Bus
|
||||||
|
|
||||||
|
> The D-Bus display is only available since version 7.4.0 of *libvirt*
|
||||||
|
{.is-warning}
|
||||||
|
|
||||||
|
[D-Bus](https://www.freedesktop.org/wiki/Software/dbus/) is a Desktop-oriented middleware that can be used to create a display for a virtual machine.
|
||||||
|
|
||||||
|
Export and enable a video backend, add OpenGL support and peer-to-peer connection :
|
||||||
|
```
|
||||||
|
<graphics type='dbus'/>
|
||||||
|
<p2p value="on"/>
|
||||||
|
<gl enable="yes"/>
|
||||||
|
</graphics>
|
||||||
|
```
|
||||||
|
Export and enable an audio backend :
|
||||||
|
|
||||||
|
<graphics type='dbus' ...>
|
||||||
|
<audio id='1'>
|
||||||
|
</graphics>
|
||||||
|
|
||||||
### Xephyr
|
### Xephyr
|
||||||
|
|
||||||
@ -98,7 +122,5 @@ sudo semodule -X 300 -i my-qemusystemx86.pp
|
|||||||
|
|
||||||
* *to-be done*
|
* *to-be done*
|
||||||
|
|
||||||
### Dbus
|
|
||||||
|
|
||||||
* *to-be done*
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user