Strange behavior for the KVM console

joblack

Active Member
Apr 16, 2017
39
5
28
44
I have tried a Debian 9 with KVM with new newest Proxmox. The console is fine and Debian is configured to use a German keyboard

The console works fine until I pressed |. After that it changed to something else.

The attached screenshot should show

getent passwd | less

Do you have the same behavior with the | character? Is it a bug
 

Attachments

  • proxmos_consolet.png
    proxmos_consolet.png
    31.8 KB · Views: 51
How do your characters look like through ssh? And what locale do you have set?
 
NoVNC or SPICE? What locales are set on the host, guest and client?
 
Host

Hi,

thanks for the quick response. Here are the additional information.

I log into the web interface with English language because I find the English translation more fun. The setup keyboard layout is 'German (de)'.

noVNC is used.

locale

root@pm1:/home/xyz# locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


Guest

LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

And German keyboard layout

Output with SSH (putty) works fine

username@lpic:~$ getent passwd | less
 
Some other German umlauts and the ß works fine over the noVNC (see attachment).

It seems that after typing in the '|' character something breaks.
 

Attachments

  • 2017-10-19 10_36_56-pm1 - Proxmox Virtual Environment.png
    2017-10-19 10_36_56-pm1 - Proxmox Virtual Environment.png
    2.5 KB · Views: 12
Please try using the same locales on host, guest and client. There's quite some guesswork involved in NoVNC and using the same locales for all three parties improves the chances of it making correct guesses.
 
I use the same locales on all of them. They are all en_US.UTF-8.

Using German translation on a Linux server makes me cringe. ;)

Does it make sense to file a bug report the the noVNC guys?
 
Use the same keyboard language, too.
 
Btw. it works if I log into the web interface with German language settings. So maybe it is something with the Proxmox GUI after all.
 
Btw. it works if I log into the web interface with German language settings. So maybe it is something with the Proxmox GUI after all.
the language selection of the pve gui has nothing to do with novnc/vm input/output at all, so maybe something else was different?
 
Hmmm yeah you're right. It ony happens after pressing Alt Gr < for getting |. If I press Ctrl-Alt < for getting | everything works fine. The key press Alt Gr + | seem to change something.

Is the pve gui catching the key pressed or is it directly directed to noVNC?
 
can you post your pveversion -v ?
also, what browser do you use?
 
Code:
root@pm1:~# pveversion -v
proxmox-ve: 5.0-24 (running kernel: 4.10.17-4-pve)
pve-manager: 5.0-32 (running version: 5.0-32/2560e073)
pve-kernel-4.4.62-1-pve: 4.4.62-88
pve-kernel-4.10.17-4-pve: 4.10.17-24
pve-kernel-4.10.17-2-pve: 4.10.17-20
pve-kernel-4.10.15-1-pve: 4.10.15-15
pve-kernel-4.4.35-1-pve: 4.4.35-77
pve-kernel-4.4.67-1-pve: 4.4.67-89
pve-kernel-4.4.59-1-pve: 4.4.59-87
libpve-http-server-perl: 2.0-6
lvm2: 2.02.168-pve3
corosync: 2.4.2-pve3
libqb0: 1.0.1-1
pve-cluster: 5.0-14
qemu-server: 5.0-15
pve-firmware: 2.0-2
libpve-common-perl: 5.0-18
libpve-guest-common-perl: 2.0-12
libpve-access-control: 5.0-6
libpve-storage-perl: 5.0-15
pve-libspice-server1: 0.12.8-3
vncterm: 1.5-2
pve-docs: 5.0-9
pve-qemu-kvm: 2.9.1-1
pve-container: 2.0-16
pve-firewall: 3.0-3
pve-ha-manager: 2.0-2
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 2.1.0-2
lxcfs: 2.0.7-pve4
criu: 2.11.1-1~bpo90
novnc-pve: 0.6-4
smartmontools: 6.5+svn4324-1
zfsutils-linux: 0.6.5.11-pve18~bpo90

Firefox 56.0 Windows 64 Bit en/us executable version, Windows 7 64 Bit German, German keyboard
 
Last edited:
can you also try to set windows to a german keyboard layout ? the combination of novnc/qemu is sometimes picky with the language/keyboard settings
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!