On the server before connecting remotely $ xev Outer window is 0x3400001, inner window is 0x3400002 PropertyNotify event, serial 8, synthetic NO, window 0x3400001, atom 0x27 (WM_NAME), time 385223, state PropertyNewValue PropertyNotify event, serial 9, synthetic NO, window 0x3400001, atom 0x22 (WM_COMMAND), time 385223, state PropertyNewValue PropertyNotify event, serial 10, synthetic NO, window 0x3400001, atom 0x28 (WM_NORMAL_HINTS), time 385223, state PropertyNewValue CreateNotify event, serial 11, synthetic NO, window 0x3400001, parent 0x3400001, window 0x3400002, (10,10), width 50, height 50 border_width 4, override NO PropertyNotify event, serial 14, synthetic NO, window 0x3400001, atom 0x12f (WM_PROTOCOLS), time 385223, state PropertyNewValue MapNotify event, serial 15, synthetic NO, window 0x3400001, event 0x3400001, window 0x3400002, override NO PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x1d5 (_NET_WM_VISIBLE_NAME), time 385223, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x1d6 (_NET_WM_VISIBLE_ICON_NAME), time 385223, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20a (_OB_APP_ROLE), time 385224, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20c (_OB_APP_NAME), time 385224, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20d (_OB_APP_CLASS), time 385224, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20e (_OB_APP_GROUP_NAME), time 385224, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20f (_OB_APP_GROUP_CLASS), time 385224, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20b (_OB_APP_TITLE), time 385224, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x210 (_OB_APP_TYPE), time 385224, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x158 (_NET_WM_ICON), time 385224, state PropertyNewValue ReparentNotify event, serial 20, synthetic NO, window 0x3400001, event 0x3400001, window 0x3400001, parent 0xe007f1, (0,0), override NO PropertyNotify event, serial 22, synthetic NO, window 0x3400001, atom 0x15b (_NET_WM_STATE), time 385224, state PropertyNewValue ConfigureNotify event, serial 22, synthetic NO, window 0x3400001, event 0x3400001, window 0x3400001, (0,0), width 178, height 178, border_width 0, above 0xe0083d, override NO ConfigureNotify event, serial 22, synthetic NO, window 0x3400001, event 0x3400001, window 0x3400001, (2,32), width 178, height 178, border_width 0, above 0xe0083d, override NO PropertyNotify event, serial 22, synthetic NO, window 0x3400001, atom 0x179 (_NET_FRAME_EXTENTS), time 385224, state PropertyNewValue PropertyNotify event, serial 22, synthetic NO, window 0x3400001, atom 0x178 (_KDE_NET_WM_FRAME_STRUT), time 385224, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x3400001, atom 0x1db (_NET_WM_ALLOWED_ACTIONS), time 385224, state PropertyNewValue ConfigureNotify event, serial 24, synthetic YES, window 0x3400001, event 0x3400001, window 0x3400001, (231,480), width 178, height 178, border_width 2, above 0x0, override NO PropertyNotify event, serial 24, synthetic NO, window 0x3400001, atom 0x1b1 (_NET_WM_DESKTOP), time 385224, state PropertyNewValue MapNotify event, serial 43, synthetic NO, window 0x3400001, event 0x3400001, window 0x3400001, override NO VisibilityNotify event, serial 43, synthetic NO, window 0x3400001, state VisibilityUnobscured Expose event, serial 43, synthetic NO, window 0x3400001, (0,0), width 178, height 10, count 3 Expose event, serial 43, synthetic NO, window 0x3400001, (0,10), width 10, height 58, count 2 Expose event, serial 43, synthetic NO, window 0x3400001, (68,10), width 110, height 58, count 1 Expose event, serial 43, synthetic NO, window 0x3400001, (0,68), width 178, height 110, count 0 PropertyNotify event, serial 43, synthetic NO, window 0x3400001, atom 0x138 (WM_STATE), time 385228, state PropertyNewValue FocusIn event, serial 44, synthetic NO, window 0x3400001, mode NotifyNormal, detail NotifyNonlinear KeymapNotify event, serial 44, synthetic NO, window 0x0, keys: 68 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PropertyNotify event, serial 44, synthetic NO, window 0x3400001, atom 0x1d9 (_NET_WM_ICON_GEOMETRY), time 385238, state PropertyNewValue KeyRelease event, serial 45, synthetic NO, window 0x3400001, root 0x57a, subw 0x0, time 385413, (621,407), root:(854,889), state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES, ” XLookupString gives 1 bytes: (0d) ” XFilterEvent returns: False qterminal doesn’t scroll on server after remote connection (qterminal left open during remote connection): $ xev Outer window is 0x3400001, inner window is 0x3400002 PropertyNotify event, serial 8, synthetic NO, window 0x3400001, atom 0x27 (WM_NAME), time 991724, state PropertyNewValue PropertyNotify event, serial 9, synthetic NO, window 0x3400001, atom 0x22 (WM_COMMAND), time 991724, state PropertyNewValue PropertyNotify event, serial 10, synthetic NO, window 0x3400001, atom 0x28 (WM_NORMAL_HINTS), time 991724, state PropertyNewValue CreateNotify event, serial 11, synthetic NO, window 0x3400001, parent 0x3400001, window 0x3400002, (10,10), width 50, height 50 border_width 4, override NO PropertyNotify event, serial 14, synthetic NO, window 0x3400001, atom 0x12f (WM_PROTOCOLS), time 991724, state PropertyNewValue MapNotify event, serial 15, synthetic NO, window 0x3400001, event 0x3400001, window 0x3400002, override NO PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x1d5 (_NET_WM_VISIBLE_NAME), time 991725, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x1d6 (_NET_WM_VISIBLE_ICON_NAME), time 991725, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20a (_OB_APP_ROLE), time 991725, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20c (_OB_APP_NAME), time 991725, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20d (_OB_APP_CLASS), time 991725, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20e (_OB_APP_GROUP_NAME), time 991725, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20f (_OB_APP_GROUP_CLASS), time 991725, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x20b (_OB_APP_TITLE), time 991725, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x210 (_OB_APP_TYPE), time 991725, state PropertyNewValue PropertyNotify event, serial 20, synthetic NO, window 0x3400001, atom 0x158 (_NET_WM_ICON), time 991725, state PropertyNewValue ReparentNotify event, serial 20, synthetic NO, window 0x3400001, event 0x3400001, window 0x3400001, parent 0xe00fe8, (0,0), override NO PropertyNotify event, serial 22, synthetic NO, window 0x3400001, atom 0x15b (_NET_WM_STATE), time 991725, state PropertyNewValue ConfigureNotify event, serial 22, synthetic NO, window 0x3400001, event 0x3400001, window 0x3400001, (0,0), width 178, height 178, border_width 0, above 0xe01034, override NO ConfigureNotify event, serial 22, synthetic NO, window 0x3400001, event 0x3400001, window 0x3400001, (2,32), width 178, height 178, border_width 0, above 0xe01034, override NO PropertyNotify event, serial 22, synthetic NO, window 0x3400001, atom 0x179 (_NET_FRAME_EXTENTS), time 991725, state PropertyNewValue PropertyNotify event, serial 22, synthetic NO, window 0x3400001, atom 0x178 (_KDE_NET_WM_FRAME_STRUT), time 991725, state PropertyNewValue PropertyNotify event, serial 24, synthetic NO, window 0x3400001, atom 0x1db (_NET_WM_ALLOWED_ACTIONS), time 991725, state PropertyNewValue ConfigureNotify event, serial 24, synthetic YES, window 0x3400001, event 0x3400001, window 0x3400001, (231,859), width 178, height 178, border_width 2, above 0x0, override NO PropertyNotify event, serial 24, synthetic NO, window 0x3400001, atom 0x1b1 (_NET_WM_DESKTOP), time 991725, state PropertyNewValue MapNotify event, serial 43, synthetic NO, window 0x3400001, event 0x3400001, window 0x3400001, override NO VisibilityNotify event, serial 43, synthetic NO, window 0x3400001, state VisibilityUnobscured Expose event, serial 43, synthetic NO, window 0x3400001, (0,0), width 178, height 10, count 3 Expose event, serial 43, synthetic NO, window 0x3400001, (0,10), width 10, height 58, count 2 Expose event, serial 43, synthetic NO, window 0x3400001, (68,10), width 110, height 58, count 1 Expose event, serial 43, synthetic NO, window 0x3400001, (0,68), width 178, height 110, count 0 PropertyNotify event, serial 43, synthetic NO, window 0x3400001, atom 0x138 (WM_STATE), time 991728, state PropertyNewValue FocusIn event, serial 44, synthetic NO, window 0x3400001, mode NotifyNormal, detail NotifyNonlinear KeymapNotify event, serial 44, synthetic NO, window 0x0, keys: 68 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ColormapNotify event, serial 44, synthetic NO, window 0x3400001, colormap 0x20, new NO, state ColormapInstalled PropertyNotify event, serial 44, synthetic NO, window 0x3400001, atom 0x1d9 (_NET_WM_ICON_GEOMETRY), time 991739, state PropertyNewValue KeyRelease event, serial 45, synthetic NO, window 0x3400001, root 0x57a, subw 0x0, time 991957, (926,42), root:(1159,903), state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES, ” XLookupString gives 1 bytes: (0d) ” XFilterEvent returns: False