Sweet - it’s working!! THANKS @Munchausen !!!
I’m running Haiku on VMWareFusion on same Macbook as web client (not using NAT so didn’t need to do the port forwarding)
I ran this (slightly different than yours):
python3.8 -m websockify 5000 localhost:5001
Tip: (or someone with git access who can modify the .html file)
Add this script to the head section of the .html file to take full browser screen dimensions:
<!DOCTYPE html>
<html>
<head>
<title>Haiku Remote Desktop</title>
<script>
const getWidth = () => {
document.getElementById('width').value = document.body.clientWidth;
};
const getHeight = () => {
document.getElementById('height').value = document.body.clientHeight;
}
</script>
<script src="HaikuRemoteDesktop.js"></script>
...
<body onload="init();getWidth();getHeight();">
<div id="connectForm">