qemu-system-x86_64: warning: Unknown X11 keycode mapping '<null>'.
I got this while running qemu under VNC, and was told to report it.
including the following information:
- Operating system
Debian GNU/Linux sid/x32
- X11 Server
x11vnc 0.9.16-3 - xprop -root _NET_ACTIVE_WINDOW(WINDOW): window id # 0x1400010 _NET_CLIENT_LIST(WINDOW): window id # 0x400010, 0x100000b, 0x1400010 _NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x100000b, 0x1400010, 0x400010 _WIN_CLIENT_LIST(CARDINAL) = 16777227, 20971536, 4194320 ICEWM_GUI_EVENT(ICEWM_GUI_EVENT) = 0xf _WIN_DESKTOP_BUTTON_PROXY(CARDINAL) = 12583282 _WIN_WORKAREA(CARDINAL) = 0, 0, 1000, 743 _NET_WORKAREA(CARDINAL) = 0, 0, 1000, 743, 0, 0, 1000, 743, 0, 0, 1000, 743, 0, 0, 1000, 743 _NET_CURRENT_DESKTOP(CARDINAL) = 0 _WIN_WORKSPACE(CARDINAL) = 0 _NET_SHOWING_DESKTOP(CARDINAL) = 0 _NET_DESKTOP_VIEWPORT(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0 _NET_DESKTOP_GEOMETRY(CARDINAL) = 1000, 768 _NET_NUMBER_OF_DESKTOPS(CARDINAL) = 4 _WIN_WORKSPACE_COUNT(CARDINAL) = 4 _NET_DESKTOP_NAMES(UTF8_STRING) = " 1 ", " 2 ", " 3 ", " 4 " _WIN_WORKSPACE_NAMES(STRING) = " 1 ", " 2 ", " 3 ", " 4 " WM_ICON_SIZE(WM_ICON_SIZE): minimum icon size: 32 by 32 maximum icon size: 32 by 32 incremental size change: 1 by 1 _NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0xc00014 _NET_SUPPORTED(ATOM) = _NET_ACTIVE_WINDOW, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_CLOSE_WINDOW, _NET_CURRENT_DESKTOP, _NET_DESKTOP_GEOMETRY, _NET_DESKTOP_LAYOUT, _NET_DESKTOP_NAMES, _NET_DESKTOP_VIEWPORT, _NET_FRAME_EXTENTS, _NET_MOVERESIZE_WINDOW, _NET_NUMBER_OF_DESKTOPS, _NET_REQUEST_FRAME_EXTENTS, _NET_RESTACK_WINDOW, _NET_SHOWING_DESKTOP, _NET_STARTUP_ID, _NET_SUPPORTED, _NET_SUPPORTING_WM_CHECK, _NET_SYSTEM_TRAY_MESSAGE_DATA, _NET_SYSTEM_TRAY_OPCODE, _NET_SYSTEM_TRAY_ORIENTATION, _NET_SYSTEM_TRAY_VISUAL, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK, _NET_WM_ALLOWED_ACTIONS, _NET_WM_DESKTOP, _NET_WM_FULLSCREEN_MONITORS, _NET_WM_HANDLED_ICONS, _NET_WM_ICON_NAME, _NET_WM_ICON, _NET_WM_MOVERESIZE, _NET_WM_NAME, _NET_WM_PID, _NET_WM_PING, _NET_WM_STATE, _NET_WM_STATE_ABOVE, _NET_WM_STATE_BELOW, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_WM_STATE_FOCUSED, _NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_HIDDEN, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MODAL, _NET_WM_STATE_SHADED, _NET_WM_STATE_SKIP_PAGER, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_STICKY, _NET_WM_STRUT, _NET_WM_STRUT_PARTIAL, _NET_WM_USER_TIME, _NET_WM_USER_TIME_WINDOW, _NET_WM_VISIBLE_ICON_NAME, _NET_WM_VISIBLE_NAME, _NET_WM_WINDOW_OPACITY, _NET_WM_WINDOW_TYPE, _NET_WM_WINDOW_TYPE_COMBO, _NET_WM_WINDOW_TYPE_DESKTOP, _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_DND, _NET_WM_WINDOW_TYPE_DOCK, _NET_WM_WINDOW_TYPE_DROPDOWN_MENU, _NET_WM_WINDOW_TYPE_MENU, _NET_WM_WINDOW_TYPE_NORMAL, _NET_WM_WINDOW_TYPE_NOTIFICATION, _NET_WM_WINDOW_TYPE_POPUP_MENU, _NET_WM_WINDOW_TYPE_SPLASH, _NET_WM_WINDOW_TYPE_TOOLBAR, _NET_WM_WINDOW_TYPE_TOOLTIP, _NET_WM_WINDOW_TYPE_UTILITY, _NET_WORKAREA _WIN_AREA(CARDINAL) = 0, 0 _WIN_AREA_COUNT(CARDINAL) = 1, 1 _WIN_SUPPORTING_WM_CHECK(CARDINAL) = 12582932 _WIN_PROTOCOLS(ATOM) = _WIN_AREA, _WIN_AREA_COUNT, _WIN_CLIENT_LIST, _WIN_DESKTOP_BUTTON_PROXY, _WIN_HINTS, _WIN_ICONS, _WIN_LAYER, _WIN_PROTOCOLS, _WIN_STATE, _WIN_SUPPORTING_WM_CHECK, _ICEWM_TRAY, _WIN_WORKAREA, _WIN_WORKSPACE, _WIN_WORKSPACE_COUNT, _WIN_WORKSPACE_NAMES _XROOTCOLOR_PIXEL(CARDINAL) = 8256 _XROOTPMAP_ID(PIXMAP): pixmap id # 0x0 _ICEWMBG_PID_S0(CARDINAL) = 4749 RESOURCE_MANAGER(STRING) = "*VT100*translations:\t#override \\n Shift~Ctrl<KeyPress>Insert:insert-selection(PRIMARY) \\n Shift Ctrl<KeyPress>Insert:insert-selection(CLIPBOARD) \\n ~Shift~Ctrl<Btn2Up>:insert-selection(PRIMARY) \\n Shift~Ctrl<Btn2Up>:insert-selection(CLIPBOARD) \\n ~Shift<BtnUp>:select-end(PRIMARY) \\n Shift<BtnUp>:select-end(CLIPBOARD) \\n\nXTerm*VT100*loginShell:\ttrue\nXTerm*keepSelection:\ttrue\nXTerm*ScrollBar:\tfalse\nXTerm*SaveLines:\t4096\nXTerm*eightBitInput:\ttrue\nXTerm*eightBitOutput:\ttrue\nXTerm*backarrowKeyIsErase:\ttrue\nXTerm*deleteIsDEL:\tfalse\nXTerm*ptyInitialErase:\ttrue\nXTerm*VT100*background:\tblack\nXTerm*VT100*foreground:\trgb:AA/AA/AA\nXTerm*termName:\txterm\nXTerm*pointerColor:\trgb:FF/B0/00\nXTerm*pointerMode:\t0\nXTerm*cursorBlink:\ttrue\nXTerm*cursorUnderLine:\ttrue\nXTerm*cursorColor:\trgb:FF/B0/00\nXTerm*VT100*colorMode:\ttrue\nXTerm*VT100*colorBDMode:\ttrue\nXTerm*VT100*colorBLMode:\tfalse\nXTerm*VT100*colorULMode:\tfalse\nXTerm*VT100*boldColors:\ttrue\nXTerm*VT100*boldMode:\tfalse\nXTerm*allowBoldFonts:\tfalse\nXTerm*VT100*dynamicColors:\ttrue\nXTerm*VT100*utf8:\t1\nXTerm*VT100*color0:\trgb:00/00/00\nXTerm*VT100*color1:\trgb:AA/00/00\nXTerm*VT100*color2:\trgb:00/AA/00\nXTerm*VT100*color3:\trgb:AA/55/00\nXTerm*VT100*color4:\trgb:00/00/AA\nXTerm*VT100*color5:\trgb:AA/00/AA\nXTerm*VT100*color6:\trgb:00/AA/AA\nXTerm*VT100*color7:\trgb:AA/AA/AA\nXTerm*VT100*color8:\trgb:55/55/55\nXTerm*VT100*color9:\trgb:FF/55/55\nXTerm*VT100*color10:\trgb:55/FF/55\nXTerm*VT100*color11:\trgb:FF/FF/55\nXTerm*VT100*color12:\trgb:55/55/FF\nXTerm*VT100*color13:\trgb:FF/55/FF\nXTerm*VT100*color14:\trgb:55/FF/FF\nXTerm*VT100*color15:\trgb:FF/FF/FF\nXTerm*VT100*colorBD:\twhite\nXTerm*fontMenu*background:\tAntiqueWhite\nXTerm*fontMenu*foreground:\tgray15\nXTerm*fontMenu.Label:\tUCS Fonts\nXTerm*VT100*font:\t-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1\nXTerm*VT100*boldFont:\t-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1\nXTerm*VT100*wideFont:\t-misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1\nXTerm*VT100*wideBoldFont:\t-misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1\nXTerm*fontMenu*font1*Label:\tFixedMisc\nXTerm*VT100*font1:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nXTerm*VT100*font2:\t-misc-fixed-medium-r-normal--7-70-75-75-c-50-iso10646-1\nXTerm*VT100*font3:\t-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1\nXTerm*VT100*font4:\t-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1\nXTerm*VT100*font5:\t-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1\nXTerm*VT100*font6:\t-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1\nXTerm*visualBell:\ttrue\nUXTerm*VT100*loginShell:\ttrue\nUXTerm*keepSelection:\ttrue\nUXTerm*ScrollBar:\tfalse\nUXTerm*SaveLines:\t4096\nUXTerm*eightBitInput:\ttrue\nUXTerm*eightBitOutput:\ttrue\nUXTerm*backarrowKeyIsErase:\ttrue\nUXTerm*deleteIsDEL:\tfalse\nUXTerm*ptyInitialErase:\ttrue\nUXTerm*VT100*background:\tblack\nUXTerm*VT100*foreground:\trgb:AA/AA/AA\nUXTerm*termName:\txterm\nUXTerm*pointerColor:\trgb:FF/B0/00\nUXTerm*pointerMode:\t0\nUXTerm*cursorBlink:\ttrue\nUXTerm*cursorUnderLine:\ttrue\nUXTerm*cursorColor:\trgb:FF/B0/00\nUXTerm*VT100*colorMode:\ttrue\nUXTerm*VT100*colorBDMode:\ttrue\nUXTerm*VT100*colorBLMode:\tfalse\nUXTerm*VT100*colorULMode:\tfalse\nUXTerm*VT100*boldColors:\ttrue\nUXTerm*VT100*boldMode:\tfalse\nUXTerm*allowBoldFonts:\tfalse\nUXTerm*VT100*dynamicColors:\ttrue\nUXTerm*VT100*utf8:\t1\nUXTerm*VT100*color0:\trgb:00/00/00\nUXTerm*VT100*color1:\trgb:AA/00/00\nUXTerm*VT100*color2:\trgb:00/AA/00\nUXTerm*VT100*color3:\trgb:AA/55/00\nUXTerm*VT100*color4:\trgb:00/00/AA\nUXTerm*VT100*color5:\trgb:AA/00/AA\nUXTerm*VT100*color6:\trgb:00/AA/AA\nUXTerm*VT100*color7:\trgb:AA/AA/AA\nUXTerm*VT100*color8:\trgb:55/55/55\nUXTerm*VT100*color9:\trgb:FF/55/55\nUXTerm*VT100*color10:\trgb:55/FF/55\nUXTerm*VT100*color11:\trgb:FF/FF/55\nUXTerm*VT100*color12:\trgb:55/55/FF\nUXTerm*VT100*color13:\trgb:FF/55/FF\nUXTerm*VT100*color14:\trgb:55/FF/FF\nUXTerm*VT100*color15:\trgb:FF/FF/FF\nUXTerm*VT100*colorBD:\twhite\nUXTerm*fontMenu*background:\tAntiqueWhite\nUXTerm*fontMenu*foreground:\tgray15\nUXTerm*fontMenu.Label:\tUCS Fonts\nUXTerm*VT100*font:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nUXTerm*VT100*boldFont:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nUXTerm*VT100*wideFont:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-180-iso10646-1\nUXTerm*VT100*wideBoldFont:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-180-iso10646-1\nUXTerm*fontMenu*font1*Label:\txTerm-like\nUXTerm*fontMenu*font3*Label:\tnarrow tall\nUXTerm*fontMenu*font4*Label:\twide short\nUXTerm*fontMenu*font5*Label:\tFixedMisc\nUXTerm*VT100*font1:\t-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1\nUXTerm*VT100*font2:\t-misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1\nUXTerm*VT100*font3:\t-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1\nUXTerm*VT100*font4:\t-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1\nUXTerm*VT100*font5:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nUXTerm*VT100*font6:\t-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1\nUXTerm*visualBell:\ttrue\nAXTerm*VT100*loginShell:\ttrue\nAXTerm*keepSelection:\ttrue\nAXTerm*ScrollBar:\tfalse\nAXTerm*SaveLines:\t4096\nAXTerm*eightBitInput:\ttrue\nAXTerm*eightBitOutput:\ttrue\nAXTerm*backarrowKeyIsErase:\ttrue\nAXTerm*deleteIsDEL:\tfalse\nAXTerm*ptyInitialErase:\ttrue\nAXTerm*VT100*background:\tblack\nAXTerm*VT100*foreground:\trgb:FF/B0/00\nAXTerm*termName:\txterm\nAXTerm*pointerColor:\twhite\nAXTerm*pointerMode:\t0\nAXTerm*cursorBlink:\ttrue\nAXTerm*cursorUnderLine:\ttrue\nAXTerm*cursorColor:\twhite\nAXTerm*VT100*colorMode:\ttrue\nAXTerm*VT100*colorBDMode:\ttrue\nAXTerm*VT100*colorBLMode:\tfalse\nAXTerm*VT100*colorULMode:\tfalse\nAXTerm*VT100*boldColors:\ttrue\nAXTerm*VT100*boldMode:\tfalse\nAXTerm*allowBoldFonts:\tfalse\nAXTerm*VT100*dynamicColors:\ttrue\nAXTerm*VT100*utf8:\t1\nAXTerm*VT100*color0:\trgb:00/00/00\nAXTerm*VT100*color1:\trgb:AA/00/00\nAXTerm*VT100*color2:\trgb:00/AA/00\nAXTerm*VT100*color3:\trgb:AA/55/00\nAXTerm*VT100*color4:\trgb:00/00/AA\nAXTerm*VT100*color5:\trgb:AA/00/AA\nAXTerm*VT100*color6:\trgb:00/AA/AA\nAXTerm*VT100*color7:\trgb:AA/AA/AA\nAXTerm*VT100*color8:\trgb:55/55/55\nAXTerm*VT100*color9:\trgb:FF/55/55\nAXTerm*VT100*color10:\trgb:55/FF/55\nAXTerm*VT100*color11:\trgb:FF/FF/55\nAXTerm*VT100*color12:\trgb:55/55/FF\nAXTerm*VT100*color13:\trgb:FF/55/FF\nAXTerm*VT100*color14:\trgb:55/FF/FF\nAXTerm*VT100*color15:\trgb:FF/FF/FF\nAXTerm*VT100*colorBD:\trgb:FF/EF/00\nAXTerm*fontMenu*background:\tAntiqueWhite\nAXTerm*fontMenu*foreground:\tgray15\nAXTerm*fontMenu.Label:\tUCS Fonts\nAXTerm*VT100*font:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nAXTerm*VT100*boldFont:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nAXTerm*VT100*wideFont:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-180-iso10646-1\nAXTerm*VT100*wideBoldFont:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-180-iso10646-1\nAXTerm*fontMenu*font1*Label:\txTerm-like\nAXTerm*fontMenu*font3*Label:\tnarrow tall\nAXTerm*fontMenu*font4*Label:\twide short\nAXTerm*fontMenu*font5*Label:\tFixedMisc\nAXTerm*VT100*font1:\t-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1\nAXTerm*VT100*font2:\t-misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1\nAXTerm*VT100*font3:\t-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1\nAXTerm*VT100*font4:\t-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1\nAXTerm*VT100*font5:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nAXTerm*VT100*font6:\t-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1\nAXTerm*visualBell:\ttrue\nBXTerm*VT100*loginShell:\ttrue\nBXTerm*keepSelection:\ttrue\nBXTerm*ScrollBar:\tfalse\nBXTerm*SaveLines:\t4096\nBXTerm*eightBitInput:\ttrue\nBXTerm*eightBitOutput:\ttrue\nBXTerm*backarrowKeyIsErase:\ttrue\nBXTerm*deleteIsDEL:\tfalse\nBXTerm*ptyInitialErase:\ttrue\nBXTerm*VT100*background:\twhite\nBXTerm*VT100*foreground:\tblack\nBXTerm*termName:\txterm-r6\nBXTerm*pointerColor:\trgb:FF/B0/00\nBXTerm*pointerMode:\t0\nBXTerm*cursorBlink:\ttrue\nBXTerm*cursorUnderLine:\ttrue\nBXTerm*cursorColor:\trgb:FF/B0/00\nBXTerm*VT100*colorMode:\tfalse\nBXTerm*VT100*colorBDMode:\tfalse\nBXTerm*VT100*colorBLMode:\tfalse\nBXTerm*VT100*colorULMode:\tfalse\nBXTerm*VT100*boldColors:\tfalse\nBXTerm*VT100*boldMode:\ttrue\nBXTerm*allowBoldFonts:\tfalse\nBXTerm*VT100*dynamicColors:\tfalse\nBXTerm*VT100*utf8:\t1\nBXTerm*fontMenu*background:\tAntiqueWhite\nBXTerm*fontMenu*foreground:\tgray15\nBXTerm*fontMenu.Label:\tUCS Fonts\nBXTerm*VT100*font:\t-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1\nBXTerm*VT100*wideFont:\t-misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1\nBXTerm*fontMenu*font1*Label:\tFixedMisc\nBXTerm*VT100*font1:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nBXTerm*VT100*font2:\t-misc-fixed-medium-r-normal--7-70-75-75-c-50-iso10646-1\nBXTerm*VT100*font3:\t-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1\nBXTerm*VT100*font4:\t-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1\nBXTerm*VT100*font5:\t-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1\nBXTerm*VT100*font6:\t-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1\nBXTerm*visualBell:\ttrue\nTXTerm*VT100*loginShell:\ttrue\nTXTerm*keepSelection:\ttrue\nTXTerm*ScrollBar:\tfalse\nTXTerm*SaveLines:\t4096\nTXTerm*eightBitInput:\ttrue\nTXTerm*eightBitOutput:\ttrue\nTXTerm*backarrowKeyIsErase:\ttrue\nTXTerm*deleteIsDEL:\tfalse\nTXTerm*ptyInitialErase:\ttrue\nTXTerm*VT100*background:\tblack\nTXTerm*VT100*foreground:\trgb:AA/AA/AA\nTXTerm*termName:\txterm\nTXTerm*pointerColor:\trgb:FF/B0/00\nTXTerm*pointerMode:\t0\nTXTerm*cursorBlink:\ttrue\nTXTerm*cursorUnderLine:\ttrue\nTXTerm*cursorColor:\trgb:FF/B0/00\nTXTerm*VT100*colorMode:\ttrue\nTXTerm*VT100*colorBDMode:\ttrue\nTXTerm*VT100*colorBLMode:\tfalse\nTXTerm*VT100*colorULMode:\tfalse\nTXTerm*VT100*boldColors:\ttrue\nTXTerm*VT100*boldMode:\tfalse\nTXTerm*allowBoldFonts:\tfalse\nTXTerm*VT100*dynamicColors:\ttrue\nTXTerm*VT100*utf8:\t1\nTXTerm*VT100*color0:\trgb:00/00/00\nTXTerm*VT100*color1:\trgb:AA/00/00\nTXTerm*VT100*color2:\trgb:00/AA/00\nTXTerm*VT100*color3:\trgb:AA/55/00\nTXTerm*VT100*color4:\trgb:00/00/AA\nTXTerm*VT100*color5:\trgb:AA/00/AA\nTXTerm*VT100*color6:\trgb:00/AA/AA\nTXTerm*VT100*color7:\trgb:AA/AA/AA\nTXTerm*VT100*color8:\trgb:55/55/55\nTXTerm*VT100*color9:\trgb:FF/55/55\nTXTerm*VT100*color10:\trgb:55/FF/55\nTXTerm*VT100*color11:\trgb:FF/FF/55\nTXTerm*VT100*color12:\trgb:55/55/FF\nTXTerm*VT100*color13:\trgb:FF/55/FF\nTXTerm*VT100*color14:\trgb:55/FF/FF\nTXTerm*VT100*color15:\trgb:FF/FF/FF\nTXTerm*VT100*colorBD:\twhite\nTXTerm*fontMenu*background:\tAntiqueWhite\nTXTerm*fontMenu*foreground:\tgray15\nTXTerm*fontMenu.Label:\tTerminus Fonts\nTXTerm*VT100*font:\t-xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1\nTXTerm*VT100*boldFont:\t-xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1\nTXTerm*fontMenu*font1*Label:\txTerm-like\nTXTerm*fontMenu*font2*Label:\tFixedMisc\nTXTerm*fontMenu*font3*Label:\tTerminusNorm\nTXTerm*fontMenu*font4*Label:\tTerminusBold\nTXTerm*fontMenu*font5*Label:\tTerminusMed\nTXTerm*fontMenu*font6*Label:\tTerminusBig\nTXTerm*VT100*font1:\t-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1\nTXTerm*VT100*font2:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nTXTerm*VT100*font3:\t-xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1\nTXTerm*VT100*font4:\t-xos4-terminus-bold-r-normal--14-140-72-72-c-80-iso10646-1\nTXTerm*VT100*font5:\t-xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1\nTXTerm*VT100*font6:\t-xos4-terminus-medium-r-normal--20-200-72-72-c-100-iso10646-1\nTXTerm*visualBell:\ttrue\nRXTerm*VT100*loginShell:\ttrue\nRXTerm*keepSelection:\ttrue\nRXTerm*ScrollBar:\tfalse\nRXTerm*SaveLines:\t4096\nRXTerm*eightBitInput:\ttrue\nRXTerm*eightBitOutput:\ttrue\nRXTerm*backarrowKeyIsErase:\ttrue\nRXTerm*deleteIsDEL:\tfalse\nRXTerm*ptyInitialErase:\ttrue\nRXTerm*VT100*background:\trgb:FF/FF/FF\nRXTerm*VT100*foreground:\trgb:00/00/00\nRXTerm*termName:\txterm\nRXTerm*pointerColor:\trgb:00/FF/00\nRXTerm*pointerMode:\t0\nRXTerm*cursorBlink:\ttrue\nRXTerm*cursorUnderLine:\ttrue\nRXTerm*cursorColor:\trgb:00/CC/00\nRXTerm*VT100*colorMode:\ttrue\nRXTerm*VT100*colorBDMode:\ttrue\nRXTerm*VT100*colorBLMode:\tfalse\nRXTerm*VT100*colorULMode:\tfalse\nRXTerm*VT100*boldColors:\ttrue\nRXTerm*VT100*boldMode:\tfalse\nRXTerm*allowBoldFonts:\tfalse\nRXTerm*VT100*dynamicColors:\ttrue\nRXTerm*VT100*utf8:\t1\nRXTerm*VT100*color0:\trgb:00/00/00\nRXTerm*VT100*color1:\trgb:AA/00/00\nRXTerm*VT100*color2:\trgb:00/AA/00\nRXTerm*VT100*color3:\trgb:AA/55/00\nRXTerm*VT100*color4:\trgb:00/00/AA\nRXTerm*VT100*color5:\trgb:AA/00/AA\nRXTerm*VT100*color6:\trgb:00/AA/AA\nRXTerm*VT100*color7:\trgb:AA/AA/AA\nRXTerm*VT100*color8:\trgb:55/55/55\nRXTerm*VT100*color9:\trgb:FF/55/55\nRXTerm*VT100*color10:\trgb:55/FF/55\nRXTerm*VT100*color11:\trgb:FF/FF/55\nRXTerm*VT100*color12:\trgb:55/55/FF\nRXTerm*VT100*color13:\trgb:FF/55/FF\nRXTerm*VT100*color14:\trgb:55/FF/FF\nRXTerm*VT100*color15:\trgb:FF/FF/FF\nRXTerm*VT100*colorBD:\trgb:00/CC/33\nRXTerm*fontMenu*background:\tAntiqueWhite\nRXTerm*fontMenu*foreground:\tgray15\nRXTerm*fontMenu.Label:\tUCS Fonts\nRXTerm*VT100*font:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nRXTerm*VT100*boldFont:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nRXTerm*VT100*wideFont:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-180-iso10646-1\nRXTerm*VT100*wideBoldFont:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-180-iso10646-1\nRXTerm*fontMenu*font1*Label:\txTerm-like\nRXTerm*fontMenu*font3*Label:\tnarrow tall\nRXTerm*fontMenu*font4*Label:\twide short\nRXTerm*fontMenu*font5*Label:\tFixedMisc\nRXTerm*VT100*font1:\t-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1\nRXTerm*VT100*font2:\t-misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1\nRXTerm*VT100*font3:\t-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1\nRXTerm*VT100*font4:\t-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1\nRXTerm*VT100*font5:\t-miros-fixedmisc-medium-r-normal--18-120-100-100-c-90-iso10646-1\nRXTerm*VT100*font6:\t-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1\nRXTerm*visualBell:\ttrue\nVXTerm*VT100*loginShell:\ttrue\nVXTerm*keepSelection:\ttrue\nVXTerm*ScrollBar:\tfalse\nVXTerm*SaveLines:\t4096\nVXTerm*eightBitInput:\ttrue\nVXTerm*eightBitOutput:\ttrue\nVXTerm*backarrowKeyIsErase:\ttrue\nVXTerm*deleteIsDEL:\tfalse\nVXTerm*ptyInitialErase:\ttrue\nVXTerm*VT100*background:\tblack\nVXTerm*VT100*foreground:\trgb:AA/AA/AA\nVXTerm*termName:\txterm\nVXTerm*pointerColor:\trgb:FF/B0/00\nVXTerm*pointerMode:\t0\nVXTerm*cursorBlink:\ttrue\nVXTerm*cursorUnderLine:\ttrue\nVXTerm*cursorColor:\trgb:FF/B0/00\nVXTerm*VT100*colorMode:\ttrue\nVXTerm*VT100*colorBDMode:\ttrue\nVXTerm*VT100*colorBLMode:\tfalse\nVXTerm*VT100*colorULMode:\tfalse\nVXTerm*VT100*boldColors:\ttrue\nVXTerm*VT100*boldMode:\tfalse\nVXTerm*allowBoldFonts:\tfalse\nVXTerm*VT100*dynamicColors:\ttrue\nVXTerm*VT100*utf8:\t0\nVXTerm*VT100*color0:\trgb:00/00/00\nVXTerm*VT100*color1:\trgb:AA/00/00\nVXTerm*VT100*color2:\trgb:00/AA/00\nVXTerm*VT100*color3:\trgb:AA/55/00\nVXTerm*VT100*color4:\trgb:00/00/AA\nVXTerm*VT100*color5:\trgb:AA/00/AA\nVXTerm*VT100*color6:\trgb:00/AA/AA\nVXTerm*VT100*color7:\trgb:AA/AA/AA\nVXTerm*VT100*color8:\trgb:55/55/55\nVXTerm*VT100*color9:\trgb:FF/55/55\nVXTerm*VT100*color10:\trgb:55/FF/55\nVXTerm*VT100*color11:\trgb:FF/FF/55\nVXTerm*VT100*color12:\trgb:55/55/FF\nVXTerm*VT100*color13:\trgb:FF/55/FF\nVXTerm*VT100*color14:\trgb:55/FF/FF\nVXTerm*VT100*color15:\trgb:FF/FF/FF\nVXTerm*VT100*colorBD:\twhite\nVXTerm*fontMenu*background:\tAntiqueWhite\nVXTerm*fontMenu*foreground:\tgray15\nVXTerm*fontMenu.Label:\tVGA Fonts\nVXTerm*VT100*font:\t-miros-fixedmiscpc-medium-r-normal--16-120-100-100-c-80-ibm-cp437\nVXTerm*VT100*boldFont:\t-miros-fixedmiscpc-medium-r-normal--16-120-100-100-c-80-ibm-cp437\nVXTerm*fontMenu*font1*Label:\tSmall\nVXTerm*fontMenu*font2*Label:\tFixedMiscPC\nVXTerm*fontMenu*font3*Label:\tTerminusSmall\nVXTerm*fontMenu*font4*Label:\tTerminusMed\nVXTerm*fontMenu*font5*Label:\tvga8x14\nVXTerm*fontMenu*font6*Label:\tvga8x16\nVXTerm*VT100*font1:\t6x10\nVXTerm*VT100*font2:\t-miros-fixedmiscpc-medium-r-normal--16-120-100-100-c-80-ibm-cp437\nVXTerm*VT100*font3:\t-xos4-terminus-bold-r-normal--14-140-72-72-c-80-iso8859-1\nVXTerm*VT100*font4:\t-xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso8859-1\nVXTerm*VT100*font5:\t-misc-vga-bold-r-normal--14-110-96-96-c-80-ibm-cp437\nVXTerm*VT100*font6:\t-misc-vga-bold-r-normal--16-120-96-96-c-80-ibm-cp437\nVXTerm*visualBell:\ttrue\nVXTerm*VT100*geometry:\t80x25\nKTerm*VT100*loginShell:\ttrue\nKTerm*keepSelection:\ttrue\nKTerm*ScrollBar:\tfalse\nKTerm*SaveLines:\t4096\nKTerm*eightBitInput:\ttrue\nKTerm*eightBitOutput:\ttrue\nKTerm*backarrowKeyIsErase:\ttrue\nKTerm*deleteIsDEL:\tfalse\nKTerm*ptyInitialErase:\ttrue\nKTerm*VT100*background:\tblack\nKTerm*VT100*foreground:\trgb:AA/AA/AA\nKTerm*termName:\tkterm\nKTerm*pointerColor:\trgb:FF/B0/00\nKTerm*pointerMode:\t0\nKTerm*cursorBlink:\ttrue\nKTerm*cursorUnderLine:\ttrue\nKTerm*cursorColor:\trgb:FF/B0/00\nKTerm*VT100*colorMode:\ttrue\nKTerm*VT100*colorBDMode:\ttrue\nKTerm*VT100*colorBLMode:\tfalse\nKTerm*VT100*colorULMode:\tfalse\nKTerm*VT100*boldColors:\ttrue\nKTerm*VT100*boldMode:\tfalse\nKTerm*allowBoldFonts:\tfalse\nKTerm*VT100*dynamicColors:\ttrue\nKTerm*VT100*utf8:\t0\nKTerm*VT100*color0:\trgb:00/00/00\nKTerm*VT100*color1:\trgb:AA/00/00\nKTerm*VT100*color2:\trgb:00/AA/00\nKTerm*VT100*color3:\trgb:AA/55/00\nKTerm*VT100*color4:\trgb:00/00/AA\nKTerm*VT100*color5:\trgb:AA/00/AA\nKTerm*VT100*color6:\trgb:00/AA/AA\nKTerm*VT100*color7:\trgb:AA/AA/AA\nKTerm*VT100*color8:\trgb:55/55/55\nKTerm*VT100*color9:\trgb:FF/55/55\nKTerm*VT100*color10:\trgb:55/FF/55\nKTerm*VT100*color11:\trgb:FF/FF/55\nKTerm*VT100*color12:\trgb:55/55/FF\nKTerm*VT100*color13:\trgb:FF/55/FF\nKTerm*VT100*color14:\trgb:55/FF/FF\nKTerm*VT100*color15:\trgb:FF/FF/FF\nKTerm*VT100*colorBD:\twhite\nKTerm*fontMenu*background:\tAntiqueWhite\nKTerm*fontMenu*foreground:\tgray15\nKTerm*visualBell:\ttrue\nKTerm*VT100*kanjiMode:\teuc\nKTerm*VT100*Translations:\t#override Shift<Key>space: begin-conversion(_JAPANESE_CONVERSION) \\n\nXTerm*charClass:\t33:33,35:35,37:37,38:38,43:43,44:44,45:45,46:46,47:47,58:58,61:61,62:62,63:63,64:64,95:48,126:126\nUXTerm*charClass:\t33:33,35:35,37:37,38:38,43:43,44:44,45:45,46:46,47:47,58:58,61:61,62:62,63:63,64:64,95:48,126:126\nAXTerm*charClass:\t33:33,35:35,37:37,38:38,43:43,44:44,45:45,46:46,47:47,58:58,61:61,62:62,63:63,64:64,95:48,126:126\nBXTerm*charClass:\t33:33,35:35,37:37,38:38,43:43,44:44,45:45,46:46,47:47,58:58,61:61,62:62,63:63,64:64,95:48,126:126\nTXTerm*charClass:\t33:33,35:35,37:37,38:38,43:43,44:44,45:45,46:46,47:47,58:58,61:61,62:62,63:63,64:64,95:48,126:126\nRXTerm*charClass:\t33:33,35:35,37:37,38:38,43:43,44:44,45:45,46:46,47:47,58:58,61:61,62:62,63:63,64:64,95:48,126:126\nVXTerm*charClass:\t33:33,35:35,37:37,38:38,43:43,44:44,45:45,46:46,47:47,58:58,61:61,62:62,63:63,64:64,95:48,126:126\nKTerm*charClass:\t33:33,35:35,37:37,38:38,43:43,44:44,45:45,46:46,47:47,58:58,61:61,62:62,63:63,64:64,95:48,126:126\nXTerm*selectToClipboard:\tfalse\nUXTerm*selectToClipboard:\tfalse\nAXTerm*selectToClipboard:\tfalse\nBXTerm*selectToClipboard:\tfalse\nTXTerm*selectToClipboard:\tfalse\nRXTerm*selectToClipboard:\tfalse\nVXTerm*selectToClipboard:\tfalse\nKTerm*selectToClipboard:\tfalse\nNetscape*drawingArea*translations:\t#replace <Btn1Down>: ArmLink() \\n <Btn2Down>: ArmLink() \\n ~Shift<Btn1Up>: ActivateLink() \\n ~Shift<Btn2Up>: ActivateLink(new-window)DisarmLink() \\n Shift<Btn1Up>: ActivateLink(save-only)DisarmLink() \\n Shift<Btn2Up>: ActivateLink(save-only)DisarmLink() \\n <Btn1Motion>: DisarmLinkIfMoved() \\n <Btn2Motion>: DisarmLinkIfMoved() \\n <Btn3Motion>: DisarmLinkIfMoved() \\n <Motion>: DescribeLink() \\n <Btn3Down>: xfeDoPopup() \\n <Btn3Up>: ActivatePopup() \\n Ctrl<Btn4Down>: PageUp()\\n Ctrl<Btn5Down>: PageDown()\\n Shift<Btn4Down>: LineUp()\\n Shift<Btn5Down>: LineDown()\\n None<Btn4Down>: LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\\n None<Btn5Down>: LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\\n Alt<Btn4Down>: xfeDoCommand(forward)\\n Alt<Btn5Down>: xfeDoCommand(back)\\n\nNetscape*globalNonTextTranslations:\t#override\\n Shift<Btn4Down>: LineUp()\\n Shift<Btn5Down>: LineDown()\\n None<Btn4Down>: LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\\n None<Btn5Down>: LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\\n Alt<Btn4Down>: xfeDoCommand(forward)\\n Alt<Btn5Down>: xfeDoCommand(back)\\n\n"
- xdpyinfo
name of display: :2
version number: 11.0
vendor string: AT&T Laboratories Cambridge
vendor release number: 3332
maximum request size: 4194300 bytes motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 2
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0x1400010, revert to None
number of extensions: 7
BIG-REQUESTS
MIT-SHM
MIT-SUNDRY-NONSTANDARD
SHAPE
SYNC
XC-MISC
XTEST
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1000x768 pixels (339x260 millimeters)
resolution: 75x75 dots per inch
depths (1): 24
root window id: 0x25
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x21
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store YES, save-unders YES
largest cursor: 1000x768
current input event mask: 0xfa200c
ButtonPressMask ButtonReleaseMask ButtonMotionMask
StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask
FocusChangeMask PropertyChangeMask ColormapChangeMask
number of visuals: 1
default visual id: 0x22
visual:
visual id: 0x22
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
bye,
//mirabilos
Signature · 14 lines
tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg ********** Mit der tarent Academy bieten wir auch Trainings und Schulungen in den Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an. Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt. **********
Quoted 8 lines · Thorsten Glaser
I got this while running qemu under VNC, and was told to report it.
including the following information:
- Operating system
Debian GNU/Linux sid/x32
- X11 Serverx11vnc 0.9.16-3
Can you tell me a bit more detail about how you launch this all.
"x11vnc" suggests you had a regular X11 desktop session, and are exporting it via VNC ?
But later...
Quoted 4 lines
- xdpyinfo
name of display: :2
version number: 11.0
vendor string: AT&T Laboratories Cambridge
...this suggests your running a VNC server, with embedded X11 server
Quoted 1 line
- xprop -root
...there's no _XKB_RULES_NAMES(STRING) property listed, which is the key thing we'd expect to see for a modern X server. eg
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", ""
is what most X servers on Linux will report.
Can you also say what QEMU version ?
QEMU since 2.12.0 or later has a second way to detect the keymap, by querying the scancode mapping for certain keys.
So either your QEMU is fairly old, or you are using a keycode mapping that QEMU has no understanding of (we support evdev, or the classic xfree86 'kbd' mapping). It would be highly unusual not to use one of those two, but none the less, that appears to be the case here ?
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 2 lines · Daniel P. Berrangé
"x11vnc" suggests you had a regular X11 desktop session, and are exporting it via VNC ?
No, x11vnc is a standalone VNC server.
Quoted 1 line
Can you tell me a bit more detail about how you launch this all.
Sure:
$ vncserver -geometry 1000x768 -name nowm :2 $ (export DISPLAY=:2; exec </dev/null >>.xsession-errors; exec 2>&1; icewm-session &)
(I could run icewm-session from ~/.vnc/xstartup but this way it inherits some more desirable environment variables.)
My ~/.vnc/xstartup looks like:
#!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey uxterm &
Quoted 1 line
...this suggests your running a VNC server, with embedded X11 server
Yes, indeed.
Quoted 8 lines
Quoted 1 line
- xprop -root
...there's no
_XKB_RULES_NAMES(STRING)property listed, which is the key thing we'd expect to see for a modern X server. eg
_XKB_RULES_NAMES(STRING)= "evdev", "pc105", "us", "", ""is what most X servers on Linux will report.
This is not a good assumption to make. For example, I’m also using xmodmap instead of xkb for my keyboard layout under the main X.org desktop. (It does carry the xkb information because Debian starts it that way, but I replace it with xmodmap right in .xsessioinrc.)
Quoted 1 line
Can you also say what QEMU version ?
qemu-system-x86 1:4.2-3
Quoted 3 lines
So either your QEMU is fairly old, or you are using a keycode mapping that QEMU has no understanding of (we support evdev, or the classic xfree86 'kbd' mapping).
The latter is the Xmodmap one? If so, then okay.
Quoted 2 lines
It would be highly unusual not to use one of
those two, but none the less, that appears to be the case here ?
I must admit not knowing all that much about the VNC servers. I used to use tightvnc, but that had issues with… somewhat I don’t remember, so I now use tightvnc’s client but X11vnc as standalone server. There’s also tigervnc, but that works even worse for me.
I also tested this in an RDP session with xrdp and xorgxrdp, but things work thereunder just fine. (No surprise, xorgxrdp just provides keyboard, mouse and video modules to an other‐ wise distro-standard X.org server, so the whole xkb first, xmodmap later, dance also applies there, although it doesn’t use evdev keycodes but the earlier PC standard ones from XFree86® and pre-evdev X.org.)
But if I can do anything to help debugging this, sure.
bye,
//mirabilos
Signature · 14 lines
tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg ********** Mit der tarent Academy bieten wir auch Trainings und Schulungen in den Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an. Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt. **********
Quoted 25 lines · Thorsten Glaser
Quoted 2 lines · Daniel P. Berrangé
"x11vnc" suggests you had a regular X11 desktop session, and are exporting it via VNC ?
No, x11vnc is a standalone VNC server.
Quoted 1 line
Can you tell me a bit more detail about how you launch this all.
Sure:
$ vncserver -geometry 1000x768 -name nowm :2 $ (export DISPLAY=:2; exec </dev/null >>.xsession-errors; exec 2>&1; icewm-session &)(I could run icewm-session from ~/.vnc/xstartup but this way it inherits some more desirable environment variables.)
My ~/.vnc/xstartup looks like:
#!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey uxterm &
Quoted 12 lines
Quoted 1 line
...this suggests your running a VNC server, with embedded X11 server
Yes, indeed.
Quoted 8 lines
Quoted 1 line
- xprop -root
...there's no
_XKB_RULES_NAMES(STRING)property listed, which is the key thing we'd expect to see for a modern X server. eg
_XKB_RULES_NAMES(STRING)= "evdev", "pc105", "us", "", ""is what most X servers on Linux will report.
Or 'kbd' instead of 'evdev' is fine too
Quoted 5 lines
This is not a good assumption to make. For example, I’m also using xmodmap instead of xkb for my keyboard layout under the main X.org desktop. (It does carry the xkb information because Debian starts it that way, but I replace it with xmodmap right in .xsessioinrc.)
That shouldn't be a problem, as its a different level in the stack
There's two translations happening
* The scancode emitted by the kernel and/or hardware device, and then translated/mangled by X11 and reported as the hardware keycode
* The keysym which is the mapping from the hardware keycode done by XKB and/or Xmodmap
The 2nd point here doesn't matter for QEMU.
We're dealing with the first point in QEMU, taking the hardware keycode and trying to undo the X11 mangling that was performed. This mangling is different depending on whether the X11 server is using 'evdev' or 'kbd' as its input driver.
So the key thing to understand is what values your X11 server is using for the hardware keycodes.
Quoted 10 lines
Quoted 1 line
Can you also say what QEMU version ?
qemu-system-x86 1:4.2-3
Quoted 3 lines
So either your QEMU is fairly old, or you are using a keycode mapping that QEMU has no understanding of (we support evdev, or the classic xfree86 'kbd' mapping).
The latter is the Xmodmap one? If so, then okay.
Quoted 8 lines
Quoted 2 lines
It would be highly unusual not to use one of
those two, but none the less, that appears to be the case here ?I must admit not knowing all that much about the VNC servers. I used to use tightvnc, but that had issues with… somewhat I don’t remember, so I now use tightvnc’s client but X11vnc as standalone server. There’s also tigervnc, but that works even worse for me.
Ok, that's useful info to know.
Quoted 1 line
But if I can do anything to help debugging this, sure.
Can you launch 'xev' inside your VNC session and press the 'Page Up' button and let me know what it reports the keycode and keysym.
Specifically I'm interested in this line of text:
state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
On evdev it reports 112 as hardware code which is 0x70 hex, while with 'kbd' it reports 99 which is 0x63 hex. These are the only two scenarios QEMU knows how to cope with.
I'm strongly suspecting your X11 server will report something different from either evdev or kbd driver hardware codes.
For that matter, if you have time to help, it would be interesting to see what it reports for a random selection of other keys too. For example:
@
#
$
`
-
+
1
2
3
a
s
d
q
w
e
,
.
/
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 8 lines · Daniel P. Berrangé
There's two translations happening
* The scancode emitted by the kernel and/or hardware device, and then translated/mangled by X11 and reported as the hardware keycode
* The keysym which is the mapping from the hardware keycode done by XKB and/or Xmodmap
Yes, sure.
Quoted 2 lines
We're dealing with the first point in QEMU, taking the hardware keycode and trying to undo the X11 mangling that was performed.
That’s where VNC often fails, generally, anyway… (asd often get translated back as adf).
Quoted 4 lines
Quoted 1 line
But if I can do anything to help debugging this, sure.
Can you launch 'xev' inside your VNC session and press the 'Page Up' button and let me know what it reports the keycode and keysym.
Sure.
Quoted 7 lines
Specifically I'm interested in this line of text:
state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,On evdev it reports 112 as hardware code which is
0x70hex, while with 'kbd' it reports 99 which is0x63hex. These are the only two scenarios QEMU knows how to cope with.
Then we’re somewhat out of luck:
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624181177, (244,533), root:(250,560), state 0x0, keycode 71 (keysym 0xff55, Prior), same_screen YES, XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
I’ve also done a,s,d:
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624183753, (244,533), root:(250,560), state 0x0, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 bytes: (61) "a"
XmbLookupString gives 1 bytes: (61) "a"
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624184249, (244,533), root:(250,560), state 0x0, keycode 56 (keysym 0x73, s), same_screen YES, XLookupString gives 1 bytes: (73) "s"
XmbLookupString gives 1 bytes: (73) "s"
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624184641, (244,533), root:(250,560), state 0x0, keycode 41 (keysym 0x64, d), same_screen YES, XLookupString gives 1 bytes: (64) "d"
XmbLookupString gives 1 bytes: (64) "d"
XFilterEvent returns: False
I’ve tried looking at the sources for x11vnc-0.9.16 and tightvnc-1.3.9 but could not, within a quarter hour at least (got to go…), find out where those codes are mapped anyway other than a reference to XKeysymToKeycode (from libX11 probably).
Quoted 5 lines
For that matter, if you have time to help, it would be interesting to see what it reports for a random selection of other keys too. For example:
@
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624747092, (82,98), root:(88,125), state 0x0, keycode 10 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624747284, (82,98), root:(88,125), state 0x1, keycode 19 (keysym 0x40, at), same_screen YES, XLookupString gives 1 bytes: (40) "@" XmbLookupString gives 1 bytes: (40) "@" XFilterEvent returns: False
Quoted 1 line
#
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624748276, (82,98), root:(88,125), state 0x0, keycode 10 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624748772, (82,98), root:(88,125), state 0x1, keycode 20 (keysym 0x23, numbersign), same_screen YES, XLookupString gives 1 bytes: (23) "#"
XmbLookupString gives 1 bytes: (23) "#"
XFilterEvent returns: False
Quoted 1 line
$
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624749620, (82,98), root:(88,125), state 0x0, keycode 10 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624750028, (82,98), root:(88,125), state 0x1, keycode 21 (keysym 0x24, dollar), same_screen YES, XLookupString gives 1 bytes: (24) "$" XmbLookupString gives 1 bytes: (24) "$" XFilterEvent returns: False
Quoted 1 line
`
This one is tricky because on my host keyboard layout ` is on the Escape key while the key left to 1 has Esc (except when shifted, so ~ is Shift plus the key left from 1).
This is the physical Escape key, giving `:
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624751028, (82,98), root:(88,125), state 0x0, keycode 33 (keysym 0x60, grave), same_screen YES, XLookupString gives 1 bytes: (60) "" XmbLookupString gives 1 bytes: (60) "" XFilterEvent returns: False
This is the physical key left to the 1:
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624753908, (82,98), root:(88,125), state 0x0, keycode 67 (keysym 0xff1b, Escape), same_screen YES, XLookupString gives 1 bytes: (1b) "" XmbLookupString gives 1 bytes: (1b) ""
XFilterEvent returns: False
When I run “setxkbmap us” on the host, I get the following for the physical key left to the 1 (`):
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2625065838, (136,535), root:(142,562), state 0x0, keycode 33 (keysym 0x60, grave), same_screen YES, XLookupString gives 1 bytes: (60) "`"
XmbLookupString gives 1 bytes: (60) "`"
XFilterEvent returns: False
This makes me assume that the VNC viewer+server combination translates back keysyms into keycodes, losing the original scancodes, only based on the keysyms they create in the host keyboard layout. Ouch!
Quoted 1 line
-
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624780388, (101,155), root:(107,182), state 0x0, keycode 27 (keysym 0x2d, minus), same_screen YES, XLookupString gives 1 bytes: (2d) "-"
XmbLookupString gives 1 bytes: (2d) "-"
XFilterEvent returns: False
Quoted 1 line
+
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624780652, (101,155), root:(107,182), state 0x0, keycode 10 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624781060, (101,155), root:(107,182), state 0x1, keycode 28 (keysym 0x2b, plus), same_screen YES, XLookupString gives 1 bytes: (2b) "+"
XmbLookupString gives 1 bytes: (2b) "+"
XFilterEvent returns: False
Quoted 3 lines
1
2
3
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624781516, (101,155), root:(107,182), state 0x0, keycode 18 (keysym 0x31, 1), same_screen YES, XLookupString gives 1 bytes: (31) "1"
XmbLookupString gives 1 bytes: (31) "1"
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624781764, (101,155), root:(107,182), state 0x0, keycode 19 (keysym 0x32, 2), same_screen YES, XLookupString gives 1 bytes: (32) "2"
XmbLookupString gives 1 bytes: (32) "2"
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624781988, (101,155), root:(107,182), state 0x0, keycode 20 (keysym 0x33, 3), same_screen YES, XLookupString gives 1 bytes: (33) "3"
XmbLookupString gives 1 bytes: (33) "3"
XFilterEvent returns: False
Quoted 3 lines
a
s
d
see above
Quoted 3 lines
q
w
e
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624782620, (101,155), root:(107,182), state 0x0, keycode 54 (keysym 0x71, q), same_screen YES, XLookupString gives 1 bytes: (71) "q"
XmbLookupString gives 1 bytes: (71) "q"
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624782812, (101,155), root:(107,182), state 0x0, keycode 60 (keysym 0x77, w), same_screen YES, XLookupString gives 1 bytes: (77) "w"
XmbLookupString gives 1 bytes: (77) "w"
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624782996, (101,155), root:(107,182), state 0x0, keycode 42 (keysym 0x65, e), same_screen YES, XLookupString gives 1 bytes: (65) "e"
XmbLookupString gives 1 bytes: (65) "e"
XFilterEvent returns: False
Quoted 3 lines
,
.
/
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624783972, (101,155), root:(107,182), state 0x0, keycode 34 (keysym 0x2c, comma), same_screen YES, XLookupString gives 1 bytes: (2c) ","
XmbLookupString gives 1 bytes: (2c) ","
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624784172, (101,155), root:(107,182), state 0x0, keycode 35 (keysym 0x2e, period), same_screen YES, XLookupString gives 1 bytes: (2e) "."
XmbLookupString gives 1 bytes: (2e) "."
XFilterEvent returns: False
KeyPress event, serial 35, synthetic NO, window 0x1000001,
root 0x25, subw 0x0, time 2624784412, (101,155), root:(107,182), state 0x0, keycode 36 (keysym 0x2f, slash), same_screen YES, XLookupString gives 1 bytes: (2f) "/"
XmbLookupString gives 1 bytes: (2f) "/"
XFilterEvent returns: False
Thanks,
//mirabilos
Signature · 14 lines
tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg ********** Mit der tarent Academy bieten wir auch Trainings und Schulungen in den Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an. Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt. **********
Quoted 34 lines · Thorsten Glaser
Quoted 8 lines · Daniel P. Berrangé
There's two translations happening
* The scancode emitted by the kernel and/or hardware device, and then translated/mangled by X11 and reported as the hardware keycode
* The keysym which is the mapping from the hardware keycode done by XKB and/or Xmodmap
Yes, sure.
Quoted 2 lines
We're dealing with the first point in QEMU, taking the hardware keycode and trying to undo the X11 mangling that was performed.
That’s where VNC often fails, generally, anyway… (asd often get translated back as adf).
Quoted 4 lines
Quoted 1 line
But if I can do anything to help debugging this, sure.
Can you launch 'xev' inside your VNC session and press the 'Page Up' button and let me know what it reports the keycode and keysym.
Sure.
Quoted 7 lines
Specifically I'm interested in this line of text:
state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,On evdev it reports 112 as hardware code which is
0x70hex, while with 'kbd' it reports 99 which is0x63hex. These are the only two scenarios QEMU knows how to cope with.
Quoted 8 lines
Then we’re somewhat out of luck:
KeyPress event, serial 35, synthetic NO, window
0x1000001,
root0x25, subw0x0, time 2624181177, (244,533), root:(250,560), state0x0, keycode 71 (keysym0xff55, Prior),same_screenYES, XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
This is all rather unfortunate, as I can't determine the well known scancode set that this matches so far. So I'll definitely have to investigate the source to understand what's going on.
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 6 lines · Thorsten Glaser
Quoted 2 lines · Daniel P. Berrangé
"x11vnc" suggests you had a regular X11 desktop session, and are exporting it via VNC ?
No, x11vnc is a standalone VNC server.
AFAICT, this is not the case. On both my Fedora & Debian installs, x11vnc is just a binary that attaches to an existing X11 server and exports it - it doesn't provide an X11 itself, like tigervnc or tightvnc do.
Quoted 6 lines
Quoted 1 line
Can you tell me a bit more detail about how you launch this all.
Sure:
$ vncserver -geometry 1000x768 -name nowm :2 $ (export DISPLAY=:2; exec </dev/null >>.xsession-errors; exec 2>&1; icewm-session &)
Can you tell me output of
$ ls -al /usr/bin/vncserver
On Debian this is normally a symlink to alternatives. If so, also tell me what this reports:
$ ls -al /etc/alternatives/vncserver
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 2 lines · Daniel P. Berrangé
AFAICT, this is not the case. On both my Fedora & Debian installs, x11vnc is just a binary that attaches to an existing X11 server
Huh, weird. Perhaps this changed over the years and distro releases.
Quoted 1 line
$ ls -al /usr/bin/vncserver
$ realpath $(which vncserver) /usr/bin/tightvncserver
This does surprise me, because I also have x11vnc installed and vaguely remember using it in standalone server mode for a while.
But, yes, tightvncserver 1:1.3.9-9.1 is also installed, so I’m apparently using that.
bye,
//mirabilos
Signature · 14 lines
tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg ********** Mit der tarent Academy bieten wir auch Trainings und Schulungen in den Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an. Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt. **********
Quoted 9 lines · Thorsten Glaser
Quoted 2 lines · Daniel P. Berrangé
AFAICT, this is not the case. On both my Fedora & Debian installs, x11vnc is just a binary that attaches to an existing X11 server
Huh, weird. Perhaps this changed over the years and distro releases.
Quoted 1 line
$ ls -al /usr/bin/vncserver
Quoted 8 lines
$ realpath $(which vncserver) /usr/bin/tightvncserverThis does surprise me, because I also have x11vnc installed and vaguely remember using it in standalone server mode for a while.
But, yes, tightvncserver 1:1.3.9-9.1 is also installed, so I’m apparently using that.
Thanks, that gives me something to try to reproduce the problem now.
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|