Open johnjelinek opened 7 years ago
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
I'm actually trying to connect with xpra on macOS.
On Feb 5, 2017 8:43 AM, "markcross" notifications@github.com wrote:
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 Mark's Home DGM
./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
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rogaha/docker-desktop/issues/38#issuecomment-277524090, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1Uiu9ATTqK48lEs8txgS-mcLjUE9Tbks5rZd_1gaJpZM4Ls1lX .
John,
Actually now I am having more success with this :-)
https://hub.docker.com/r/paimpozhil/dock-x2go-lxde/
Cheers Mark
Cool, I'll check it out
On Feb 5, 2017 12:22 PM, "markcross" notifications@github.com wrote:
John,
Actually now I am having more success with this :-)
https://hub.docker.com/r/paimpozhil/dock-x2go-lxde/
Cheers Mark
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rogaha/docker-desktop/issues/38#issuecomment-277538067, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1UiktAfL3C6daeKYrcTZEoJiTSwxrfks5rZhNXgaJpZM4Ls1lX .
Here's what client I'm using: