[DOCKER] BaseImage for X apps: newest release x11rdp1.3


95 posts in this topic Last Reply

Recommended Posts

Since a couple of docker developers really liked the results I had with my tinyMediaManager container I have broke out most if to bring a base image that other developers can easily use to develop their X applications that are accessible via a web interface and rdp.

 

You will find most of the documentation on either github or the docker registry.

https://github.com/HurricaneHernandez/dockergui

https://registry.hub.docker.com/u/hurricane/dockergui/

 

Besides the xvnc tag the x11rdp branch has now been enabled and somewhat tested. X11rdp branch has better performance and dynamic resolution. Unfortunately due to a bug in the stable versions, where checkboxes are drawn incorrectly, I had to deploy the dockergui image with a dev compile. Meaning stability might be an issue. Please use the x11rdp branch at your own desecration.

 

Both the Xvnc and X11rdp branch should have the clipboard enabled.

 

Released x11rdp1.2:

 

* added clipboard functionality (This was tested using ms rdp client and copy and pasting text from chrome.)

* added audio functionality (This was tested using mplayer. The rdp clients test were ms, and the built in web client (guac))

 

Released x11rdp1.3

 

* added xclipboard seems to have fix some clipboard issues with java applications

* updated guac to 0.9.7

* update java to jdk8

* update base image to 0.9.17 from phusion

* update x11rdp and xrdp to commit  dbf959f on devel branch.

Link to post
  • Replies 94
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

does startapp need a shebang ?

 

is it replacing autostart ?

 

autostart references and executes startapp if it exist. There is a init config script that checks for the script as well and changes  the permission and makes it executable.

# Programs that will run after Openbox has started
xsetroot -solid black -cursor_name left_ptr
if [[ -e /startapp.sh ]]; then 
echo "Starting X app..."
	exec /startapp.sh
fi

 

Yes please ensure the shebang is there.

Link to post

hi hurricane, I tried to adapt my calibre docker to utilize the dockergui base

 

calibre seems to be installed, the webserver is working, but the gui displays a blank screen.

 

I can't figure out what I'm missing. Do you notice any mistakes?

 

https://github.com/aptalca/docker-rdp-calibre/tree/development

 

The master branch there is using sparkly's code which I assume is very similar and that one works.

 

Thanks

Link to post

hi hurricane, I tried to adapt my calibre docker to utilize the dockergui base

 

calibre seems to be installed, the webserver is working, but the gui displays a blank screen.

 

I can't figure out what I'm missing. Do you notice any mistakes?

 

https://github.com/aptalca/docker-rdp-calibre/tree/development

 

The master branch there is using sparkly's code which I assume is very similar and that one works.

 

Thanks

I already reinstalled your RDP-Calibre, and both gui desktop and webserver are working fine for me.
Link to post

Oh no, the version in my main repo works fine because it is based on sparkly's version.

 

But I am working on a version utilizing this new baseimageby hurricane in my dev repo and that one is giving me problems.

 

Hopefully when this is sorted out, it would be a simple update and the end user would not notice a thing :) But going forward this base image would have a lot of benefits in terms of space savings, update speeds, etc.

Link to post

---> Running in 0756d86e1014
/bin/sh: 1: /tmp/install/shotwell_install.sh: Text file busy

 

^^^^ docker chmod bug

 

when you chmod a file and try to run it afterwards you get that every now and then, most annoying and by every now and then for me means every damn time apart from the once the first time i ran your dockerfile, which incidentally gave me this error a 2nd time i tried it.

 

 

Link to post

Hmm I never ran into that file busy issue. I think the files that I chmod are only run during startup of the dockers. I don't think I run any scripts during build time.

 

Hurricane, I did use this base in dev versions of a couple of my dockers and with your final changes, they work with no problems.

 

https://registry.hub.docker.com/u/aptalca/docker-rdp-calibre-dev/dockerfile/

and

https://registry.hub.docker.com/u/aptalca/docker-rdp-boinc-dev/dockerfile/

Link to post

---> Running in 0756d86e1014
/bin/sh: 1: /tmp/install/shotwell_install.sh: Text file busy

 

^^^^ docker chmod bug

 

when you chmod a file and try to run it afterwards you get that every now and then, most annoying and by every now and then for me means every damn time apart from the once the first time i ran your dockerfile, which incidentally gave me this error a 2nd time i tried it.

 

I've hit that bug a MFT when developing using Boot2Docker on Windows. It's damn annoying that's for sure.

 

Link to post

Hmm I never ran into that file busy issue. I think the files that I chmod are only run during startup of the dockers. I don't think I run any scripts during build time.

 

Hurricane, I did use this base in dev versions of a couple of my dockers and with your final changes, they work with no problems.

 

https://registry.hub.docker.com/u/aptalca/docker-rdp-calibre-dev/dockerfile/

and

https://registry.hub.docker.com/u/aptalca/docker-rdp-boinc-dev/dockerfile/

I am happy to hear that it is working well.

Link to post

Since a couple of docker developers really liked the results I had with my tinyMediaManager container I have broke out most if to bring a base image that other developers can easily use to develop their X applications that are accessible via a web interface and rdp.

 

You will find most of the documentation on either github or the docker registry.

https://github.com/HurricaneHernandez/dockergui

https://registry.hub.docker.com/u/hurricane/dockergui/

 

Besides the xvnc tag the x11rdp branch has now been enabled and somewhat tested. X11rdp branch has better performance and dynamic resolution. Unfortunately due to a bug in stables version, where by checkboxes where drawn incorrectly, I had to deploy the dockergui image with a dev compile. Meaning stability might be an issue. Please use the x11rdp branch at your own desecration.

Link to post

i wonder if you can answer a question, i tried to get a 32 bit app working with the xvnc branch, it works on my docker build VM but not in unraid.

 

comes back with

 

XnRetro: cannot execute binary file: Exec format error

 

i'm guessing this is because unraid v6 is 64bit.

 

is there a way round this ?

 

image is here.

 

https://github.com/sparklyballs/desktop-dockers/tree/master/Xnretro

Link to post

Could be my /nobody/.config/openbox/autostart script

 

exec into the container and remove the exec part of appstart.sh script. Then restart the services sv restart openbox or kill the openbox process and it should restart. If the exec part is causing an issue I will remove it.

Link to post

Could be my /nobody/.config/openbox/autostart script

 

exec into the container and remove the exec part of appstart.sh script. Then restart the services sv restart openbox or kill the openbox process and it should restart. If the exec part is causing an issue I will remove it.

 

 

I don't have the docker loaded at the moment on my unraid, i'm just in the middle of updating my 6 containers based on your image that i do have loaded.

 

number 4 is only a 51mb pull and dockerhub is having it's usual once every 20 minutes or so go slow, and is taking an age to load.

 

if it ever finishes i'll try that.

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.