LINUXEVERYDAY
Solution to everyday Linux problems
HOME
Containerization
LXC & LXD
Database
MongoDB
Editors & IDEs
Visual Studio Code
Linux
CentOS
Ubuntu
Debian
Programming
Node.js
TypeScript
Others
Virtualization
Proxmox VE
VirtualBox
VMware
Things to Do After Ubuntu/Debian VM Setup in Proxmox VE or KVM/QEMU using SPICE(QXL) Display
Shahriar Shovon
Proxmox VE
kvm
qemu
proxmox
ubuntu
debian
spice
{"ops":[{"insert":"In this article, I will show you what to do once you install Ubuntu/Debian GNU Linux on Proxmox VE or KVM/QEMU virtual machine when SPICE(QXL) graphic card is used.\n\n\n\n"},{"attributes":{"bold":true},"insert":"Installing Required Tools:"},{"attributes":{"header":1},"insert":"\n"},{"insert":"\nOnce you install Ubuntu/Debian Linux on a Proxmox VE or KVM/QEMU virtual machine (using SPICE(QXL) graphic card), you should install "},{"attributes":{"bold":true},"insert":"xserver-xorg-video-qxl"},{"insert":", "},{"attributes":{"bold":true},"insert":"spice-vdagent,"},{"insert":" and "},{"attributes":{"bold":true},"insert":"qemu-guest-agent"},{"insert":" packages on the Ubuntu/Debian virtual machine (VM). All of these packages are available in the official package repository of Ubuntu/Debian.\n\nYou can easily install these packages with the following command:\n$ sudo apt install -y xserver-xorg-video-qxl spice-vdagent qemu-guest-agent"},{"attributes":{"code-block":true},"insert":"\n"},{"insert":"\n\n\nHere, "},{"attributes":{"bold":true},"insert":"xserver-xorg-video-qxl"},{"insert":" package provides the necessary drivers for the QXL video card.\n\n\n"},{"attributes":{"bold":true},"insert":"spice-vdagent "},{"insert":"package allows you to,\n\t- Automatically grab and release the mouse in the guest.\n\t- Automatic adjustment of the X-session resolution to the client resolution.\n\t- Copy and paste (text and images) between the active X-session\n and the client\n\n\n"},{"attributes":{"bold":true},"insert":"qemu-guest-agent "},{"insert":"package provides a daemon(agent) to run inside the virtualized Ubuntu/Debian system. It communicates with the host using a "},{"attributes":{"bold":true},"insert":"virtio-serial"},{"insert":" channel "},{"attributes":{"bold":true},"insert":"org.qemu.guest_agent.0"},{"insert":".\n\nIt also allows you to do some functions from the host to the Ubuntu/Debian virtual machine.\ni.e.\n\t- querying and setting guest system time\n\t- performing guest filesystem sync operation\n\t- initiating guest shutdown or suspend to ram\n\t- accessing guest files\n\t- freezing/thawing guest filesystem operations\n\t- others.\n\n\n\nThanks for reading this article.\n"}]}