-
Notifications
You must be signed in to change notification settings - Fork 379
VNC
mviereck edited this page Aug 25, 2018
·
5 revisions
You can run a VNC server in a docker container and access it with a VNC viewer. You would not need x11docker at all.
Sample setup to provide an x11docker session with VNC:
read Xenv < <(x11docker --xdummy --showenv x11docker/lxde)
env $Xenv x11vnc -noshm -forever -localhost -rfbport 5910
In another terminal, start VNC viewer with vncviewer localhost:5910
.
See man x11vnc
for many details and further infos.
Option -noshm
disables shared memory (MIT-SHM). To allow shared memory, remove -noshm
and use isolation breaking x11docker option --hostipc
.