How To Install spice-vdagent.x86_64 on Amazon Linux 2

In this tutorial we learn how to install spice-vdagent.x86_64 in Amazon Linux 2. spice-vdagent.x86_64 is Agent for Spice guests

Introduction

In this tutorial we learn how to install spice-vdagent.x86_64 on Amazon Linux 2.

What is spice-vdagent.x86_64

Spice agent for Linux guests offering the following features Features * Client mouse mode (no need to grab mouse by client, no mouse lag) this is handled by the daemon by feeding mouse events into the kernel via uinput. This will only work if the active X-session is running a spice-vdagent process so that its resolution can be determined. * Automatic adjustment of the X-session resolution to the client resolution * Support of copy and paste (text and images) between the active X-session and the client

We can use yum to install spice-vdagent.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install spice-vdagent.x86_64.

Install spice-vdagent.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install spice-vdagent.x86_64 using yum by running the following command:

sudo yum -y install spice-vdagent.x86_64

How To Uninstall spice-vdagent.x86_64 on Amazon Linux 2

To uninstall only the spice-vdagent.x86_64 package we can use the following command:

sudo yum remove spice-vdagent.x86_64

spice-vdagent.x86_64 Package Contents on Amazon Linux 2

/etc/xdg/autostart/spice-vdagent.desktop
/lib/udev/rules.d/70-spice-vdagentd.rules
/usr/bin/spice-vdagent
/usr/lib/systemd/system/spice-vdagentd.service
/usr/lib/systemd/system/spice-vdagentd.socket
/usr/lib/tmpfiles.d/spice-vdagentd.conf
/usr/sbin/spice-vdagentd
/usr/share/doc/spice-vdagent-0.14.0
/usr/share/doc/spice-vdagent-0.14.0/COPYING
/usr/share/doc/spice-vdagent-0.14.0/ChangeLog
/usr/share/doc/spice-vdagent-0.14.0/README
/usr/share/doc/spice-vdagent-0.14.0/TODO
/usr/share/gdm
/usr/share/gdm/autostart
/usr/share/gdm/autostart/LoginWindow
/usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
/usr/share/gdm/greeter
/usr/share/gdm/greeter/autostart
/usr/share/gdm/greeter/autostart/spice-vdagent.desktop
/usr/share/man/man1/spice-vdagent.1.gz
/usr/share/man/man1/spice-vdagentd.1.gz
/var/run/spice-vdagentd

References

Summary

In this tutorial we learn how to install spice-vdagent.x86_64 on Amazon Linux 2 using yum.