Hi I have the following problem when accessing the console of a VM. root openstack1115:~# virt-viewer controller
(virt-viewer:25949): gtk-vnc-WARNING **: Unknown keycode mapping '(null)'. Please report to gtk-vnc-list gnome org including the following information: - Operating system - GDK build - X11 Server - xprop -root - xdpyinfo The environment is as follows: I have a Solaris Unix environment. SunOS xbete1 5.10 Generic_147441-01 i86pc i386 i86pc From a shell I do “ssh –X” to a server with Ubuntu. I have set the DISPLAY variable to the Solaris environment with export DISPLAY=159.107.31.149:21.0 I have created some VMs on the Ubuntu host and the warning appears when I try to connect to the VM’s console. The problem is my keymap is quite wrong and it does not allow me to work. BR, Eduardo - Operating system root openstack1115:~# uname -a Linux openstack1115 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux - GDK build gir1.2-gdkpixbuf-2.0/trusty 2.30.7-0ubuntu1 amd64 libg3d-plugin-gdkpixbuf/trusty 0.0.8-17ubuntu1 amd64 libgdk-pixbuf2.0-0/trusty,now 2.30.7-0ubuntu1 amd64 [installed,automatic] libgdk-pixbuf2.0-0-dbg/trusty 2.30.7-0ubuntu1 amd64 libgdk-pixbuf2.0-common/trusty,now 2.30.7-0ubuntu1 all [installed,automatic] libgdk-pixbuf2.0-dev/trusty 2.30.7-0ubuntu1 amd64 libgdk-pixbuf2.0-doc/trusty 2.30.7-0ubuntu1 all libgdk3.0-cil/trusty 2.99.2-2ubuntu1 amd64 libgdkcutter-pixbuf-dev/trusty 1.1.7-1.2ubuntu3 amd64 libgdkcutter-pixbuf0/trusty 1.1.7-1.2ubuntu3 amd64 ruby-gdk-pixbuf2/trusty 2.1.0-1 amd64 ruby-gdk-pixbuf2-dbg/trusty 2.1.0-1 amd64 ruby-gdk3/trusty 2.1.0-1 amd64 ruby-gdk3-dbg/trusty 2.1.0-1 amd64 - X11 Server - xprop –root root openstack1115:~# xprop -root _MOTIF_CLIP_ITEM_4003(INTEGER) = 1, 4001, 134689320, 41943091, 0, 0, -1, 144, 4004, 31, 6, 0, 0, 4003, 0, 0 _MOTIF_CLIP_ITEM_4004(STRING) = "root openstack1115:~# uname -a\nLinux openstack1115 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux\n" _MOTIF_CLIP_ITEM_4001(INTEGER) = 2, 0, 134689320, 41943091, 4001, 4002, 60, 1, 0, 0, 0, 0, -1, 0, 0, 4003 _MOTIF_CLIP_ITEM_4002(_MOTIF_COMPOUND_STRING) = 0xdf, 0x80, 0x6, 0x26, 0x1, 0x1b, 0x46, 0x4f, 0x4e, 0x54, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x54,
0x41, 0x47, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x2, 0x7, 0x58, 0x4d, 0x5f, 0x54, 0x45, 0x52, 0x4d _MOTIF_CLIP_ITEM_3003(INTEGER) = 1, 3001, 134689320, 41943091, 0, 0, -1, 698, 3004, 31, 6, 0, 0, 3003, 0, 0 _MOTIF_CLIP_ITEM_3004(STRING) = "gir1.2-gdkpixbuf-2.0/trusty 2.30.7-0ubuntu1 amd64\nlibg3d-plugin-gdkpixbuf/trusty 0.0.8-17ubuntu1 amd64\nlibgdk-pixbuf2.0-0/trusty,now 2.30.7-0ubuntu1 amd64
[installed,automatic]\nlibgdk-pixbuf2.0-0-dbg/trusty 2.30.7-0ubuntu1 amd64\nlibgdk-pixbuf2.0-common/trusty,now 2.30.7-0ubuntu1 all [installed,automatic]\nlibgdk-pixbuf2.0-dev/trusty 2.30.7-0ubuntu1 amd64\nlibgdk-pixbuf2.0-doc/trusty 2.30.7-0ubuntu1 all\nlibgdk3.0-cil/trusty
2.99.2-2ubuntu1 amd64\nlibgdkcutter-pixbuf-dev/trusty 1.1.7-1.2ubuntu3 amd64\nlibgdkcutter-pixbuf0/trusty 1.1.7-1.2ubuntu3 amd64\nruby-gdk-pixbuf2/trusty 2.1.0-1 amd64\nruby-gdk-pixbuf2-dbg/trusty 2.1.0-1 amd64\nruby-gdk3/trusty 2.1.0-1 amd64\nruby-gdk3-dbg/trusty
2.1.0-1 amd64\n" _MOTIF_CLIP_ITEM_3001(INTEGER) = 2, 0, 134689320, 41943091, 3001, 3002, 60, 1, 0, 0, 1, 0, -1, 0, 0, 3003 _MOTIF_CLIP_ITEM_3002(_MOTIF_COMPOUND_STRING) = 0xdf, 0x80, 0x6, 0x26, 0x1, 0x1b, 0x46, 0x4f, 0x4e, 0x54, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x54,
0x41, 0x47, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x2, 0x7, 0x58, 0x4d, 0x5f, 0x54, 0x45, 0x52, 0x4d AT_SPI_BUS(STRING) = "unix:abstract=/tmp/dbus-vcENJwUBeT,guid=e1d98c1ff12730cca7d222fb5434278f" InterpRegistry(STRING) =
_MOTIF_CLIP_FORMAT_STRING(INTEGER) = 8 _MOTIF_CLIP_FORMAT_TEXT(INTEGER) = 8 _MOTIF_CLIP_FORMAT_COMPOUND_TEXT(INTEGER) = 8 _MOTIF_CLIP_HEADER(INTEGER) = 3, 0, 1, 64, 4001, 3001, 3001, 4001, 0, 2, -345907316, 0, 0, 41943091, 0, 0, 3001, 4001 _MOTIF_CLIP_NEXT_ID(INTEGER) = 5000 _MOTIF_CLIP_ITEM_2(INTEGER) =
_MOTIF_CLIP_TIME(_MOTIF_CLIP_TIME) =
CUT_BUFFER7(STRING) =
CUT_BUFFER6(STRING) =
CUT_BUFFER5(STRING) =
CUT_BUFFER4(STRING) =
CUT_BUFFER3(STRING) =
CUT_BUFFER2(STRING) =
CUT_BUFFER1(STRING) =
CUT_BUFFER0(STRING) =
_DTTERM_TEST_PROBE_IDS(_DTTERM_TEST_PROBE_IDS) = 0x2e0000c _SUN_SdtWmCommPropWindow(WINDOW): window id # 0x14002e2 DTWM_IS_RUNNING(INTEGER) = 134505473 _SUN_FWS_PROTOCOLS(ATOM) = _SUN_FWS_STACK_UNDER, _SUN_FWS_HANDLES_FOCUS, _SUN_FWS_PASSES_INPUT, _SUN_FWS_PARK_ICONS _SUN_FWS_COMM_WINDOW(WINDOW): window id # 0x14002db WM_ICON_SIZE(WM_ICON_SIZE): minimum icon size: 16 by 16 maximum icon size: 48 by 48 incremental size change: 1 by 1 _MOTIF_WM_INFO(_MOTIF_WM_INFO) = 0x2, 0x140002a _MOTIF_DEFAULT_BINDINGS(STRING) = "osfCancel:<Key>Escape,<Key>Cancel\nosfLeft:<Key>Left\nosfUp:<Key>Up\nosfRight:<Key>Right\nosfDown:<Key>Down\nosfEndLine:<Key>End\nosfBeginLine:<Key>Home,<Key>Begin\nosfPageUp:<Key>Prior\nosfPageDown:<Key>Next\nosfBackSpace:<Key>BackSpace\nosfDelete:<Key>Delete\nosfInsert:<Key>Insert\nosfAddMode:Shift<Key>F8\nosfHelp:<Key>F1,<Key>Help\nosfMenu:Shift<Key>F10,<Key>Menu\nosfMenuBar:<Key>F10,Shift<Key>Menu\nosfSelect:<Key>Select\nosfActivate:<Key>KP_Enter,<Key>Execute\nosfClear:<Key>Clear\nosfUndo:<Key>Undo\nosfSwitchDirection:Alt<Key>Return,Alt<Key>KP_Enter" _DT_RESTORE_MODE(STRING) = "current" _DT_SM_WINDOW_INFO(_DT_SM_WINDOW_INFO) = 0x0, 0xe0000d _DT_SM_PREFERENCES(STRING) = "*0*ColorPalette:\tDefault.dp\n*DtEditor*textFontList:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*Font:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*\n*FontList:\t-dt-interface
system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*FontSet:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*\n*XmText*FontList:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*XmTextField*FontList:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*background:\t#AEAEB2B2C3C3\n*buttonFontList:\t-dt-interface
system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*fontGroup:\tDefault\n*foreground:\t#000000000000\n*labelFontList:\t-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*systemFont:\t-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*textFontList:\t-dt-interface
user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*userFont:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\nDtwm*0*FrontPanel*geometry:\t+123+0\nDtwm*0*helpResources:\t\\n\\\n \nDtwm*0*initialWorkspace:\tws0\nDtwm*0*workspaceCount:\t4\nDtwm*0*workspaceList:\t\"ws0\"
\"ws1\" \"ws2\" \"ws4\"\nDtwm*0*ws0*title:\tproject\nDtwm*0*ws1*title:\tsea\nDtwm*0*ws2*title:\tecut\nDtwm*0*ws3*title:\tzapsim07\nDtwm*0*ws4*title:\tsea_bete_disk\nDtwm*0*ws5*title:\ttunos\nDtwm*focusAutoRaise:\tFalse\nDtwm*gwmOnFrontPanel:\tFalse\nDtwm*showSwitchArea:\tTrue\nDtwm*syncDesktopSwitch:\tFalse\nDtwm*useSameBackdrop:\tFalse\nDtwm.keyboardFocusPolicy:\tpointer\nOpenWindows.BasicLocale:\tC\nOpenWindows.DataBackground:\t#FFFFF7F7E9E9\nOpenWindows.DataForeground:\t#000000000000\nOpenWindows.DisplayLang:\tC\nOpenWindows.InputLang:\tC\nOpenWindows.NumericFormat:\tC\nOpenWindows.TimeFormat:\tC\nOpenWindows.WindowColor:\t#AEAEB2B2C3C3\nOpenWindows.WindowForeground:\t#000000000000\nOpenWindows.WorkspaceColor:\t#AEAEB2B2C3C3\nWindow.Color.Background:\t#FFFFF7F7E9E9\nWindow.Color.Foreground:\t#000000000000\ndtsession*displayResolution:\t3929\ndtsession*saverTimeout:\t1\ndtsession*sessionLanguage:\tC\n" _SUN_TT_SESSION(STRING) = "01 23668 1289637093 1 1 62174 159.107.31.149 5 xbete1" TT_SESSION(STRING) = "01 23668 1289637093 1 1 62174 159.107.31.149 5 xbete1" _MOTIF_DRAG_WINDOW(WINDOW): window id # 0x800001 RESOURCE_MANAGER(STRING) = "*0*ColorPalette:\tDefault.dp\n*DtEditor*textFontList:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*DtTerm*shadowThickness:\t1\n*Font:\t-dt-interface
user-medium-r-normal-s*-*-*-*-*-*-*-*-*\n*FontList:\t-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*FontSet:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*\n*XmText*FontList:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*XmText*Translations:\t#override\\n\\\n
Ctrl<Key>u:delete-to-start-of-line()\\n\\\n Ctrl<Key>k:delete-to-end-of-line()\\n\\\n Ctrl<Key>a:beginning-of-line()\\n\\\n Ctrl<Key>e:end-of-line()\\n\\\n Ctrl<Key>p:process-up()\\n\\\n Ctrl<Key>b:backward-character()\\n\\\n
Ctrl<Key>n:process-down()\\n\\\n Ctrl<Key>f:forward-character()\n*XmTextField*FontList:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*XmTextField*Translations:\t#override\\n\\\n Ctrl<Key>u:delete-to-start-of-line()\\n\\\n Ctrl<Key>k:delete-to-end-of-line()\\n\\\n
Ctrl<Key>a:beginning-of-line()\\n\\\n Ctrl<Key>e:end-of-line()\\n\\\n Ctrl<Key>b:backward-character()\\n\\\n Ctrl<Key>f:forward-character()\n*background:\t#AEAEB2B2C3C3\n*buttonFontList:\t-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*dtEnvMapForRemote:\tDTAPPSEARCHPATH:DTHELPSEARCHPATH:DTDATABASESEARCHPATH:XMICONSEARCHPATH:XMICONBMSEARCHPATH\n*enableBtn1Transfer:\tbutton2_transfer\n*enableButtonTab:\tTrue\n*enableCDEColorFactors:\tTrue\n*enableDefaultButton:\tTrue\n*enableDragIcon:\tTrue\n*enableEtchedInMenu:\tTrue\n*enableMenuInCascade:\tTrue\n*enableMultiKeyBindings:\tTrue\n*enableThinThickness:\tTrue\n*enableToggleColor:\tTrue\n*enableToggleVisual:\tTrue\n*enableUrlAwareness:\tTrue\n*fontGroup:\tDefault\n*foreground:\t#000000000000\n*labelFontList:\t-dt-interface
system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*multiClickTime:\t500\n*promptDialog.bboard.frame.form.text.columns:\t45\n*sessionVersion:\t3.0\n*systemFont:\t-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*textFontList:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*ttyModes:\terase
^H intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z\n*userFont:\t-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n*xineramaDefaultFramebuffer:\t0\nDtwm*0*FrontPanel*geometry:\t+123+0\nDtwm*0*helpResources:\t\\n\\\n \nDtwm*0*initialWorkspace:\tws0\nDtwm*0*workspaceCount:\t4\nDtwm*0*workspaceList:\t\"ws0\"
\"ws1\" \"ws2\" \"ws4\"\nDtwm*0*ws0*title:\tproject\nDtwm*0*ws1*title:\tsea\nDtwm*0*ws2*title:\tecut\nDtwm*0*ws3*title:\tzapsim07\nDtwm*0*ws4*title:\tsea_bete_disk\nDtwm*0*ws5*title:\ttunos\nDtwm*VCLSalFrame*secondariesOnTop:\tTrue\nDtwm*focusAutoRaise:\tFalse\nDtwm*gwmOnFrontPanel:\tFalse\nDtwm*showSwitchArea:\tTrue\nDtwm*syncDesktopSwitch:\tFalse\nDtwm*useSameBackdrop:\tFalse\nDtwm.keyboardFocusPolicy:\tpointer\nEmurpdtool.DeblockMode:\tAutomatic\nEmurpdtool.Prom:\t\nEmurpdtool.UnitListFile:\t\nOLPublisher*Elements*Pushpin:\tnone\nOLPublisher*File*Pushpin:\tnone\nOLPublisher*Form*Background:\t#ffffff\nOLPublisher*MenuButton*Pushpin:\tout\nOLPublisher*Scrollbar*Background:\tGray\nOLPublisher*TextField*Background:\tGray\nOLPublisher*TextField*inputFocusColor:\tblack\nOLPublisher*TextFieldLeaveVerify:\tTrue\nOLPublisher*background:\t#fff8eb\nOLPublisher*changePanel*background:\t#eee3d9\nOLPublisher*changePanel*inputFocusColor:\t#eee3d9\nOLPublisher*inputFocusColor:\t#ffffff\nOLPublisher*insertPanel*background:\t#eee3d9\nOLPublisher*insertPanel*inputFocusColor:\t#eee3d9\nOLPublisher*menubar*background:\tgray\nOLPublisher*panel*background:\t#eee3d9\nOLPublisher*pubPrint*background:\t#eee3d9\nOLPublisher*pubPrint*inputFocusColor:\t#eee3d9\nOLPublisher*pubSpell*background:\t#eee3d9\nOLPublisher*tagPanel*inputFocusColor:\twhite\nOLPublisher*useShortOLWinAttr:\tTrue\nOLPublisher.Geometry:\t598x812\nOLPubview*Input:\tTrue\nOLPubview*background:\t#fff8eb\nOLPubview*saveUnder:\tFalse\nOLPubview*useShortOLWinAttr:\tTrue\nOpenWindows.BasicLocale:\tC\nOpenWindows.Beep:\tnotices\nOpenWindows.BeepDuration:\t100\nOpenWindows.DataBackground:\t#FFFFF7F7E9E9\nOpenWindows.DataForeground:\t#000000000000\nOpenWindows.DisplayLang:\tC\nOpenWindows.DragRightDistance:\t100\nOpenWindows.IconLocation:\tbottom\nOpenWindows.InputLang:\tC\nOpenWindows.KeyClick:\tFalse\nOpenWindows.KeyRepeat:\tTrue\nOpenWindows.KeyboardCommands:\tBasic\nOpenWindows.MenuAccelerators:\tTrue\nOpenWindows.MouseAcceleration:\t2\nOpenWindows.MouseThreshold:\t15\nOpenWindows.MultiClickTimeout:\t4\nOpenWindows.NumericFormat:\tC\nOpenWindows.ObsoleteNotice:\tTrue\nOpenWindows.PaintWorkspace:\tTrue\nOpenWindows.PointerMapping:\tright\nOpenWindows.PopupJumpCursor:\tTrue\nOpenWindows.Scale:\tmedium\nOpenWindows.ScreenSaver.IdleTime:\t10\nOpenWindows.ScreenSaver.OnOff:\ton\nOpenWindows.ScrollbarJumpCursor:\tTrue\nOpenWindows.ScrollbarPlacement:\tright\nOpenWindows.SelectDisplaysMenu:\tFalse\nOpenWindows.SetInput:\tfollowmouse\nOpenWindows.TimeFormat:\tC\nOpenWindows.WindowColor:\t#AEAEB2B2C3C3\nOpenWindows.WindowForeground:\t#000000000000\nOpenWindows.WindowMenuAccelerators:\tTrue\nOpenWindows.WorkspaceBitmapBg:\t#ffffff\nOpenWindows.WorkspaceBitmapFg:\t#000000\nOpenWindows.WorkspaceBitmapFile:\tgray\nOpenWindows.WorkspaceColor:\t#AEAEB2B2C3C3\nOpenWindows.WorkspaceStyle:\tpaintcolor\nScrollbar.JumpCursor:\tTrue\nSelection.Timeout:\t10\nText.MaxDocumentSize:\t0\nWindow.Color.Background:\t#FFFFF7F7E9E9\nWindow.Color.Foreground:\t#000000000000\ndt.obsolete:\ttrue\ndtsession*autoSaveSession:\tfalse\ndtsession*cycleTimeout:\t3
\ndtsession*displayResolution:\t3929\ndtsession*lockTimeout:\t30\ndtsession*periodicInterval:\t30\ndtsession*periodicSaves:\tfalse\ndtsession*saverList:\tStartDtscreenBlank\ndtsession*saverTimeout:\t1\ndtsession*sessionLanguage:\tC\nolvwm.VirtualGeometry:\t+925+750\nolvwm.VirtualIconGeometry:\t+925+750\nolvwm.VirtualSticky:\tMail
Tool\n" _CTX_CUTNPASTE_NOTIFY_CLIPBOARD(INTEGER) = 1 _CTX_CUTNPASTE_NOTIFY_PRIMARY(INTEGER) = 1 CTX_SEAMLESS_MODE(UINT32) = 0x0 _CTX_TWVERSION(INTEGER) = 2, 0, 0, 0 _CTX_STATE(_CTX_STATE) = 0x1 _CTX_CLIENTPRODUCTID(_CTX_CLIENTPRODUCTID) = 0x1, 0x0, 0x0, 0x0 _CTX_CLIENT_HEIGHT(INTEGER) = -18, 3, 0, 0 _CTX_CLIENT_WIDTH(INTEGER) = 119, 6, 0, 0 - xdpyinfo root openstack1115:~# xdpyinfo name of display: 159.107.31.149:21.0 version number: 11.0 vendor string: Citrix Systems Inc vendor release number: 60423 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: 3 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 keycode range: minimum 8, maximum 207 focus: window 0x280000c, revert to PointerRoot number of extensions: 14 BIG-REQUESTS DOUBLE-BUFFER Extended-Visual-Information GLX MIT-SHM MIT-SUNDRY-NONSTANDARD RECORD SECURITY SGI-GLX SHAPE SYNC TOG-CUP XC-MISC XTEST default screen number: 0 number of screens: 1 screen #0: dimensions: 1655x1006 pixels (420x256 millimeters) resolution: 100x100 dots per inch depths (1): 24 root window id: 0x26 depth of root window: 24 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x22 default number of colormap cells: 256 preallocated pixels: black 0, white 16777215 options: backing-store NO, save-unders NO largest cursor: 32x32 current input event mask: 0x7a003f KeyPressMask KeyReleaseMask ButtonPressMask
ButtonReleaseMask EnterWindowMask LeaveWindowMask
StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask
FocusChangeMask PropertyChangeMask
number of visuals: 1 default visual id: 0x23 visual: visual id: 0x23 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 |