[winswitch] client failed to provide any keycodes (XPRA client win10 2.2-r17577 against XPRA server 2.2-0.20171206r17578.fc27)

WireRydr mailinglist__shifter-users at compeuphoria.com
Sat Dec 9 18:31:23 GMT 2017


Hello all;

I've posted this as a question to the mailing-list instead of as a 
bug-report because I cannot rule out the possibility of 
mis-configuration.  However, given that this problem doesn't happen with 
an older client, I suspect it's a regression.

Operating Environment
---------------------
   Host OS:      Fedora 27 (x86_64)
   XPRA Server:  2.2-0.20171206r17578.fc27
   XPRA Client:  Python/Gtk2 Microsoft Windows 10 aero client version 
2.2-r17577 64-bit

I've pasted two logging outputs below:  1) When I attempt to connect to 
a running XPRA server with a Win10 client 2.2-r17577, and  2) When I 
connect to the same XPRA server with a Win10 client 2.2-r17538.

In the first attempt the resulting child xterm doesn't respond properly 
to keyboard input, and the server log includes an error and traceback.  
In the second attempt (same server but older client), the xterm responds 
properly and there's no server error/traceback.

Any advice/guidance you can provide to assist with better 
troubleshooting this would be greatly appreciated.  Thanks!


SERVER LOG WITH CLIENT 2.2-r17577
---------------------------------
2017-12-08 15:52:31,479 wrote pid 9938 to '/run/user/1000/xpra.pid'
Failed to rename log file "/run/user/1000/xpra/Xorg.S9938.log" to 
"/run/user/1000/xpra/Xorg.S9938.log": No such file or directory
X.Org X Server 1.19.5
Release Date: 2017-10-12
X Protocol Version 11, Revision 0
Build Operating System:  4.12.9-300.fc26.x86_64
Current Operating System: Linux studio-f27.example.com 
4.13.16-302.fc27.x86_64 #1 SMP Thu Nov 30 15:33:36 UTC 2017 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.13.16-302.fc27.x86_64 
root=UUID=ef51d839-3eed-4629-a7d2-95d56065e1e7 ro rhgb quiet 
LANG=en_CA.UTF-8 systemd.legacy_systemd_cgroup_controller=1 
systemd.unified_cgroup_hierarchy=0
Build Date: 12 October 2017  07:35:27PM
Build ID: xorg-x11-server 1.19.5-1.fc27
Current version of pixman: 0.34.0
         Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/run/user/1000/xpra/Xorg.S9938.log", Time: Fri Dec  8 
15:52:31 2017
(++) Using config file: "/etc/xpra/xorg-uinput.conf"
(++) Using config directory: "/run/user/1000/xpra/xorg.conf.d/9938"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2017-12-08 15:52:34,020 cannot access uinput: [Errno 19] Failed to open 
the uinput device: No such device
2017-12-08 15:52:34,238 pointer device emulation using XTest
2017-12-08 15:52:34,538 serving html content from: /usr/share/xpra/www
2017-12-08 15:52:34,675 GStreamer version 1.12.3 for Python 2.7.14 
64-bit
2017-12-08 15:52:34,680 D-Bus notification forwarding is available
2017-12-08 15:52:34,682 Warning: no local sockets defined,
2017-12-08 15:52:34,682  disabling printer forwarding
2017-12-08 15:52:34,682 xpra X11 version 2.2-r17577 64-bit
2017-12-08 15:52:34,683  uid=1000 (someuser), gid=1000 (someuser)
2017-12-08 15:52:34,683  running with pid 9938 on Linux Fedora 27 Twenty 
Seven
2017-12-08 15:52:34,683  connected to X11 display :0 with 24 bit colors
2017-12-08 15:52:34,765 xpra is ready.
2017-12-08 15:52:34,783 2.0GB of system memory
2017-12-08 15:53:25,411 New tcp connection received from 
192.168.240.120:59339 on studio-f27.example.com:14500
2017-12-08 15:53:25,414 Authentication required by allow authenticator 
module
2017-12-08 15:53:25,415  sending challenge for username 'someuser' using 
hmac+sha512 digest
2017-12-08 15:53:25,446 Handshake complete; enabling connection
2017-12-08 15:53:25,455 Python/Gtk2 Microsoft Windows 10 aero client 
version 2.2-r17577 64-bit
2017-12-08 15:53:25,455  connected from 'einstein' as 'someuser'
2017-12-08 15:53:25,455  automatic picture encoding enabled, also 
available:
2017-12-08 15:53:25,455   h264, vp9, vp8, png, webp, rgb24, jpeg, rgb32
2017-12-08 15:53:25,456  client root window size is 3840x1200 with 1 
display:
2017-12-08 15:53:25,461   Default (1016x317 mm - DPI: 96x96)
2017-12-08 15:53:25,461     DISPLAY1 1920x1200 at 1920x0 (518x324 mm - 
DPI: 94x94) workarea: 1920x1200
2017-12-08 15:53:25,461     DISPLAY2 1920x1080 at 0x120 (531x298 mm - 
DPI: 91x92) workarea: 1920x1080
2017-12-08 15:53:25,577 server virtual display now set to 3840x1200
2017-12-08 15:53:25,578 setting key repeat rate from client: 500ms delay 
/ 33ms interval
2017-12-08 15:53:25,579 setting keyboard layout to 'us'
2017-12-08 15:53:25,594 Error setting X11 keyboard modifier map
Traceback (most recent call last):
   File 
"/usr/lib64/python2.7/site-packages/xpra/x11/server_keyboard_config.py", 
line 292, in set_keymap
     assert has_keycodes, "client failed to provide any keycodes!"
AssertionError: client failed to provide any keycodes!
2017-12-08 15:53:25,602 started command 'xterm' with pid 9992
2017-12-08 15:53:25,603 DPI set to 96 x 96
xterm: cannot load font 
"-Misc-Fixed-bold-R-*-*-13-120-75-75-C-120-ISO10646-1"
2017-12-08 15:53:25,993 sound source pipeline warning: Failed to 
connect: Connection refused
2017-12-08 15:53:25,993 sound source                   pulsesrc.c(1015)
2017-12-08 15:53:25,993 sound source                    
gst_pulsesrc_open ()
2017-12-08 15:53:25,993 sound source                    /GstPulseSrc
2017-12-08 15:53:25,993 sound source                   
src-actual-src-puls
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could 
not open audio device for playback.
Additional debug info:
gstalsasink.c(865): gst_alsasink_open (): 
/GstPipeline:pipeline0/GstAlsaSink:alsasink0:
Playback open error on device 'default': No such file or directory
2017-12-08 15:53:26,495 sound source using audio codec opus



SERVER LOG WITH CLIENT 2.2-r17538
---------------------------------
2017-12-08 20:06:33,926 wrote pid 10292 to '/run/user/1000/xpra.pid'
Failed to rename log file "/run/user/1000/xpra/Xorg.S10292.log" to 
"/run/user/1000/xpra/Xorg.S10292.log": No such file or directory
X.Org X Server 1.19.5
Release Date: 2017-10-12
X Protocol Version 11, Revision 0
Build Operating System:  4.12.9-300.fc26.x86_64
Current Operating System: Linux studio-f27.example.com 
4.13.16-302.fc27.x86_64 #1 SMP Thu Nov 30 15:33:36 UTC 2017 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.13.16-302.fc27.x86_64 
root=UUID=ef51d839-3eed-4629-a7d2-95d56065e1e7 ro rhgb quiet 
LANG=en_CA.UTF-8 systemd.legacy_systemd_cgroup_controller=1 
systemd.unified_cgroup_hierarchy=0
Build Date: 12 October 2017  07:35:27PM
Build ID: xorg-x11-server 1.19.5-1.fc27
Current version of pixman: 0.34.0
         Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/run/user/1000/xpra/Xorg.S10292.log", Time: Fri Dec  8 
20:06:33 2017
(++) Using config file: "/etc/xpra/xorg-uinput.conf"
(++) Using config directory: "/run/user/1000/xpra/xorg.conf.d/10292"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2017-12-08 20:06:37,190 cannot access uinput: [Errno 19] Failed to open 
the uinput device: No such device
2017-12-08 20:06:37,403 pointer device emulation using XTest
2017-12-08 20:06:37,752 serving html content from: /usr/share/xpra/www
2017-12-08 20:06:37,878 GStreamer version 1.12.3 for Python 2.7.14 
64-bit
2017-12-08 20:06:37,880 D-Bus notification forwarding is available
2017-12-08 20:06:37,881 Warning: no local sockets defined,
2017-12-08 20:06:37,881  disabling printer forwarding
2017-12-08 20:06:37,881 xpra X11 version 2.2-r17577 64-bit
2017-12-08 20:06:37,881  uid=1000 (someuser), gid=1000 (someuser)
2017-12-08 20:06:37,881  running with pid 10292 on Linux Fedora 27 
Twenty Seven
2017-12-08 20:06:37,882  connected to X11 display :0 with 24 bit colors
2017-12-08 20:06:37,980 xpra is ready.
2017-12-08 20:06:37,982 2.0GB of system memory
2017-12-08 20:06:50,508 New tcp connection received from 
192.168.240.120:60938 on studio-f27.example.com:14500
2017-12-08 20:06:50,510 Authentication required by allow authenticator 
module
2017-12-08 20:06:50,510  sending challenge for username 'someuser' using 
hmac+sha512 digest
2017-12-08 20:06:50,544 Handshake complete; enabling connection
2017-12-08 20:06:50,552 Python/Gtk2 Microsoft Windows 10 aero client 
version 2.2-r17538 64-bit
2017-12-08 20:06:50,552  connected from 'einstein' as 'someuser' - 
'someuser'
2017-12-08 20:06:50,553  automatic picture encoding enabled, also 
available:
2017-12-08 20:06:50,553   h264, vp9, vp8, png, webp, rgb24, jpeg, rgb32
2017-12-08 20:06:50,554  client root window size is 3840x1200 with 1 
display:
2017-12-08 20:06:50,554   Default (1016x317 mm - DPI: 96x96)
2017-12-08 20:06:50,554     DISPLAY1 1920x1200 at 1920x0 (518x324 mm - 
DPI: 94x94) workarea: 1920x1200
2017-12-08 20:06:50,554     DISPLAY2 1920x1080 at 0x120 (531x298 mm - 
DPI: 91x92) workarea: 1920x1080
2017-12-08 20:06:50,648 server virtual display now set to 3840x1200
2017-12-08 20:06:50,651 setting key repeat rate from client: 500ms delay 
/ 33ms interval
2017-12-08 20:06:50,653 setting keyboard layout to 'us'
2017-12-08 20:06:50,687 started command 'xterm' with pid 10345
2017-12-08 20:06:50,689 DPI set to 96 x 96
xterm: cannot load font 
"-Misc-Fixed-bold-R-*-*-13-120-75-75-C-120-ISO10646-1"
2017-12-08 20:06:51,052 sound source pipeline warning: Failed to 
connect: Connection refused
2017-12-08 20:06:51,053 sound source                   pulsesrc.c(1015)
2017-12-08 20:06:51,053 sound source                    
gst_pulsesrc_open ()
2017-12-08 20:06:51,053 sound source                    /GstPulseSrc
2017-12-08 20:06:51,053 sound source                   
src-actual-src-puls
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could 
not open audio device for playback.
Additional debug info:
gstalsasink.c(865): gst_alsasink_open (): 
/GstPipeline:pipeline0/GstAlsaSink:alsasink0:
Playback open error on device 'default': No such file or directory
2017-12-08 20:06:51,555 sound source using audio codec opus


More information about the shifter-users mailing list