You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Choose your favorite Ubuntu version with [tags](https://hub.docker.com/r/dorowu/ubuntu-desktop-lxde-vnc/tags/)
25
41
@@ -30,91 +46,84 @@ Choose your favorite Ubuntu version with [tags](https://hub.docker.com/r/dorowu/
30
46
- xenial: Ubuntu 16.04 (deprecated)
31
47
- trusty: Ubuntu 14.04 (deprecated)
32
48
33
-
VNC Viewer
34
-
------------------
49
+
## VNC Viewer
35
50
36
51
Forward VNC service port 5900 to host by
37
52
38
-
```
53
+
```shell
39
54
docker run -p 6080:80 -p 5900:5900 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc
40
55
```
41
56
42
57
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
The Resolution of virtual desktop adapts browser window size when first connecting the server. You may choose a fixed resolution by passing `RESOLUTION` environment variable, for example
79
91
80
-
```
92
+
```shell
81
93
docker run -p 6080:80 -e RESOLUTION=1920x1080 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc
82
94
```
83
95
84
-
Default Desktop User
85
-
--------------------
96
+
## Default Desktop User
86
97
87
98
The default user is `root`. You may change the user and password respectively by `USER` and `PASSWORD` environment variable, for example,
You may deploy this application to a subdirectory, for example `/some-prefix/`. You then can access application by `http://127.0.0.1:6080/some-prefix/`. This can be specified using the `RELATIVE_URL_ROOT` configuration option like this
97
107
98
-
```
108
+
```shell
99
109
docker run -p 6080:80 -e RELATIVE_URL_ROOT=some-prefix dorowu/ubuntu-desktop-lxde-vnc
100
110
```
101
111
102
112
NOTE: this variable should not have any leading and trailing splash (/)
103
113
104
-
Sound (Preview version and Linux only)
105
-
--------------------------------------
114
+
## Sound (Preview version and Linux only)
106
115
107
116
It only works in Linux.
108
117
109
118
First of all, insert kernel module `snd-aloop` and specify `2` as the index of sound loop device
0 commit comments