[doc] faq/install: Move Clipboard Synch instructions to Installation

This commit is contained in:
Jonathan Rubenstein 2021-07-05 13:45:07 -04:00 committed by Geoffrey McRae
parent 8c43972786
commit dacd0ab844
3 changed files with 33 additions and 34 deletions

View File

@ -95,38 +95,6 @@ The mouse is jumpy, slow, laggy when using SPICE
Please be sure to install the SPICE guest tools from Please be sure to install the SPICE guest tools from
https://www.spice-space.org/download.html#windows-binaries. https://www.spice-space.org/download.html#windows-binaries.
.. _how_to_enable_clipboard_synchronization_via_spice:
How to enable clipboard synchronization via SPICE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Install the SPICE guest tools from
https://www.spice-space.org/download.html#windows-binaries.
Choose only one of the settings below (the one that applies to your
configuration):
- QEMU
.. code:: bash
-device virtio-serial-pci \
-chardev spicevmc,id=vdagent,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0
- libvirt
- Edit the VM using virsh ``sudo virsh edit VIRTUAL_MACHINE_NAME``
- Paste the code from below right above (note the closing tag)
.. code:: xml
<!-- No need to add VirtIO Serial device, it will be added automatically -->
<channel type="spicevmc">
<target type="virtio" name="com.redhat.spice.0"/>
<address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>
.. _the_mouse_doesnt_stay_aligned_with_the_host.: .. _the_mouse_doesnt_stay_aligned_with_the_host.:
The mouse doesn't stay aligned with the host. The mouse doesn't stay aligned with the host.

View File

@ -67,7 +67,7 @@ along with clipboard sync support, make sure you have a
to be installed in the guest to be installed in the guest
If you want clipboard synchronization please see If you want clipboard synchronization please see
:ref:`how_to_enable_clipboard_synchronization_via_spice` :ref:`client_clipboard_synchronization`
.. _client_apparmor: .. _client_apparmor:
@ -149,6 +149,37 @@ with the following::
Change ``UID`` to the user name you will run Looking Glass with, usually your Change ``UID`` to the user name you will run Looking Glass with, usually your
own. own.
.. _client_clipboard_synchronization:
Clipboard Synchronization
~~~~~~~~~~~~~~~~~~~~~~~~~
Looking Glass can synchronize the clipboard between the host and guest using
the SPICE guest agent.
1. Install the SPICE guest tools from
https://www.spice-space.org/download.html#windows-binaries.
2. Configure your VM to enable the SPICE guest agent:
- QEMU
.. code:: bash
-device virtio-serial-pci \
-chardev spicevmc,id=vdagent,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0
- libvirt
.. code:: xml
<channel type="spicevmc">
<target type="virtio" name="com.redhat.spice.0"/>
<address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>
<!-- No need to add a VirtIO Serial device, it will be added automatically -->
.. _client_usage: .. _client_usage:
Usage Usage

View File

@ -28,7 +28,7 @@ The Clipboard is not Working
- Before you can copy or paste content between the Guest and Host, - Before you can copy or paste content between the Guest and Host,
:ref:`clipboard :ref:`clipboard
synchronization <how_to_enable_clipboard_synchronization_via_spice>` synchronization <client_clipboard_synchronization>`
must be enabled. must be enabled.
- **Did you install the Spice Guest Tools?** - **Did you install the Spice Guest Tools?**