Site icon泓源视野

google shell cloud run vps desktop with ubuntu OS docker

docker-ubuntu-vnc-desktop

google shell cloud https://ssh.cloud.google.com/cloudshell/editor  

***使用tampermonkey浏览器扩展插件添加1小时重新刷新保持状态不重置

Docker image to provide HTML5 VNC interface to access a Ubuntu 18.04 LXDE desktop environment.

Quick Start

Run the docker container and access with port 6080

docker run -p 6080:80 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc

Browse http://127.0.0.1:6080/

Ubuntu Version

Choose your favorite Ubuntu version with tags

VNC Viewer

Forward VNC service port 5900 to host by

docker run -p 6080:80 -p 5900:5900 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc

Now, open the vnc viewer and connect to port 5900. If you would like to protect vnc service by password, set environment variable VNC_PASSWORD, for example

docker run -p 6080:80 -p 5900:5900 -e VNC_PASSWORD=mypassword -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc

A prompt will ask password either in the browser or vnc viewer.

Exit mobile version