Remote version too old
Opened this issue · 4 comments
/Applications/Xpra.app/Contents/Helpers/Xpra --ssh="ssh -p 32769" attach ssh:docker@127.0.0.1:10
2017-01-24 15:52:53,410 Xpra gtk2 client version 1.0.1-r14723 32-bit
2017-01-24 15:52:53,410 running on Mac OS X 10.12.2
2017-01-24 15:52:53,808 GStreamer version 1.8.3 for Python 2.7.13 32-bit
2017-01-24 15:52:54,079 OpenGL_accelerate module loaded
2017-01-24 15:52:54,083 OpenGL enabled with ATI Radeon R9 M370X OpenGL Engine
2017-01-24 15:52:54,095 using default keyboard settings
2017-01-24 15:52:54,108 desktop size is 4440x1920 with 1 screen:
2017-01-24 15:52:54,109 johns-mbp.lan (1566x677 mm - DPI: 72x72)
2017-01-24 15:52:54,109 monitor 1 1440x900 at 1920x624 (508x317 mm - DPI: 72x72) workarea: 1440x797 at 0x183
2017-01-24 15:52:54,109 monitor 2 1920x1080 at 0x364 (677x381 mm - DPI: 72x72) workarea: 1920x1057 at 0x23
2017-01-24 15:52:54,109 monitor 3 1080x1920 at 3360x0 (381x677 mm - DPI: 72x72) workarea: 1080x1897 at 0x23
docker@127.0.0.1's password:
Usage:
xpra start DISPLAY
xpra stop [DISPLAY]
xpra exit [DISPLAY]
xpra list
xpra upgrade DISPLAY
xpra attach [DISPLAY]
xpra detach [DISPLAY]
xpra screenshot filename [DISPLAY]
xpra info [DISPLAY]
xpra control DISPLAY command [arg1] [arg2]..
xpra version [DISPLAY]
xpra shadow [DISPLAY]
xpra: error: invalid mode 'initenv'
2017-01-24 15:53:27,202 incompatible remote version '0.12.3': remote version [0, 12] is too old, sorry
Killed by signal 15.
2017-01-24 15:53:27,206 Connection lost
Here's what client I'm using:
/Applications/Xpra.app/Contents/Helpers/Xpra --version
xpra v1.0.1-r14723
Hi John,
This Docker script builds 14.04 and installs the xpra server end which goes with it.
I am guessing you are trying to connect with a 16.04 flavour of Ubuntu or a version of xpra which is a little bit newer than the server end build of xpra.
I suspect you can issue some switches at this stage (to make it backwards compatible with the other end)
xpra --ssh="ssh -p 22" attach ssh:docker@X.X.X.X:10
The cure of me was to swap:
FROM ubuntu:14.04
for
FROM ubuntu:16.04
And remove
RUN ln -s /usr/bin/Xorg /usr/bin/X
in the Dockerfile which is no longer necessary.
I am personally playing with the script so the Docker container runs in an Amazon AMI in instance and I have added vncviewer at the end of this line.
RUN apt-get install -y libreoffice-base firefox libreoffice-gtk libreoffice-calc xterm vncviewer
Then once in you can run a tweaked version of lines like this
ssh docker@52.56.107.30
./docker-desktop -s 1440x858 -d 10
./docker-desktop -s 1024x768 -d 10
./docker-desktop -s 1680x1000 -d 10
Connect via xpra --ssh="ssh -p 22" attach ssh:docker@X.X.X.X:10
IMMEDIATELY paste the password as soon as you see it in the gibberish!!!!!
Run this from the desktop of the remote
vncviewer -listen 0
########################
Then at the client pushing end on a typical linux 16.04 box
x11vnc -connect x.x.x.x:5500
Cheers Mark
PS On a sad note, looking at the xpra page:
Should I use the version shipped with my Linux distribution?
It depends, generally not.
Now I'm currently strugging with the stable version that comes on 16.04 - just errors and drops connection but I've gone from work to home. Single screen to dual screen.
Basically it's getting foggier
John,
Actually now I am having more success with this :-)
https://hub.docker.com/r/paimpozhil/dock-x2go-lxde/
Cheers Mark