[SOLVED] How to activate GUI->xterm.js in a debian 12 VM?

aaralves

New Member
Feb 27, 2025
7
0
1
In order to make xterm.js available, I have edited the VM /etc/default/grub and now the contentes are:
-----------
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty0 console=ttyS0,115200"
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --speed=115200"
-----------

At the VM I have executed >update-grub

At the ProxMox GUI, Hardware->Display was changed from Default to "Serial terminal 0"

After rebooting the VM, the GUI Console->Xterm.js is now enabled but not working.
xterm.js window becomes stucked with the messge:
"starting serial terminal on interface serial0"
The noVNC consle is not working also and shows the same message.

Does anyone help me to fix this?
 
In order to make xterm.js available, I have edited the VM /etc/default/grub and now the contentes are:
-----------
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty0 console=ttyS0,115200"
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --speed=115200"
-----------

At the VM I have executed >update-grub

At the ProxMox GUI, Hardware->Display was changed from Default to "Serial terminal 0"

After rebooting the VM, the GUI Console->Xterm.js is now enabled but not working.
xterm.js window becomes stucked with the messge:
"starting serial terminal on interface serial0"
The noVNC consle is not working also and shows the same message.

Does anyone help me to fix this?


Did you?: Add Hardware --> Serial Port --> Serial Port 0


In addition to changing the display type, you must also add the serial hardware.
 
Ok, with both posts I could enable the xterm.js on a Ubuntu 22.04.1 LTS (We need to Upgrade, I know)

But the text looks very bad. Super low resolution... expected from serial tty off course , but the shell on the ProxMox host machine looks super sharp, with a very nice resolution. I Think it uses a pty thing

How to make it look better? Enable and use this pty thing, is there a way? The host machine looks amazing. Look at the difference
1763763619030.png
1763763762115.png