Hello There, I am evaluating xpra proxy feature, and I am desperately trying to setup authentication. Here is commands launch from client side and logs:
[eric@lys ~]$ export XPRA_PASSWORD="bonjour" [eric@lys ~]$ xpra attach --username=eric --tcp-auth=env tcp:192.168.122.125:10000 2016-07-27 16:01:37,203 Xpra gtk2 client version 0.17.4-r12942 2016-07-27 16:01:37,203 running on Linux Fedora 23 Twenty Three 2016-07-27 16:01:37,203 Warning: failed to import opencv: 2016-07-27 16:01:37,204 No module named cv2 2016-07-27 16:01:37,204 webcam forwarding is disabled 2016-07-27 16:01:37,389 GStreamer version 1.6 for Python 2.7 -:6: error: unexpected character ':', expected character '}' -:6: error: unexpected character ':', expected character '}' 2016-07-27 16:01:37,894 OpenGL_accelerate module loaded 2016-07-27 16:01:37,901 Warning: OpenGL windows will be clamped to the maximum texture size 8192x8192 2016-07-27 16:01:37,901 for OpenGL 3.0 renderer 'Gallium 0.4 on NV96' 2016-07-27 16:01:37,901 OpenGL enabled with Gallium 0.4 on NV96 2016-07-27 16:01:41,744 detected keyboard: rules=evdev, model=pc105, layout=fr 2016-07-27 16:01:41,745 desktop size is 1680x1050 with 1 screen: 2016-07-27 16:01:41,745 :0.0 (444x277 mm - DPI: 96x96) workarea: 1680x1016 2016-07-27 16:01:41,745 monitor 1 (474x296 mm - DPI: 90x90) 2016-07-27 16:01:42,221 server failure: disconnected before the session could be established 2016-07-27 16:01:42,221 server requested disconnect: session not found error (no sessions found) 2016-07-27 16:01:42,241 Connection lost And commands from proxy side and logs: [root@xpra_proxy /]# cat /home/proxy/.xpra/proxy_auth eric|bonjour|1000|1000|tcp:172.19.0.3:10000|EXAMPLE_ENV=VALUE|compression=0 [root@xpra_proxy /]# /home/proxy/.xpra/start_xpra.sh 2016-07-27 14:00:41,225 created unix domain socket: /root/.xpra/xpra_proxy-100 2016-07-27 14:00:42,604 xpra proxy version 0.17.4-r12942 2016-07-27 14:00:42,605 running with pid 42 on Linux CentOS Linux 7.2.1511 Core 2016-07-27 14:00:42,606 on display :100 2016-07-27 14:00:42,607 xpra is ready. 2016-07-27 14:01:40,725 New tcp connection received from 192.168.122.1:48496 2016-07-27 14:01:40,740 Authentication required by multi password file authenticator module 2016-07-27 14:01:40,744 sending challenge for 'eric' using hmac digest If I try to type a stupid password on client side: [eric@lys ~]$ export XPRA_PASSWORD="stupid" [eric@lys ~]$ xpra attach --username=eric --tcp-auth=env tcp:192.168.122.125:10000 2016-07-27 16:05:52,185 Xpra gtk2 client version 0.17.4-r12942 2016-07-27 16:05:52,185 running on Linux Fedora 23 Twenty Three 2016-07-27 16:05:52,185 Warning: failed to import opencv: 2016-07-27 16:05:52,185 No module named cv2 2016-07-27 16:05:52,185 webcam forwarding is disabled 2016-07-27 16:05:52,413 GStreamer version 1.6 for Python 2.7 -:6: error: unexpected character ':', expected character '}' -:6: error: unexpected character ':', expected character '}' 2016-07-27 16:05:53,234 OpenGL_accelerate module loaded 2016-07-27 16:05:53,240 Warning: OpenGL windows will be clamped to the maximum texture size 8192x8192 2016-07-27 16:05:53,240 for OpenGL 3.0 renderer 'Gallium 0.4 on NV96' 2016-07-27 16:05:53,241 OpenGL enabled with Gallium 0.4 on NV96 2016-07-27 16:05:57,209 detected keyboard: rules=evdev, model=pc105, layout=fr 2016-07-27 16:05:57,210 desktop size is 1680x1050 with 1 screen: 2016-07-27 16:05:57,211 :0.0 (444x277 mm - DPI: 96x96) workarea: 1680x1016 2016-07-27 16:05:57,211 monitor 1 (474x296 mm - DPI: 90x90) 2016-07-27 16:05:58,688 server failure: disconnected before the session could be established 2016-07-27 16:05:58,689 server requested disconnect: invalid challenge response 2016-07-27 16:05:58,725 Connection lost And form proxy side: 2016-07-27 14:05:56,188 New tcp connection received from 192.168.122.1:48528 2016-07-27 14:05:56,210 Authentication required by multi password file authenticator module 2016-07-27 14:05:56,210 sending challenge for 'eric' using hmac digest 2016-07-27 14:05:56,683 Error: hmac password challenge for 'eric' does not match 2016-07-27 14:05:56,684 Error: authentication failed 2016-07-27 14:05:56,685 invalid challenge response 2016-07-27 14:05:57,687 Disconnecting client 192.168.122.1:48528: 2016-07-27 14:05:57,688 invalid challenge response 2016-07-27 14:05:57,691 Connection lost The xpra server 172.19.0.3 has never seen any connexion attempt.... any support welcome. thanks and best regards, - _/) Eric Grammatico. _______________________________________________ shifter-users mailing list [email protected] http://lists.devloop.org.uk/mailman/listinfo/shifter-users
