diff --git a/Using-noVNC-and-Liberation-as-Web-Interface.md b/Using-noVNC-and-Liberation-as-Web-Interface.md index 1418c48..70cacce 100644 --- a/Using-noVNC-and-Liberation-as-Web-Interface.md +++ b/Using-noVNC-and-Liberation-as-Web-Interface.md @@ -41,7 +41,22 @@ Change to the tab _Access Control_ and allow loopback connections * [Download noVNC](https://github.com/novnc/noVNC) and extract it to a folder of your liking. * change the websocket.json (../noVNC-1.2.0/core/websocket.json - Line 185) to following: ``this_websocket = new WebSocket(uri, ['binary',base64']);`` * [Download Websockify](https://github.com/novnc/websockify) +* Start websockify using (for example) the following parameters: +``..\websockify.exe 5902 127.0.0.1:5901 --web ..\noVNC-1.2.0`` +> * Explanation: +> * ..\websockify.exe - please provide the correct path to the executable +> * 5902 - any port you want to use for your connection +> * 127.0.0.1:5901 - localhost + the port your VNC server is listening on +> * --web - parameter for the web interface to show +> * ..\noVNC-1.2.0 - the path to your noVNC folder +* rename the _vnc.html_ to _index.html_ so you don't need to enter it in the URL afterwards +There are some more parameters to websockify to wrap executables or start them on connection, which I haven't had a look on yet. +## Execution +Start websockify using the parameters given (or adapted). Start Liberation and put it on your second screen maximized. +Start a Browser and enter the URL:port of your machine. Enter you password - now you should see your Liberation tool. -.. to be continued! \ No newline at end of file +## Notes +I did all that for people I trust and not for a public server. Keep in mind that this provides an access to your machine, there is no security implemented. +Why did I use an area instead of an executable wrapping? Because Liberation uses popups, if I wrap VNC only to liberation.exe those popups might not show up - providing an area I avoid this. \ No newline at end of file