Created Using noVNC and Liberation as Web Interface (markdown)

dFlow82
2020-10-30 09:28:46 +01:00
parent 07c021ef5e
commit 73b1219222

@@ -0,0 +1,42 @@
## Situation:
My flight group and I want to create missions using Liberation. I run the campaign on my dedicated server, which is a Windows 10 Guest VM.
Generally we use the Server Interface provided by ED to control the server. Missions are synced by a Google Drive sync.
So everybody is able to upload missions and run them on the server remotely, without having to use some sort of third party interface - like VNC or Remote Desktop.
On Liberation it is a bit different - you cannot control it using some sort of WebGui. Making a turn would need the user to be on that very machine the mission runs.
Asking for a solution I was pointed to use Remote Desktop for such an endeavour - in my eyes not a good solution when running a server where several people want to operate.
## Workaround:
To access the Liberation Tool I used VNC and set it up the following way...
### Setting up Liberation area
On the Windows VM set up a second screen in which you want to position Liberation. Note that the resolution should be somewhat below your clients-resolution
for example:
If you use 1080p on your client then it would be best that the resolution on your VM is below that (1680x1050) - otherwise your browser bars/frames will cost viewing area.
If you fancy remove the Taskbar from that screen.
### Setting up VNC
Download TightVNC - why? Because you can limit the viewing-Area with it.
I found several other VNC server tools, but its seldom that you can limit the provided area to a certain window or coordinates.
Install TightVNC using its installer.
Once done install it as a service (there are links in the StartMenu for that) and run that service (also link in StartMenu).
In your tray you'll find a VNC icon, click on it and open _configuration_.
Set up your ports and passwords as needed.
On Extra Ports add the port and viewing area your Liberation is positioned
In my particular case (1152x864 main screen / 1680x1050 second screen) that string looks like that:
``5901:1680x1020+1152+30``
Explanation:
5901: listening port for VNC connections
1680: picture width
1020: picture height (minus the windows top-bar)
1152: starting point X (right of my main screen)
30: starting point Y (below the windows top-bar)
Change to the tab _Access Control_ and allow loopback connections
## Setting up noVNC and websockify