I'm trying to get VNC to work in the browser from a running lxc container much like the link you can use in linux station to access it.
I managed to build myself a working Gentoo build with full desktop capabilities (X-server, etc.) running in a lxc container. So far I can connect to the running x11vnc session in the container using a VNC viewer on my local network, but I'm struggling to get it to work with apache (which is running outside of the container)
My goal is to be able to access Gentoo via VNC from the internet. I can't use the normal portforwarding stuff in the router as my connection is DS-Lite.
The only thing that works for me is to use myQNAPcloud where I can access my NAS from outside.
What I found out so far is:
- linux station uses websockify to forward the default x11vnc port 5900 to 6060
- for Apache there seems to be a ProxyPass defined here:
Code: Select all
[/share/CACHEDEV1_DATA/.qpkg/ubuntu-hd] # cat /etc/container-proxy.d/ubuntu-hd
ProxyPass /ubuntu-hd/ http://127.0.0.1:6055/ retry=0
ProxyPass /ubuntu-hd-vnc/websockify ws://10.0.3.3:6060/websockify retry=0
ProxyPass /linux-station-vnc/websockify ws://10.0.3.3:6060/websockify retry=0
ProxyPass /linux-station-vnc/ http://10.0.3.3:6060/ retry=0
Thanks.