[pve-devel] [PATCH manager] proxy: ui: vm console: autodetect novnc or xtermjs

Daniel Herzig d.herzig at proxmox.com
Mon Nov 25 10:46:33 CET 2024


I tested this patch a try with two guests:

+ debian bookworm (added a serial port, left display as default, mods from
cyberciti.biz as below):
  + /etc/default/grub
    + ~GRUB_CMDLINE_LINUX='console=tty0 console=ttyS0,19200n8'~
    + ~GRUB_TERMINAL=serial~
    + ~GRUB_SERIAL_COMMAND="serial --speed=19200 --unit=0 --word=8
    --parity=no --stop=1"~
  + /etc/inittab
    + ~T0:23:respawn:/sbin/getty -L ttyS0 19200 vt100~
  + /etc/securetty
    + ~ttyS0~
+ debian bookworm (fresh installation, using ~Serial Terminal 0~ as
graphiccard, using non-graphical installer, startup mods from
infosecworrier.dk as below):
  + replace ~quiet~ with ~console=ttyS0,115200n81~

A rough edge I could think of would be, that if one merely adds a
serial port to the hardware configuration on a OS that does not
autosetup serial consoles, one would lose graphical connectivity.

On the setups above this works like a charm!

Tested-by: Daniel Herzig <d.herzig at proxmox.com>




More information about the pve-devel mailing list