vncterm not able to set keyboard layout

mir

Famous Member
Apr 14, 2012
3,568
127
133
Copenhagen, Denmark
Hi team,

Apparently vncterm only supports 7bit keyboard layout in OpenVZ containers since all keys referring to characters above the first 7bit does not generate any event what so ever in the console window. Initlog shows this:
[9;30][14;30]/etc/init.d/console-screen.sh: 272: cannot open /dev/tty1: No such file
Couldn't get a file descriptor referring to the console

cat /etc/default/keyboard
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.


# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.


XKBMODEL="logiik"
XKBLAYOUT="dk"
XKBVARIANT=""
XKBOPTIONS=""


# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz


It should be noted that accessing the same server using ssh instead of the vncterm works as expected.
 

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!