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.

Share
Using Xterm.js for PVE VMs

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 VMHardware → 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 reboot
sudo 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 reboot or sudo init 6

Now you can use the X-term.jsEurope Console in a new window

  • Console → select xterm.js
  • VMHardwareDisplay → Edit Display: Graphic card: Serial terminal 0


References

Xterm.js [1]


  1. Xterm.js homepage, GitHub ↩︎