Xterm js in Proxmox and Debian: Difference between revisions

wiki.TerraBase.info
Jump to navigation Jump to search
Created page with "Hello"
 
mNo edit summary
Line 1: Line 1:
Hello
Proxmox xterm.js can be added as an alternate console for a Debian Virtual Machine (VM). Nothing needs to be installed.
 
== Configure Debian ==
 
Edit the GRUB configuration:
 
<pre>
nano /etc/default/grub
</pre>
 
Add the following parameters to the existing <code>GRUB_CMDLINE_LINUX_DEFAULT</code> line:
 
<pre>
console=tty0 console=ttyS0,115200n8
</pre>
 
Example:
 
<pre>
GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty0 console=ttyS0,115200n8"
</pre>
 
Apply the GRUB configuration, enable the serial login service, and completely shut down the Virtual Machine:
 
<pre>
update-grub
systemctl enable serial-getty@ttyS0.service
poweroff
</pre>
 
== Add the Proxmox Serial Port ==
 
After the Virtual Machine shows as '''Stopped''':
 
# Select the Virtual Machine.
 
# Select '''Hardware'''.
 
# Select '''Add'''.
 
# Select '''Serial Port'''.
 
# Select '''Serial Port 0'''.
 
# Start the Virtual Machine.
 
'''Do not change the Display hardware setting.'''
 
== Open xterm.js ==
 
From the Proxmox Console drop-down menu, select:
 
<pre>
xterm.js
</pre>
 
The normal noVNC console remains available.
 
== Source ==
 
* [https://pve.proxmox.com/wiki/Serial_Terminal Proxmox VE - Serial Terminal]

Revision as of 20:54, 4 August 2026

Proxmox xterm.js can be added as an alternate console for a Debian Virtual Machine (VM). Nothing needs to be installed.

Configure Debian

Edit the GRUB configuration:

nano /etc/default/grub

Add the following parameters to the existing GRUB_CMDLINE_LINUX_DEFAULT line:

console=tty0 console=ttyS0,115200n8

Example:

GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty0 console=ttyS0,115200n8"

Apply the GRUB configuration, enable the serial login service, and completely shut down the Virtual Machine:

update-grub
systemctl enable serial-getty@ttyS0.service
poweroff

Add the Proxmox Serial Port

After the Virtual Machine shows as Stopped:

  1. Select the Virtual Machine.
  1. Select Hardware.
  1. Select Add.
  1. Select Serial Port.
  1. Select Serial Port 0.
  1. Start the Virtual Machine.

Do not change the Display hardware setting.

Open xterm.js

From the Proxmox Console drop-down menu, select:

xterm.js

The normal noVNC console remains available.

Source