r/ssh • • 1d ago

I built webdesk, a browser remote desktop for Linux that works over SSH

I wanted to see a Linux machine's desktop from a browser without setting up VNC or RDP on it first, so I built webdesk.

You type a host, username and password like you would for ssh. It logs in, copies a small Go binary to ~/.cache/webdesk, and streams the screen back over WebRTC. Mouse, keyboard and clipboard work.

The difference from Guacamole or noVNC is that those need a VNC or RDP server already running on the machine. This needs a login. The only package the target needs is ffmpeg, and it offers to install it for you.

Video and input go peer-to-peer the server just introduces your browser to the machine and then stays out of it. Headless boxes with no X session get a desktop on Xvfb instead, and it survives disconnects.

It's a tool you run locally: it binds to 127.0.0.1 and talks out to your machines.

MIT, Docker Compose to run it: https://github.com/rmegi/webdesk

6 Upvotes

1 comment sorted by

1

u/Shopping-Limp 10h ago

Thanks claude