Keyboard 通过VNC连接,键盘语言在virtualBox机器中发生变化

Keyboard 通过VNC连接,键盘语言在virtualBox机器中发生变化,keyboard,virtualbox,vnc,Keyboard,Virtualbox,Vnc,大家好,我有这个问题,我找不到解决办法 问题: 当我使用VNC连接到服务器后,我从VirtualBox启动了一个虚拟机,虚拟机的键盘已更改,我无法更改它。如果我输入主机,我仍然有我原来的键盘设置 试验: 我已经检查了旧线程,当我执行下一个命令时: LOG_KB_SECONDARY=1 VirtualBox -startvm <your VM name> LOG\u KB\u SECONDARY=1 VirtualBox-startvm 我得到以下信息: Attempting to

大家好,我有这个问题,我找不到解决办法

问题:

当我使用VNC连接到服务器后,我从VirtualBox启动了一个虚拟机,虚拟机的键盘已更改,我无法更改它。如果我输入主机,我仍然有我原来的键盘设置

试验:

我已经检查了旧线程,当我执行下一个命令时:

LOG_KB_SECONDARY=1 VirtualBox -startvm <your VM name>
LOG\u KB\u SECONDARY=1 VirtualBox-startvm
我得到以下信息:

Attempting to match against "U.S. English"
Matches=47, seq=33
Attempting to match against "U.S. English, International (with dead keys)"
Matches=44, seq=31
...
Excluded more attempts
...
Detected layout is "U.S. English", matches=47, seq=33
Warning - keycode 17, keysym "0)" (0x30 0x29) was matched to scancode 11
Warning - keycode 18, keysym "1!" (0x31 0x21) was matched to scancode 2
Warning - keycode 19, keysym "2@" (0x32 0x40) was matched to scancode 3
Warning - keycode 20, keysym "3#" (0x33 0x23) was matched to scancode 4
Warning - keycode 21, keysym "4$" (0x34 0x24) was matched to scancode 5
Warning - keycode 22, keysym "5%" (0x35 0x25) was matched to scancode 6
Warning - keycode 23, keysym "6^" (0x36 0x5e) was matched to scancode 7
Warning - keycode 24, keysym "7&" (0x37 0x26) was matched to scancode 8
Warning - keycode 25, keysym "8*" (0x38 0x2a) was matched to scancode 9
Warning - keycode 26, keysym "9(" (0x39 0x28) was matched to scancode 10
Warning - keycode 27, keysym "-_" (0x2d 0x5f) was matched to scancode 12
Warning - keycode 28, keysym "=+" (0x3d 0x2b) was matched to scancode 13
Warning - keycode 29, keysym "[{" (0x5b 0x7b) was matched to scancode 26
Warning - keycode 30, keysym "]}" (0x5d 0x7d) was matched to scancode 27
Warning - keycode 31, keysym ";:" (0x3b 0x3a) was matched to scancode 39
Warning - keycode 32, keysym "'"" (0x27 0x22) was matched to scancode 40
Warning - keycode 33, keysym "`~" (0x60 0x7e) was matched to scancode 41
Warning - keycode 34, keysym ",<" (0x2c 0x3c) was matched to scancode 51
Warning - keycode 35, keysym ".>" (0x2e 0x3e) was matched to scancode 52
Warning - keycode 36, keysym "/?" (0x2f 0x3f) was matched to scancode 53
Warning - keycode 37, keysym "\|" (0x5c 0x7c) was matched to scancode 43
Warning - keycode 39, keysym "bB" (0x62 0x42) was matched to scancode 48
Warning - keycode 40, keysym "cC" (0x63 0x43) was matched to scancode 46
Warning - keycode 41, keysym "dD" (0x64 0x44) was matched to scancode 32
Warning - keycode 42, keysym "eE" (0x65 0x45) was matched to scancode 18
Warning - keycode 43, keysym "fF" (0x66 0x46) was matched to scancode 33
Warning - keycode 44, keysym "gG" (0x67 0x47) was matched to scancode 34
Warning - keycode 45, keysym "hH" (0x68 0x48) was matched to scancode 35
Warning - keycode 46, keysym "iI" (0x69 0x49) was matched to scancode 23
Warning - keycode 47, keysym "jJ" (0x6a 0x4a) was matched to scancode 36
Warning - keycode 48, keysym "kK" (0x6b 0x4b) was matched to scancode 37
Warning - keycode 49, keysym "lL" (0x6c 0x4c) was matched to scancode 38
Warning - keycode 50, keysym "mM" (0x6d 0x4d) was matched to scancode 50
Warning - keycode 51, keysym "nN" (0x6e 0x4e) was matched to scancode 49
Warning - keycode 52, keysym "oO" (0x6f 0x4f) was matched to scancode 24
Warning - keycode 53, keysym "pP" (0x70 0x50) was matched to scancode 25
Warning - keycode 54, keysym "qQ" (0x71 0x51) was matched to scancode 16
Warning - keycode 55, keysym "rR" (0x72 0x52) was matched to scancode 19
Warning - keycode 56, keysym "sS" (0x73 0x53) was matched to scancode 31
Warning - keycode 57, keysym "tT" (0x74 0x54) was matched to scancode 20
Warning - keycode 58, keysym "uU" (0x75 0x55) was matched to scancode 22
Warning - keycode 59, keysym "vV" (0x76 0x56) was matched to scancode 47
Warning - keycode 60, keysym "wW" (0x77 0x57) was matched to scancode 17
Warning - keycode 61, keysym "xX" (0x78 0x58) was matched to scancode 45
Warning - keycode 62, keysym "yY" (0x79 0x59) was matched to scancode 21
Warning - keycode 63, keysym "zZ" (0x7a 0x5a) was matched to scancode 44
Finished mapping keyboard, matches=47, entries=47 (excluding 102nd key)
试图与“美国英语”匹配
匹配项=47,序号=33
试图与“美国英语、国际(带死键)”比赛
匹配项=44,序号=31
...
排除了更多的尝试
...
检测到的布局为“美国英语”,匹配项=47,序号=33
警告-钥匙代码17,钥匙符号“0”(0x30 0x29)与扫描代码11匹配
警告-键码18,键符号“1!”(0x31 0x21)与扫描码2匹配
警告-钥匙代码19,钥匙符号“2@”(0x32 0x40)与扫描代码3匹配
警告-键码20,键SYM“3#”(0x33 0x23)与扫描码4匹配
警告-键码21,键SYM“4$”(0x34 0x24)与扫描码5匹配
警告-键码22,键SYM“5%”(0x35 0x25)与扫描码6匹配
警告-钥匙代码23,钥匙符号“6^”(0x36 0x5e)与扫描代码7匹配
警告-键码24,键SYM“7&”(0x37 0x26)与扫描码8匹配
警告-键码25,键SYM“8*”(0x38 0x2a)与扫描码9匹配
警告-钥匙代码26,钥匙符号“9”((0x39 0x28)与扫描代码10匹配
警告-键码27,键SYM“-2;”(0x2d 0x5f)与扫描码12匹配
警告-键码28,键SYM“=+”(0x3d 0x2b)与扫描码13匹配
警告-键码29,键SYM“[{”(0x5b 0x7b)与扫描码26匹配
警告-键码30,键符号“]}”(0x5d 0x7d)与扫描码27匹配
警告-键码31,键符号“;:”(0x3b 0x3a)与扫描码39匹配
警告-keycode 32,keysym“'”(0x27 0x22)与扫描码40匹配
警告-键码33,键符号“`~”(0x60 0x7e)与扫描码41匹配
警告-钥匙代码34,钥匙符号“,”(0x2e 0x3e)与扫描代码52匹配
警告-钥匙代码36,钥匙符号“/?(0x2f 0x3f)与扫描代码53匹配
警告-钥匙代码37,钥匙符号“\\\”(0x5c 0x7c)与扫描代码43匹配
警告-钥匙代码39,钥匙符号“bB”(0x62 0x42)与扫描代码48匹配
警告-钥匙代码40,钥匙符号“cC”(0x63 0x43)与扫描代码46匹配
警告-键码41,键符号“dD”(0x64 0x44)与扫描码32匹配
警告-键码42,键符号“eE”(0x65 0x45)与扫描码18匹配
警告-钥匙代码43,钥匙符号“fF”(0x66 0x46)与扫描代码33匹配
警告-钥匙代码44,钥匙符号“gG”(0x67 0x47)与扫描代码34匹配
警告-钥匙代码45,钥匙符号“hH”(0x68 0x48)与扫描代码35匹配
警告-钥匙代码46,钥匙符号“iI”(0x69 0x49)与扫描代码23匹配
警告-钥匙代码47,钥匙符号“jJ”(0x6a 0x4a)与扫描代码36匹配
警告-钥匙代码48,钥匙符号“kK”(0x6b 0x4b)与扫描代码37匹配
警告-钥匙代码49,钥匙符号“lL”(0x6c 0x4c)与扫描代码38匹配
警告-钥匙代码50,钥匙符号“mM”(0x6d 0x4d)与扫描代码50匹配
警告-钥匙代码51,钥匙符号“nN”(0x6e 0x4e)与扫描代码49匹配
警告-键码52,键符号“oO”(0x6f 0x4f)与扫描码24匹配
警告-键代码53,键符号“pP”(0x70 0x50)与扫描代码25匹配
警告-键码54,键符号“qQ”(0x71 0x51)与扫描码16匹配
警告-钥匙代码55,钥匙符号“rR”(0x72 0x52)与扫描代码19匹配
警告-钥匙代码56,钥匙符号“sS”(0x73 0x53)与扫描代码31匹配
警告-钥匙代码57,钥匙符号“tT”(0x74 0x54)与扫描代码20匹配
警告-键码58,键符号“uU”(0x75 0x55)与扫描码22匹配
警告-钥匙代码59,钥匙符号“vV”(0x76 0x56)与扫描代码47匹配
警告-钥匙代码60,钥匙符号“wW”(0x77 0x57)与扫描代码17匹配
警告-钥匙代码61,钥匙符号“xX”(0x78 0x58)与扫描代码45匹配
警告-钥匙代码62,钥匙符号“yY”(0x79 0x59)与扫描代码21匹配
警告-钥匙代码63,钥匙符号“zZ”(0x7a 0x5a)与扫描代码44匹配
已完成键盘映射,匹配项=47,条目=47(不包括第102键)
我猜VirtualBox无法检测到正确的键盘设置。当我在服务器上执行相同的命令(不使用VNC)时,我会得到完全不同的输出,并且正确地检测到键盘

有趣的数据:

  • 主机:Ubuntu 14.04
  • 嘉宾:几个(Lubuntu、Ubuntu14.04等)
  • VirtualBox版本:5.0.8