Xterm js in Proxmox and Debian: Difference between revisions
Created page with "Hello" |
mNo edit summary |
||
| Line 1: | Line 1: | ||
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] | |||