[winswitch] Xpra proxy with --auth=allow does not work

Mukul Agrawal mukulagrawal78 at yahoo.com
Wed Aug 31 23:55:41 BST 2016


OK. Upgraded my ubuntu distributon to Xenial and then got the xpra 1.0 from beta. Still, cannot get it to work. Any help?

started proxy like this
-- xpra proxy :13 --bind-tcp=0.0.0.0:10002--tcp-auth=multifile:filename=/home/ubuntu/xpra-auth
started a couple of servers on same machine like this
-- xpra start :11 --bind-tcp=0.0.0.0:10000
-- xpra start :12 --bind-tcp=0.0.0.0:10001
-- DISPLAY=:11 xlclock &
-- DISPLAY=:12 xlogo

try to attach from windows machine
-- Xpra_cmd.exe attach --username=ubuntu --password-file=pswd.txt tcp/52.53.168.31/10002/11

Everything seems to go well in the beginning. No error message. It simply drops the connection without saying anything.

Here is the log from proxy :-



2016-08-31 22:28:47,740 New unix-domain connection receivedon /home/ubuntu/.xpra/ip-aa-bb-cc-dd-13^[[0m
2016-08-31 22:29:00,624 New tcp connection received from xx.yy.zz.aa:5792^[[0m
2016-08-31 22:29:00,625 Authentication required by multi password fileauthenticator module^[[0m
2016-08-31 22:29:00,625  sending challenge for 'ubuntu' using hmacdigest^[[0m
^[[33m2016-08-31 22:29:00,955 Warning: enc_xvid failed its self test^[[0m
^[[33m2016-08-31 22:29:00,955  No module named xvid^[[0m
2016-08-31 22:29:00,966 proxy video encoders: x264^[[0m
2016-08-31 22:29:00,966 new proxy instance started^[[0m
2016-08-31 22:29:00,966  for client tcp socket: aa.bb.cc.dd:10002 <- xx.yy.zz.aa:5792^[[0m
2016-08-31 22:29:00,967  and server tcp socket: aa.bb.cc.dd:43006 <- 22.33.44.55:10000^[[0m
2016-08-31 22:29:00,967 proxy instance now also available using unix domainsocket:^[[0m
2016-08-31 22:29:00,967  /home/ubuntu/.xpra/ip-aa-bb-cc-dd-proxy-7553^[[0m
2016-08-31 22:29:00,967 setting sockets (tcp socket: aa.bb.cc.dd:10002 <- xx.yy.zz.aa:5792,tcp socket: aa.bb.cc.dd:43006 <- 22.33.44.55:10000) to blocking mode^[[0m
2016-08-31 22:29:01,628 stop(client connection lost, Protocol(None))^[[0m
2016-08-31 22:29:01,628 removing socket /home/ubuntu/.xpra/ip-aa-bb-cc-dd-proxy-7553^[[0m
2016-08-31 22:29:01,638 proxy instance 7553 stopped^[[0m Here is the log from the serveritself 2016-08-3122:28:47,738 New unix-domain connection received on /home/ubuntu/.xpra/ip-aa-bb-cc-dd-11^[[0m
2016-08-31 22:29:00,974 New tcp connection received from 22.33.44.55:43006^[[0m
2016-08-31 22:29:00,977 Handshake complete; enabling connection^[[0m
^[[31m2016-08-31 22:29:00,980 Error setting up the source's DBUS server:^[[0m
^[[31m2016-08-31 22:29:00,980  No module named dbus^[[0m
2016-08-31 22:29:00,981 Python/Gtk2 Microsoft Windows 7 client version0.16.3-r12203^[[0m
2016-08-31 22:29:00,981  connected from 'MAGRAWAL’ as 'ubuntu' -'magrawal'^[[0m
2016-08-31 22:29:00,981 via {'': 'linux2', 'name': 'Linux Ubuntu 16.04 xenial','machine': 'x86_64', 'platform':'Linux-4.4.0-36-generic-x86_64-with-Ubuntu-16.04-xenial', 'architecture':['64bit', 'ELF'], 'release': '4.4.0-36-generic', 'processor': 'Intel(R) Xeon(R)CPU E5-2670 v2 @ 2.50GHz', 'linux_distribution': ['Ubuntu', '16.04', 'xenial']}proxy version unknown on 'ip-aa-bb-cc-dd'^[[0m
^[[33m2016-08-31 22:29:00,981 Warning: proxy version may not be compatible:remote version not available!^[[0m
2016-08-31 22:29:00,982  using h264 as primary encoding alsoavailable:^[[0m
2016-08-31 22:29:00,982   vp9, vp8, png, png/P, png/L, rgb24, jpeg,rgb32^[[0m
2016-08-31 22:29:00,990  client root window size is 1920x1080 with 1display:^[[0m
2016-08-31 22:29:00,990   Default (508x285 mm - DPI: 96x96)^[[0m
2016-08-31 22:29:00,990     DISPLAY1 (677x381 mm - DPI:72x72)^[[0m
2016-08-31 22:29:01,017 setting key repeat rate from client: 500ms delay / 33msinterval^[[0m
2016-08-31 22:29:01,018 keyboard mapping already configured (skipped)^[[0m
2016-08-31 22:29:01,629 client has requested disconnection: server shutdown(client connection lost)^[[0m
2016-08-31 22:29:01,629 Disconnecting client 22.33.44.55:43006:^[[0m
2016-08-31 22:29:01,629  client request^[[0m
2016-08-31 22:29:01,630 xpra client 5 disconnected.^[[0m

Regards, Mukul ( https://sites.google.com/site/mukulagrawal ) 

    On Wednesday, August 31, 2016 4:05 AM, Antoine Martin via shifter-users <shifter-users at lists.devloop.org.uk> wrote:
 

 On 30/08/16 23:52, Mukul Agrawal via shifter-users wrote:
> I am running xpra server 0.15 that I got from the latest winswitch repo.
> Started proxy like that shown in your basic usage example ProxyServer – Xpra
> 
> xpra proxy :13 --bind-tcp=0.0.0.0:10000 --auth=allow
> started a xpra server instance on same machine/same account using several different formatsxpra start :11
> xpra start :11 --bind-tcp=127.0.0.1:10001
> xpra start :11 --auth=allow --bind-tcp=127.0.0.1:10001
> When I try to attach to this instance from windows machine using
> Xpra_cmd attach tcp/user at IP/10000/11  
> 
> I get authentication error :- " authentication failed: this server requires authentication, please provide a password."
I assume you must be using an older distribution like Ubuntu Trusty?

Please try with the current beta packages, the next release will support
those older distribution versions and it includes a large number of
fixes for the proxy server:
http://xpra.org/trac/ticket/952
http://xpra.org/trac/ticket/1264
Many of those features and fixes are not available in the branch you are
using.

Cheers
Antoine

> 
> Another problem
> xpra stop :13 will not stop the proxy.I again get a message asking for a password.
>  Regards, 
> Mukul 
> ( https://sites.google.com/site/mukulagrawal )
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
> 

_______________________________________________
shifter-users mailing list
shifter-users at lists.devloop.org.uk
http://lists.devloop.org.uk/mailman/listinfo/shifter-users


   


More information about the shifter-users mailing list