{"id":20514765,"url":"https://github.com/rattydave/docker-ubuntu-xrdp-mate-custom","last_synced_at":"2025-04-07T05:07:52.021Z","repository":{"id":56458548,"uuid":"91989672","full_name":"RattyDAVE/docker-ubuntu-xrdp-mate-custom","owner":"RattyDAVE","description":"Ubuntu with XRDP and MATE","archived":false,"fork":false,"pushed_at":"2024-09-08T13:15:06.000Z","size":11948,"stargazers_count":110,"open_issues_count":1,"forks_count":719,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-31T04:04:16.135Z","etag":null,"topics":["docker","mate","mate-desktop","ubuntu","xrdp"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/rattydave/docker-ubuntu-xrdp-mate-custom/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RattyDAVE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"RattyDAVE"}},"created_at":"2017-05-21T21:48:22.000Z","updated_at":"2025-03-01T18:59:56.000Z","dependencies_parsed_at":"2022-08-15T19:10:25.490Z","dependency_job_id":"989795bc-7230-412b-b80f-0f85c8a59109","html_url":"https://github.com/RattyDAVE/docker-ubuntu-xrdp-mate-custom","commit_stats":{"total_commits":767,"total_committers":2,"mean_commits":383.5,"dds":"0.0013037809647978849","last_synced_commit":"9e19f64d6a3f9d42598210e4899ab6495a803de4"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RattyDAVE%2Fdocker-ubuntu-xrdp-mate-custom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RattyDAVE%2Fdocker-ubuntu-xrdp-mate-custom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RattyDAVE%2Fdocker-ubuntu-xrdp-mate-custom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RattyDAVE%2Fdocker-ubuntu-xrdp-mate-custom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RattyDAVE","download_url":"https://codeload.github.com/RattyDAVE/docker-ubuntu-xrdp-mate-custom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595334,"owners_count":20963943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","mate","mate-desktop","ubuntu","xrdp"],"created_at":"2024-11-15T21:18:06.872Z","updated_at":"2025-04-07T05:07:52.000Z","avatar_url":"https://github.com/RattyDAVE.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/RattyDAVE"],"categories":[],"sub_categories":[],"readme":"Use https://github.com/RattyDAVE/docker-ubuntu-xrdp-mate-custom/issues to send feedback, issues, comments and general chat.\n\n### Quick Start\n\nRun the following to get started.\n\n```\necho \"user:pass:N\" \u003e CREATEUSERS.TXT\ndocker run --name RattyDAVE20.04 \\\n           --privileged=true \\\n           -p 3389:3389 \\\n           -e TZ=\"Europe/London\" \\\n           -v ${PWD}/CREATEUSERS.TXT:/root/createusers.txt \\\n           -dit --restart unless-stopped \\\n           rattydave/docker-ubuntu-xrdp-mate-custom\n```\n\nThen on a windows machine type\n\n```\nmstsc\n```\n\nThen put in the IP address of the docker host.\n\nLogin using the username `user` and the password `pass`\n\n# A virtual desktop docker container with persistant user information.\n\nThis image is automatically rebuilt when updates are realeased for Ubuntu.\n\n# Ubuntu 20.04 with XRDP and MATE. (latest)\n\nContents:\n- Ubuntu 20.04\n- Mate Desktop (ubuntu repo)\n- XRDP (built from source)\n- XRPDXORG (built from source)\n- tightvncserver (ubuntu repo)\n- Epiphany web browser (ubuntu repo)\n- Custom xrdp.ini script\n- Default UK Keyboard layout (Can be changed)\n- Default UK Timezone (Can be changed)\n- You are now able to set the time zone with the TZ variable\n- Ability to run a script on container startup. This is useful for installing packages that are needed.\n- Local Drive mapping (require elevated rights with this parameter ```--privileged=true```)\n- Clipboard Sharing (require elevated rights with this parameter ```--privileged=true```)\n\n```\ndocker run --name RattyDAVE20.04 \\\n           --privileged=true \\\n           -p 3389:3389 \\\n           -e TZ=\"Europe/London\" \\\n           -v %LOCAL_PATH_TO_CREATEUSERS.TXT_FILE%:/root/createusers.txt \\\n           -v %LOCAL_PATH_TO_STARTUP.SH_FILE%:/root/startup.sh \\\n           -v %LOCAL_PATH_TO_HOME_DIRECTORY%:/home \\\n           -dit --restart unless-stopped \\\n           rattydave/docker-ubuntu-xrdp-mate-custom:20.04\n```\n\n- Replace %LOCAL_PATH_TO_CREATEUSERS.TXT_FILE% with the local filename of the createusers file.\n- Replace %LOCAL_PATH_TO_STARTUP.SH_FILE% with the local filename of the startup.sh script. This is run after the user creation and before the service start.\n- Replace %LOCAL_PATH_TO_HOME_DIRECTORY% with the local directory of the /home directorys.\n\nThis file contains 3 fields (username:password:is_sudo). Where username is the login id. Password is the password. is_sudo does the user have sudo access(only Y is recognised). It also needs a \"newline\" at the end of the line.  \n\nExample of a CREATEUSERS.TXT file\n```\nmickey:mouse:N\ndaisy:duke:Y\ndog:flash:n\nmorty:rick:wubba\n```\nIn this example 4 users will be created and only daisy will have sudo rights.\nAt every reboot it will check this file and ADD any new users.\n\nExample of a STARTUP.SH file to change locale.\n```\napt-get update\napt-get -y install language-pack-de language-pack-gnome-de\nlocale-gen de_DE.UTF-8\nupdate-locale LANG=de_DE.UTF-8\n```\n\n## To Connect\nPlease note some clients need an extra parameter set glyph-cache. xfreerdp, remmina and others need this set.\n\nLinux example of how to connect:\n\n```\nxfreerdp /size:1920x1140 /kbd:0x00000809 /v:%IP_ADDRESS% /gdi:hw /drive:home,$HOME +clipboard /sound:sys:alsa +glyph-cache\n```\n\nWindows example:\n\nOpen a command prompt and type\n\n```\nmstsc\n````\n\nThen put in the ip address of the docker host.\n\n## Auto Update\n\nTo automatically update I recomend using watchtower.\n\n```\ndocker run -d \\\n    --name watchtower \\\n    -v /var/run/docker.sock:/var/run/docker.sock \\\n    containrrr/watchtower\n```\n\n## rattydave/docker-ubuntu-xrdp-mate-custom:20.04-tools\n\nI doubt most people would want this version but I have made available. This release contains development tools.\n\n- x3270\n- filezilla\n- netbeans\n- dia\n- geany\n- putty\n- mysql-workbench\n- remmina \n- openjdk-11-jre\n- libreoffice\n- pasmo\n- BlueJ\n- Rocket2014 (A RC2014 Z80 emulator - https://github.com/trcwm/rocket2014 - ROMs located in /opt/rocket2014/examples)\n\nScreen sharing:\n           On the master user connect using the Xvnc option and login as normal.\n           On the desktop there is a file called session_info.txt this will contain the display number and password.\n           \n           On the other clients connect using the Reconnect option.\n           Using the information in the session_info file:\n                PORT = 5900 + display number. (So if display is 11 then the port would be 5911)\n                USERNAME = Username of the master account.\n                PASSWORD = the password in the Session_info.txt file. (e.g. 1a2b3c4d)\n                \n\nExample of a working command line.\n\n```\ndocker run --name RattyDAVE20.04-tools \\\n           --privileged=true \\\n           -p 3389:3389 \\\n           -e TZ=\"Europe/London\" \\\n           -v %LOCAL_PATH_TO_CREATEUSERS.TXT_FILE%:/root/createusers.txt \\\n           -v %LOCAL_PATH_TO_STARTUP.SH_FILE%:/root/startup.sh \\\n           -v %LOCAL_PATH_TO_HOME_DIRECTORY%:/home \\\n           -dit --restart unless-stopped \\\n           rattydave/docker-ubuntu-xrdp-mate-custom:20.04-tools\n```\n\nPlease note some clients need an extra parameter set glyph-cache. xfreerdp, remmina and others need this set.\n\nLinux example of how to connect ```xfreerdp /v:xxx.xxx.xxx.xxx /drive:home,/home/xxxx +clipboard +glyph-cache```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frattydave%2Fdocker-ubuntu-xrdp-mate-custom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frattydave%2Fdocker-ubuntu-xrdp-mate-custom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frattydave%2Fdocker-ubuntu-xrdp-mate-custom/lists"}