How topsoftdeveloper/remotehiddendesktop works
KHVNC implements remote control of a hidden Windows desktop, with native and Python client variants. The principal workflow is a client connection to the server, transmission of desktop images for display, and return of operator input to the remote session; the README also documents app and browser launching. The sampled source supports the server’s image-receive/display and input-command handling, but does not expose the full native client or hidden-desktop implementation, so those links are limited to documented behavior. The Python client’s detailed runtime wiring is also only partially sampled.
Main entry points: Server.cpp Server Runtime · main.py Python Client · Main.cpp Native Client · HiddenDesktop.cpp Desktop Session
Components 17
Control Server
- Server Startup
Server/Main.cpp - Server Runtime
Server/Server.cpp - Control Window
Server/ControlWindow.cpp
Hidden Desktop
- Native Client
Client/Main.cpp - Desktop Session
Client/HiddenDesktop.cpp - Image Capture
Client/HiddenDesktop.cpp - Input Handling
Client/HiddenDesktop.cpp
Python Client
- Python Client
PyClient/main.py - Python Desktop
PyClient/virtualdesktop.py - Bitmap Processing
PyClient/bitmap.py - Compression
PyClient/compress.py - App Launching
PyClient/processmanage.py
Shared Runtime
- Socket Protocol
common/HTTP.cpp - Windows API Bindings
common/Api.cpp
Other components
- Operator
- Network
- Remote Applications
Connections 19
- Operator → Control Window: controls
- Server Startup → Server Runtime: starts
- Server Runtime → Control Window: displays frames
- Server Runtime → Network: accepts connections
- Native Client → Network: connects
- Network → Server Runtime: transfers frames
- Control Window → Server Runtime: dispatches input
- Server Runtime → Network: sends input
- Network → Input Handling: delivers input
- Desktop Session → Image Capture: captures screen
- Image Capture → Network: sends images
- Desktop Session → Remote Applications: hosts applications
- Python Client → Network: connects
- Python Client → Python Desktop: starts session
- Python Client → Bitmap Processing: uses images
- Python Client → Compression: compresses frames
- Python Client → App Launching: launches apps
- Native Client → Desktop Session: starts session
- Native Client → Windows API Bindings: initializes bindings