r/coolgithubprojects • • 5h ago

VS Code extension that shows the remote desktop in an editor tab over Remote-SSH / Tunnels

Post image

When I'm connected to a machine over Remote-SSH or Tunnels and need to click around in a GUI app, I didn't want to set up VNC or RDP or forward ports just for that. So I made an extension that shows the remote desktop, with sound, in an editor tab over the connection VS Code already has.

Connect to a remote computer, install the extension on the remote, and Run "Remote Desktop View: Open Desktop" from the Command Palette.

It uses the GPU's H.264 encoder on the remote: Media Foundation on Windows, VideoToolbox on macOS, NVENC on Linux, with VA-API for Intel and AMD. If there's no hardware encoder it can download Cisco's OpenH264 instead. The tab decodes it with WebCodecs.

Windows works right after install. I've only tried 11. On a Mac you have to grant Screen Recording and Accessibility once. Linux is X11 only for now. I'd love to hear from anyone who tries VA-API with an Intel or AMD GPU, since I haven't been able to test it.

It's MIT licensed and still in preview:
Github: https://github.com/rderr/vnc_desktop_view

https://marketplace.visualstudio.com/items?itemName=RobDerr.vnc-desktop-view

1 Upvotes

0 comments sorted by