vncterm not able to set keyboard layout

mir

Famous Member
Apr 14, 2012
3,583
138
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.