phyang Posted April 13, 2023 Share Posted April 13, 2023 hi admin, i'm trying to implement a VNC web browser using PHP/Javascript, application below are what i looked at so far. 1. No VNC --> i think this method have more proxy security on enabling this, security on this one is harder to bypass 2. Guacamole --> i dont see any extension file for this to be run along XAMPP(apache) I dont see how Guacamole can be install along XAMPP, or is it even possible to install along with it? this is for Windows. Is there other alternative on how to enable this web browser VNC feature using PHP/Javascript. Please advise. thankyou all admin for past hints/tips support on my LDAP enabling and features ! Quote Link to comment https://forums.phpfreaks.com/topic/316135-phpjs-xampp-with-vnc-web-browser/ Share on other sites More sharing options...
requinix Posted April 13, 2023 Share Posted April 13, 2023 I don't see how you're expecting this to work. Is PHP supposed to stream the server desktop UI to the client? Which it won't be able to do unless you have some highly insecure PHP setup, since services on Windows run in a protected sandbox that doesn't actually allow interaction with a user's desktop? If you're on Windows then why not just use RDP? Quote Link to comment https://forums.phpfreaks.com/topic/316135-phpjs-xampp-with-vnc-web-browser/#findComment-1607312 Share on other sites More sharing options...
kicken Posted April 14, 2023 Share Posted April 14, 2023 Fundamentally you'd use PHP to host a websocket server which will connect to whatever VNC server and relay the data back to the browser. Your JS would then connect to that websocket server to receive the VNC data and present it. I wrote something like this many years ago to toy around with websocket's when they were first being introduced. I doubt the code still works, but if your interested you can look at it. Quote Link to comment https://forums.phpfreaks.com/topic/316135-phpjs-xampp-with-vnc-web-browser/#findComment-1607322 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.