Git Product home page Git Product logo

docker-vnc-debian's Introduction

Debian Docker Container with TightVNC and XFCE

This project provides a Docker container setup for running a Debian-based system with TightVNC and the XFCE desktop environment. It's designed to allow remote desktop access to a lightweight Linux desktop via VNC.

Features

  • Debian Latest: The container is based on the latest version of Debian.
  • TightVNC Server: Allows for VNC access to the container's desktop environment.
  • XFCE Desktop: A lightweight and fully functional desktop environment.
  • Dockerized: Easy to deploy and run on any system with Docker.

Prerequisites

  • Docker installed on your host machine.
  • A VNC client installed on your host machine to connect to the Docker container.

Installation and Usage

Building the Docker Image

Clone the repository and navigate into the project directory:

```$ git clone cd ```

Build the Docker image:

``` $ docker build -t debian-tightvnc . ```

Running the Container

To start the container in detached mode and expose the VNC server on port 5901:

``` $ docker run -d -p 5901:5901 debian-tightvnc ```

Connecting via VNC

Open your VNC client and connect to localhost:5901. When prompted for a password, enter the password you configured in the Dockerfile (default is useruseruser).

Customization

You can customize the VNC server settings, including the password and display options, by modifying the Dockerfile before building the image.

  • To change the VNC password, update the echo "your_password" | vncpasswd -f > /root/.vnc/passwd line with your desired password.
  • Adjust the geometry and depth parameters in the CMD command in the Dockerfile to change the screen size and color depth.

Security Considerations

This setup is intended for development and testing purposes. Running a VNC server accessible over the network can pose security risks. If you're deploying this in a production environment, consider implementing additional security measures, such as SSH tunneling or VPN access.

License

This project is open-source and available under the MIT License.

Acknowledgments

docker-vnc-debian's People

Contributors

jrand0m avatar

Watchers

 avatar

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.