[Container Station]Get VNC to work in a browser

Discussion about various official QPKG software applications. Login required to view the contents.
Post Reply
borok34
New here
Posts: 7
Joined: Fri May 19, 2017 9:04 pm

[Container Station]Get VNC to work in a browser

Post by borok34 »

Hi there,

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
Does anyone know or can point me in a direction to get this to work with container station as well? A work around would do it for me too :)

Thanks.
Post Reply

Return to “Official Apps”