This commit is contained in:
cuiyinyin 2017-08-06 14:28:44 +00:00 committed by GitHub
commit 6086ead948
2 changed files with 2 additions and 22 deletions

View File

@ -8,8 +8,6 @@ RUN sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/ap
# built-in packages
RUN apt-get update \
&& apt-get install -y --no-install-recommends software-properties-common curl \
&& sh -c "echo 'deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /' >> /etc/apt/sources.list.d/arc-theme.list" \
&& curl -SL http://download.opensuse.org/repositories/home:Horst3180/xUbuntu_16.04/Release.key | apt-key add - \
&& add-apt-repository ppa:fcwu-tw/ppa \
&& apt-get update \
&& apt-get install -y --no-install-recommends --allow-unauthenticated \
@ -18,9 +16,9 @@ RUN apt-get update \
net-tools \
lxde x11vnc xvfb \
gtk2-engines-murrine ttf-ubuntu-font-family \
libreoffice firefox \
firefox \
fonts-wqy-microhei \
language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-tw \
language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant \
nginx \
python-pip python-dev build-essential \
mesa-utils libgl1-mesa-dri \

View File

@ -20,24 +20,6 @@ Browse http://127.0.0.1:6080/
<img src="https://raw.github.com/fcwu/docker-ubuntu-vnc-desktop/master/screenshots/lxde.png?v1" width=700/>
Connect with VNC Viewer and protect by VNC Password
------------------
Forward VNC service port 5900 to host by
```
docker run -it --rm -p 6080:80 -p 5900:5900 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 -it --rm -p 6080:80 -p 5900:5900 -e VNC_PASSWORD=mypassword dorowu/ubuntu-desktop-lxde-vnc
```
A prompt will ask password either in the browser or vnc viewer.
Troubleshooting
==================