Giter Site home page Giter Site logo

vnc-xfce's Introduction

XFCE on CentOS Stream, with noVNC

docker pull cubio/centos-vnc-xfce:latest
docker run -d --shm-size=256m -p 5901:5901 -p 6905:6901 -e VNC_PW=aVeryGoodPassword cubio/centos-vnc-xfce:latest

Point your VNC client to localhost:5901, or your browser to localhost:6901.

Default password is novncpassword, or define one with the VNC_PW environment variable.

A simple pod/svc k8s manifest could be..

apiVersion: v1
kind: Pod
metadata:
  labels:
    app: centos-vnc-xfce
  name: centos-vnc-xfce
spec:
  securityContext:
    runAsUser: 12345
    runAsGroup: 12345
  containers:
  - image: cubio/centos-vnc-xfce:latest # better to target a unique tag here
    imagePullPolicy: Always
    name: centos-vnc-xfce
    ports:
    - containerPort: 6901
      protocol: TCP
    volumeMounts:
    - mountPath: /dev/shm
      name: shm
    env:
    - name: VNC_PW
      value: aGoodPassword
    - name: VNC_COL_DEPTH
      value: "24"
    - name: VNC_RESOLUTION
      value: "1696x954"
  restartPolicy: Never
  volumes:
  - name: shm
    emptyDir:
      sizeLimit: 256Mi
      medium: Memory
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: centos-vnc-xfce
  name: centos-vnc-xfce
spec:
  ports:
  - name: port6901
    port: 6901
  selector:
    app: centos-vnc-xfce
  type: NodePort

Last edited by JBW on 25/05/2021

vnc-xfce's People

Contributors

jbleddyn avatar sglim2 avatar

Watchers

 avatar

Forkers

jbleddyn

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.