Page 1 of 1

How to enable xterm console on proxmox

Posted: Tue Jun 09, 2026 3:24 am
by proxmoxer
This requires modification in your grub file, the grub file is what linux reads when it boots up. If you screw it up, linux won't boot. In that scenario you need to boot into the recovery mode and correct the errors.

Step 1.
Add a serial port when your VM is running (click your VM, click Hardware, click Add and pick Serial port, default settings are good).
Image
Image


Step 2.
Log into its console and open the grubfile

Code: Select all

sudo nano /etc/default/grub
Image
Image

Step 3.
Find the line GRUB_CMDLINE_LINUX_DEFAULT and add following in it: quiet splash console=tty0 console=ttyS0,115200n8
Image

Full line looks like this:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=tty0 console=ttyS0,115200n8"
Save and exit by hitting CTRL + O (yes save) CTRL + X

Step 3.

Code: Select all

sudo update-grub
Image

Step 4.

Code: Select all

sudo systemctl enable serial-getty@ttyS0.service
Image

Step 5.
Reboot and pray that it works :lol:
Image

Step 6.
You need to shutdown and then start again to activate the serial port you added.
Image
Image
Image

Console look like this:
Image