hurricanehrndz Posted May 1, 2015 Share Posted May 1, 2015 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. Quote Link to comment
sparklyballs Posted May 1, 2015 Share Posted May 1, 2015 does startapp need a shebang ? is it replacing autostart ? Quote Link to comment
sparklyballs Posted May 1, 2015 Share Posted May 1, 2015 can i ask that the baseimage has TERM=xterm in the ENV to make testing from a command line easier ? Quote Link to comment
hurricanehrndz Posted May 1, 2015 Author Share Posted May 1, 2015 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. Quote Link to comment
hurricanehrndz Posted May 1, 2015 Author Share Posted May 1, 2015 can i ask that the baseimage has TERM=xterm in the ENV to make testing from a command line easier ? Yeah I can do that. Quote Link to comment
aptalca Posted May 2, 2015 Share Posted May 2, 2015 Is this a leftover file that is unused? https://github.com/HurricaneHernandez/dockergui/blob/master/files/install/tmm_install.sh Quote Link to comment
aptalca Posted May 2, 2015 Share Posted May 2, 2015 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 Quote Link to comment
trurl Posted May 2, 2015 Share Posted May 2, 2015 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. Quote Link to comment
aptalca Posted May 2, 2015 Share Posted May 2, 2015 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. Quote Link to comment
hurricanehrndz Posted May 2, 2015 Author Share Posted May 2, 2015 There are some issues. I am quickly trying to find them and fix them all. Please stand by. Quote Link to comment
aptalca Posted May 2, 2015 Share Posted May 2, 2015 Take your time. Let me know when you need me to test :-) Quote Link to comment
hurricanehrndz Posted May 2, 2015 Author Share Posted May 2, 2015 Okay, Its working now. Add I just test by building tinyMediaManager using the baseimage. See the example below: https://github.com/HurricaneHernandez/tmm/tree/xvnc Quote Link to comment
sparklyballs Posted May 2, 2015 Share Posted May 2, 2015 Okay, Its working now. Add I just test by building tinyMediaManager using the baseimage. See the example below: https://github.com/HurricaneHernandez/tmm/tree/xvnc That's actually the first time that i've been able to build a docker with a script in it without hitting the chmod bug in docker. Quote Link to comment
sparklyballs Posted May 2, 2015 Share Posted May 2, 2015 The kill process in your startapp.sh , is that something specific to tmm ? Quote Link to comment
hurricanehrndz Posted May 2, 2015 Author Share Posted May 2, 2015 Yeah, i thought I had removed it. Quote Link to comment
sparklyballs Posted May 2, 2015 Share Posted May 2, 2015 ---> 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. Quote Link to comment
aptalca Posted May 2, 2015 Share Posted May 2, 2015 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/ Quote Link to comment
BRiT Posted May 2, 2015 Share Posted May 2, 2015 ---> 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. Quote Link to comment
hurricanehrndz Posted May 4, 2015 Author Share Posted May 4, 2015 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. Quote Link to comment
hurricanehrndz Posted May 5, 2015 Author Share Posted May 5, 2015 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. Quote Link to comment
sparklyballs Posted May 5, 2015 Share Posted May 5, 2015 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 Quote Link to comment
hurricanehrndz Posted May 5, 2015 Author Share Posted May 5, 2015 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. Quote Link to comment
sparklyballs Posted May 5, 2015 Share Posted May 5, 2015 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. Quote Link to comment
hurricanehrndz Posted May 5, 2015 Author Share Posted May 5, 2015 test out the x11rdp one, its awesome. Quote Link to comment
Recommended Posts
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.