GithubHelp home page GithubHelp logo

carlonluca / docker-vnc-desktop Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 3.0 1.85 MB

Scripts to create an image with a clean desktop and VNC access.

License: GNU General Public License v3.0

Dockerfile 20.50% Shell 79.50%

docker-vnc-desktop's Introduction

Docker VNC desktop

Docker VNC desktop contains the scripts needed to build images including clean DE's with VNC support. Images are supposed to be as light as possible and simple to run. I use these images mostly for development purposes or quick tasks.

LXQT on docker on Raspberry Pi (arm64)

docker run --rm -e USER=luca -e RESOLUTION=1920x1080 -p 5900:5900 carlonluca/vnc-desktop:jammy-lxqt

Docker lxqt on the Raspberry Pi 4

XFCE (amd64)

docker run --rm -e USER=luca -e RESOLUTION=1920x1080 -p 5900:5900 carlonluca/vnc-desktop:jammy-xfce

Docker xfce on Manjaro

Run

To simply run the image and expose the port to localhost use:

docker run --rm -p 5900:5900 carlonluca/vnc-desktop:bullseye-xfce

This will run the DE as the root user. To run it as a regular user set the USER variable:

docker run --rm -e USER=luca -p 5900:5900 carlonluca/vnc-desktop:bullseye-xfce

The resolution is set to a default, which is frequently too small. Setting the RESOLUTION env variable is sufficient to change it:

docker run --rm -e USER=luca -e RESOLUTION=1920x1080 -p 5900:5900 carlonluca/vnc-desktop:bullseye-xfce

NOTE: default credentials for all images are ubuntu:ubuntu.

docker-vnc-desktop's People

Contributors

carlonluca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-vnc-desktop's Issues

Path to init not correct

Hi Luca,
first of all, a big thank you for the project. It's really useful for me.

Issue

I built a docker image with the Dockerfile you provided. But as soon as I ran the container, an error occurred:
The startup.sh couldn't execute it's last line (39) of code

exec /usr/bin/tini -- supervisord -n -c /etc/supervisor/supervisord.conf

because in the Dockerfile we copied tini to /bin/tini:

ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /bin/tini

Solution

Changing the last line (39) to

exec /bin/tini -- supervisord -n -c /etc/supervisor/supervisord.conf

and rebuilding the image did the trick for me.

You can add those changes to the project if you'd like.

Can't use without user password.

Good afternoon,
I've managed to install your xfce docker and I would like to thank you because yours in the only one that worked for me.
However, I managed to change the username, but, I can't figure out the password.

Can you please help?

Thank you and have a nice day.

EDIT: I found it in your text file, thx again for all your hard work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.