MyVNC

command module
v0.0.34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: GPL-2.0, GPL-2.0-or-later Imports: 41 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

MyVNC

A fast VNC / Remote Desktop viewer for Windows, in pure Go.

English · 简体中文

MyVNC is a native Windows viewer for VNC (RFB) and Microsoft Remote Desktop (RDP), built with pure Go and MyGo — no Electron, no runtime dependencies. It is a port of the TigerVNC viewer, extended with an Apple Remote Desktop high-performance media path, adaptive video quality, and file transfer.

Highlights

  • Two protocols, one app. Standard VNC sessions plus RDP by embedding the system Remote Desktop ActiveX control — enter rdp://host[:port] as the address. NLA, RemoteFX/H.264, audio and clipboard are handled by Windows itself.
  • Apple Remote Desktop High Performance. HEVC 4:4:4 or H.264 over SRTP at the Mac's source frame rate, decoded on the GPU through Media Foundation (D3D11/DXVA), with NAT punch, packet reordering and AV1 when an MFT is installed. Verified live against macOS 27.2 at ~50 fps.
  • Adaptive quality. Throughput, RTT and jitter are measured every update; JPEG quality tiers, H.264 bitrate and GOP follow the link. LAN / WAN / Mobile presets and a PiKVM-style video panel (mode, quality, max fps, GOP, display orientation).
  • Full TigerVNC protocol coverage. RFB 3.3 / 3.7 / 3.8 and Apple 3.889; None, VncAuth, Plain, VeNCrypt X509, RSA-AES, MSLogonII, ARD DH with session encryption; Raw, CopyRect, RRE, Hextile, Tight, ZRLE, ARD, MVS, H.264, AV1; QEMU extended keys, fence, continuous updates, remote resize, LED sync, QEMU audio.
  • File transfer with a Mac. Drop files from Explorer onto the session to upload; the session menu downloads files, folders and symlinks. Windows clipboard files land in the Mac's Downloads folder.
  • Parsec-style UI. Computer cards with live thumbnails, chrome-free sessions with an overlay panel, a stats HUD (fps, decode ms, bitrates, dropped frames), WinUI 11 look, light/dark/system theme. English and Simplified Chinese.
  • Safe by default. Security-level indicator, weak-type refusal, certificate and host-key trust on first use, password warnings, logging to myvnc.log.

Install

Grab MyVNC-Setup-<version>-amd64.exe (installer) or the portable MyVNC-<version>-amd64.exe from Releases. Both are built and checksummed by CI. No installation of runtimes is required.

Usage

  • Launch MyVNC.exe, add a computer, and click its card.
  • Command line: MyVNC.exe [host[:port]] or MyVNC.exe rdp://host[:port]. TigerVNC-compatible options and .tigervnc files are supported (MyVNC.exe -h for the list).
  • AI agents: MyVNC.exe --mcp runs an MCP server on stdio, with no window (docs/MCP.md); off until you turn it on in Settings.
  • In-session: overlay panel for stats and video settings; Ctrl+Alt+Del sends Ctrl+Alt+Del; right-click a home card to remove it.

Build

Requires Go 1.27+ and Windows.

go tool mygo dev     # run with live reload
go test ./...        # tests
go tool mygo build   # build exe + installer into build/

Documentation

Doc Contents
docs/MCP.md MyVNC.exe --mcp: MCP server for AI agents
docs/rdp.md RDP sessions: usage, credentials, limits
docs/bandwidth.md Link measurement, quality policy, server-side requirements
docs/ard-drag.md ARD drag-and-drop and file transfer internals
docs/RELEASING.md Release workflow
ROADMAP.md Version history, known limits, open work

License

GNU General Public License, version 2 — see LICENSE.

Portions derived from TigerVNC, Copyright (C) 1999-2025 TigerVNC Team and many others (see individual files), and from TightVNC/RealVNC code it contains. Third-party projects and licenses: README.third-party.md.

Acknowledgements

TigerVNC (viewer core), remotex (ARD media), MyGo & Onevra (UI), purego, go-text/typesetting, golang.org/x/image & x/text, Lucide (icons), FFmpeg, PyCryptodome, Parsec (UX inspiration). Full attribution in README.third-party.md.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
ardprobe command
Command ardprobe connects to a Mac's Screen Sharing, negotiates ARD High Performance and reports, once a second, what arrives on the media stream's UDP ports.
Command ardprobe connects to a Mac's Screen Sharing, negotiates ARD High Performance and reports, once a second, what arrives on the media stream's UDP ports.
internal
fakerfb
Package fakerfb is an RFB 3.8 server without security that answers each FramebufferUpdateRequest with a full-screen update, as fast as the client asks: video at the client's pace, for measuring the viewer without a real server.
Package fakerfb is an RFB 3.8 server without security that answers each FramebufferUpdateRequest with a full-screen update, as fast as the client asks: video at the client's pace, for measuring the viewer without a real server.
mcpserver
Package mcpserver is the MCP server of "MyVNC --mcp": it lets an AI agent see and operate a Mac (ARD) or VNC desktop over stdio.
Package mcpserver is the MCP server of "MyVNC --mcp": it lets an AI agent see and operate a Mac (ARD) or VNC desktop over stdio.
mf
Package mf decodes H.264 and HEVC with a Windows Media Foundation decoder MFT, called through COM vtables without cgo, into *image.RGBA.
Package mf decodes H.264 and HEVC with a Windows Media Foundation decoder MFT, called through COM vtables without cgo, into *image.RGBA.
text
Package text holds TigerVNC's string helpers for clipboard and protocol text: line ending conversion and Latin-1 / UTF-8 / UTF-16 / UCS-4 conversion with TigerVNC's handling of invalid input.
Package text holds TigerVNC's string helpers for clipboard and protocol text: line ending conversion and Latin-1 / UTF-8 / UTF-16 / UCS-4 conversion with TigerVNC's handling of invalid input.
win32
Package win32 is a stub on this system: there is no keyboard hook, grab or LED access, and the layout knows no keys.
Package win32 is a stub on this system: there is no keyboard hook, grab or LED access, and the layout knows no keys.
rfb
Apple clipboard and curtain: thin wiring of rfb/apple's pure encoders onto the Client.
Apple clipboard and curtain: thin wiring of rfb/apple's pure encoders onto the Client.
apple
Apple's private pasteboard extension, the packed-scrap message used by its Screen Sharing client.
Apple's private pasteboard extension, the packed-scrap message used by its Screen Sharing client.
ard
Package ard implements the Apple Remote Desktop pieces of RFB 003.889: the Diffie-Hellman security type (30), the AES-128 helpers used for the encrypted keyboard and session key messages, and the AES-128-CBC record streams used once session encryption is enabled.
Package ard implements the Apple Remote Desktop pieces of RFB 003.889: the Diffie-Hellman security type (30), the AES-128 helpers used for the encrypted keyboard and session key messages, and the AES-128-CBC record streams used once session encryption is enabled.
ard/media
Package media is the client side of Apple Remote Desktop High Performance: the media-stream offer (RFB message 0x1c) and the Mac's encoding-1010 replies, SRTP/SRTCP, RTP depacketizing of HEVC and H.264, receiver feedback, and the UDP legs (Stream).
Package media is the client side of Apple Remote Desktop High Performance: the media-stream offer (RFB message 0x1c) and the Mac's encoding-1010 replies, SRTP/SRTCP, RTP depacketizing of HEVC and H.264, receiver feedback, and the UDP legs (Stream).
auth
Apple "Mac Authentication" (security type 33), derived from rootshell-vnc MacAuthenticator.swift.
Apple "Mac Authentication" (security type 33), derived from rootshell-vnc MacAuthenticator.swift.
decode
Derived from TigerVNC common/rfb/ARDZlibDecoder.cxx (GPL-2.0-or-later).
Derived from TigerVNC common/rfb/ARDZlibDecoder.cxx (GPL-2.0-or-later).
pixel
Package pixel holds the types shared by the RFB connection and the rectangle decoders: the wire pixel format, the framebuffer and the Decoder contract.
Package pixel holds the types shared by the RFB connection and the rectangle decoders: the wire pixel format, the framebuffer and the Decoder contract.
Package viewer is the VNC session behind the MyVNC window: the RFB connection, the double-buffered remote screen, host key trust and the saved settings.
Package viewer is the VNC session behind the MyVNC window: the RFB connection, the double-buffered remote screen, host key trust and the saved settings.
emulatemb
Package emulatemb emulates a middle mouse button by pressing left and right together, as TigerVNC's EmulateMiddleButton option.
Package emulatemb emulates a middle mouse button by pressing left and right together, as TigerVNC's EmulateMiddleButton option.
gesture
Package gesture recognises touch gestures, ported from TigerVNC's vncviewer/GestureHandler.cxx and GestureEvent.h.
Package gesture recognises touch gestures, ported from TigerVNC's vncviewer/GestureHandler.cxx and GestureEvent.h.
keymap
Package keymap translates Windows keyboard messages into X11 keysyms and RFB key codes, as TigerVNC's Win32 viewer does.
Package keymap translates Windows keyboard messages into X11 keysyms and RFB key codes, as TigerVNC's Win32 viewer does.
params
Package params holds TigerVNC-style typed viewer parameters: Bool, Int, String, Enum, Binary, IntList, StringList and EnumList, parsed from the command line as -Param value, -Param=value, --Param=value or Param=value, and read from and written to .tigervnc files.
Package params holds TigerVNC-style typed viewer parameters: Bool, Int, String, Enum, Binary, IntList, StringList and EnumList, parsed from the command line as -Param value, -Param=value, --Param=value or Param=value, and read from and written to .tigervnc files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL