Using Xterm.js for PVE VMs
Copy-Paste with an easy console called Xterm.js for any VM the same way Proxmox VE console works.
If you want to use the power of the Xterm.js for your VM you need to do some extra steps.
Add Xterm.js to a Debian/Ubuntu VM
Add the serial hardware
Add a serial port to your VM: go to VM → Hardware → hit Add → select Serial Port
Edit and update the default grub -file
In the Console perform the following commands
sudo sh -c echo 'GRUB_CMDLINE_LINUX="quiet console=tty0 console=ttyS0,115200"' >> /etc/default/grub
sudo update-grub
sudo systemctl rebootsudo sh -c echo 'GRUB_CMDLINE_LINUX="quiet console=tty0 console=ttyS0,115200"' >> /etc/default/grub
sudo update-grub
sudo init 6 Finalize by rebooting the VM
sudo systemctl rebootorsudo init 6
Now you can use the X-term.jsEurope Console in a new window
Console→ selectxterm.jsVM→Hardware→Display→ Edit Display: Graphic card:Serial terminal 0
References
Xterm.js [1]