[winswitch] Problem to connect from Windows client
ron.eggler at gmail.com
ron.eggler at gmail.com
Sat Jan 30 19:59:42 GMT 2016
Hi,
I'm not able to connect with the Windows client to retrieve applications started with xpra. I
have followed the instructions on https://help.ubuntu.com/community/Xpra[1] to start an
application with a screen like:
server side:
$ xpra start :7
WARNING: low display number: 7
You are attempting to run the xpra server against what seems to be a default X11 display ':7'.
This is generally not what you want.
You should probably use a higher display number just to avoid any confusion (and also this
warning message).
Entering daemon mode; any further errors will be reported to:
/home/ron/.xpra/:7.log
$ DISPLAY=:7 xterm
which works fine, however, the last command doesn't return aat all but I confirm in a different
shell:
$ xpra list
Found the following xpra sessions:
LIVE session at :7
client side:
I start the Windows Xpra client application,
set the mode to ssh,
quality Auto
Speed Auto
user at ip 22:7
password <empty>
Upon which I get asked for my users password tp establish the ssh session and I get
immediately thrown abck into the xpra client with a message in red
"Connection Lost" - this while I have a second ssh connection open using putty - and I can
confirm, that second session strays connected at all times.
In the server log /home/ron/.xpra/:7.log I see the following:
2016-01-30 10:50:31,678 New connection received:
SocketConnection(/home/ron/.xpra/regDesktopHome-7)
2016-01-30 10:50:31,681 Handshake complete; enabling connection
2016-01-30 10:50:31,683 Python/Gtk2 Microsoft Windows 10 client version 0.16.1 connected
from 'DESKTOP-LKDED6P' as 'ron' ('reggl')
2016-01-30 10:50:31,683 using h264 as primary encoding, also available: vp8, png, png/P, png/L,
webp, rgb24, jpeg, rgb32
2016-01-30 10:50:31,684 client root window size is 1280x720 with 1 displays:
2016-01-30 10:50:31,684 '1\WinSta-Default' (225x127 mm) workarea: 1920x1020
2016-01-30 10:50:31,684 failed to parse screen size information: too many values to unpack
2016-01-30 10:50:31,684 server error processing new connection from
Protocol(SocketConnection(/home/ron/.xpra/regDesktopHome-7))
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/xpra/server/server_core.py", line 439, in _process_hello
self.hello_oked(proto, packet, c, auth_caps)
File "/usr/lib/python2.7/dist-packages/xpra/server/server_base.py", line 513, in hello_oked
root_w, root_h = self.set_best_screen_size()
File "/usr/lib/python2.7/dist-packages/xpra/x11/x11_server_base.py", line 229, in
set_best_screen_size
return self.set_screen_size(max_w, max_h)
File "/usr/lib/python2.7/dist-packages/xpra/x11/x11_server_base.py", line 252, in
set_screen_size
xinerama_changed = self.save_fakexinerama_config()
File "/usr/lib/python2.7/dist-packages/xpra/x11/x11_server_base.py", line 344, in
save_fakexinerama_config
plug_name, x, y, width, height, wmm, hmm = m[:8]
ValueError: too many values to unpack
2016-01-30 10:50:31,684 Disconnecting existing client
Protocol(SocketConnection(/home/ron/.xpra/regDesktopHome-7)), reason is: server error
accepting new connection
2016-01-30 10:50:31,685 xpra client disconnected.
2016-01-30 10:50:31,685 Connection lost
2016-01-30 10:50:31,687 Connection lost
How can I get this to work?
Thank you for any hints and/or suggestions!
Ron
--------
[1] https://help.ubuntu.com/community/Xpra
More information about the shifter-users
mailing list