Remote desktop
An RDP host opens in a tab of its own, next to your SSH tabs: the Windows desktop, signed in with the login saved in the vault. Flint speaks RDP through FreeRDP 3 on macOS and Linux; nothing else needs to be installed on the Windows side but Remote Desktop itself.
Open one
Section titled “Open one”Double-click the host in the sidebar, press ↵ on it, pick it in the palette (⌘K), or from a terminal:
flint connect win-01The CLI never shows a desktop: with Flint open and the vault unlocked, it asks Flint to
open the tab (under the same approval as an SSH
connect), prints Opened win-01 in Flint (remote desktop). and exits 0. With no Flint
serving the vault it fails with wrong_host_type (exit 23) and says to open Flint first.
The tab shows the connection’s progress and how long it may take (30 seconds), with Cancel (esc). A host with no saved password asks for one, for that connection only.
The certificate
Section titled “The certificate”The first time, Flint shows the server’s certificate before it signs in: its subject, issuer, validity and the SHA-256 fingerprint. A self-signed certificate is the normal case for a Windows machine or a VM, and is marked so. To compare the fingerprint, run this in PowerShell on the server:
$c = Get-ChildItem 'Cert:\LocalMachine\Remote Desktop'[BitConverter]::ToString([Security.Cryptography.SHA256]::Create().ComputeHash($c.RawData))Trust and connect keeps it in the vault, beside SSH host keys (Settings → Vault →
Known hosts, or flint known-host list, as rdp://<address>:<port>), and later
connections go straight in.
A changed certificate stops the connection before any password is sent, and there is
no button to continue. It happens when Windows renews its certificate or a VM is rebuilt,
but also when someone sits in the middle. If you know why it changed, forget the old one
in Known hosts (or flint known-host rm win-01) and connect again: you are asked to
verify it as on a first connection.
In the tab
Section titled “In the tab”The desktop is drawn at the size of the tab and follows it: make the window bigger, or hide the sidebar (⌘B), and Windows gets the new size. A server with Display Control (Windows 8 and Server 2012 on) resizes in place; an older one, or another RDP server without it, is reconnected at the new size, back to the same Windows session. If it cannot follow, the desktop is scaled down to fit and letterboxed.
The toolbar shows the host, the user, the desktop’s size and, when it is scaled, by how much. Type sends text as keystrokes (see Type). Disconnect ends the connection and keeps the tab: your Windows session keeps running on the server, and Connect again brings you back to it.
Graphics
Section titled “Graphics”Flint asks Windows for its graphics pipeline (RDPGFX), the way mstsc and Windows
App receive a desktop: Windows encodes what changes with a modern codec, H.264 for video
and moving windows where this computer can decode it, and Flint draws each frame on the
GPU through WebGL. It is smoother and uses less bandwidth than the classic bitmap
updates, which a server without the pipeline still gets. On a machine with no usable GPU
(a VM without graphics acceleration, for example) the page draws in 2D instead.
Flint also asks Windows to measure the link (network auto-detect, as mstsc does), so
Windows sets the quality of what it sends from the bandwidth and round trip it measured:
higher on an office LAN, lower over a slow VPN.
Settings → Remote desktop → Graphics sets the default for new tabs on this computer:
- Automatic (default): chosen when the tab connects. On a local network (a round trip
of 5 ms or less to the server) the classic bitmap updates, which are lossless and feel
smoothest there; over a VPN or the internet the graphics pipeline, which needs several
times less bandwidth. Flint measures the round trip with a few plain TCP connections to
the server’s port just before it connects.
Across two monitors it always takes the graphics pipeline, which keeps drawing while a
window moves from one monitor to the other: the tab switches when it goes full screen
on all monitors and back when it leaves, keeping your Windows session.
A server that takes only the pipeline, such as GNOME Remote Desktop on Linux
(Remote Login), closes the connection during setup when it is offered the bitmap
updates. Automatic then connects once more with the pipeline, and this computer
remembers that host: from then on Automatic takes the pipeline for it straight away.
Only the host’s id is kept, in
ui-state.jsonbeside the settings, never its address. - Pipeline: always the graphics pipeline, with the best codec both ends support.
- Compatible: always the classic bitmap updates, as earlier versions of Flint used. Try it too if a desktop shows wrong colours or garbled areas.
Switch a tab while connected with Automatic / Pipeline / Compatible in its toolbar; hover it to see what Automatic chose and why. The desktop reconnects in that mode in a second or two, at the same size, and your Windows session and its apps stay as they were; Settings keeps its default for new tabs. The reconnect reads the password from the vault again, so it needs the vault unlocked and a saved password: with a password typed at connect time the tab keeps its mode and the toolbar says why.
Stats in the toolbar shows what the desktop costs, once a second, over its top right corner: frames drawn, updates sent by the server, the bandwidth received, the link as Windows measured it, the codec and how long a frame takes to decode, and whether it is drawn with WebGL, and what the tab runs (“Automatic: bitmaps · local network, 1 ms”). It shows only numbers, never the host’s name or address.
Re-reads. About a second after the desktop stops changing, Flint sends the whole picture to the page once more. If an update was ever lost on the way, a block that stays wrong until Windows repaints it, this puts it right within that second. Stats counts the re-reads and the stale pixels they found (“nothing stale” when every update arrived).
Full screen
Section titled “Full screen”Full screen turns the window into the remote desktop: Flint’s sidebar, tabs, toolbar and status bar go, and Windows gets the screen’s whole size. Open it from the toolbar’s Full screen, the tab’s menu (right-click the tab), the palette, or the chord: ⌃⌘F on macOS, Ctrl+Alt+Enter on Linux and Windows. The chord stays Flint’s: it never reaches Windows.
- On macOS it is the system’s own full screen, as Microsoft’s Windows App does: the desktop gets a Space of its own, and swiping between Spaces takes you back to your other windows. The green button of the window does the same with an RDP tab shown.
- On Linux and Windows the window covers the whole monitor, with no frame.
Point at the top edge of the screen and the connection bar drops down: the host, the desktop’s size and round trip, Exit full screen and Disconnect. It goes again when the pointer leaves; the pin keeps it open. On macOS the menu bar shows at the top edge too, and the connection bar drops below it. The first time, a note says how to leave.
Full screen belongs to one tab. Going to another tab (⌘1 … ⌘9, or the palette), locking the vault or closing the tab leaves it. A connection that drops stays full screen, with the Connection lost card in the middle and the bar held open, so Exit full screen is one click away.
Alt+Tab, the Windows key and the other keys your computer keeps for itself still go to your computer in full screen; sending them to Windows is planned.
Across monitors
Section titled “Across monitors”Full screen on all monitors spreads the desktop over two monitors, and Windows sees each one as a monitor of its own, at its size and in its place: the taskbar on the main one, a window maximized fills one monitor, a portrait monitor stays portrait. Open it from the small arrow beside the toolbar’s Full screen, the tab’s menu, or the palette.
- Flint’s window stays full screen on the monitor it is on. That one is Windows’ main monitor, with the taskbar. The other monitor gets a window of its own with nothing but the desktop.
- The pointer and the keyboard work in either window. Flint’s chords (the palette, leaving full screen) work from both.
- The Monitors button in the connection bar shows your monitors as they are arranged. Check or uncheck one and the desktop rearranges at once: Windows keeps your session and your apps. Flint remembers the choice on this computer. With more than two monitors, pick the two the desktop spans; the main one is always one of them.
- Leaving full screen, going to another tab, locking or unplugging one of the monitors puts the desktop back on one monitor, at the size of Flint’s window.
- If the connection drops, the other monitor says so and points you to the main one, where the Connection lost card offers Reconnect.
| System | Across monitors |
|---|---|
| macOS | Yes. Each monitor’s window takes a Space of its own, so Displays have separate Spaces (System Settings → Desktop & Dock) must be on; Flint says so when it is off. |
| Linux | Yes on X11. On Wayland the menu item says “Not supported on this system yet”. |
| Windows | Not yet: “Not supported on this system yet” until it has been checked on Windows. |
Windows needs a Pro or Enterprise edition to show a desktop on more than one monitor. Two monitors carry about twice the pixels of one: on a slow link, Automatic or Compatible matters more there (see Graphics).
In Compatible, Windows takes a few seconds to answer after the desktop changes size or monitors (going full screen, checking a monitor): about 3 seconds for one monitor, 5 to 15 for two, while it sets the session up again, and across two monitors it stops drawing for a second or more while a window is dragged from one to the other. The graphics pipeline answers at once and draws through a drag, which is why Automatic takes it across monitors; with Compatible chosen by hand the desktop keeps it.
When the connection drops
Section titled “When the connection drops”A tab whose connection drops keeps its last picture, greyed, under Connection lost, with the reason and the time it happened. Windows keeps your session for a while: Reconnect (⌘R, Ctrl+Shift+R on Linux, or ↵) signs in again with the vault’s login and brings it back, windows as you left them, within the same 30-second limit as a first connection. Close tab (⌘W) ends it.
A network that goes quiet is noticed too: Flint gives up on a connection that answers nothing for about 10 seconds, or 20 seconds on macOS while it is sending.
Keyboard and mouse
Section titled “Keyboard and mouse”Keys go to Windows by their place on the keyboard, and Windows reads them with your keyboard layout, which Flint hands to the server when it connects (on macOS, the input source in use; on Linux, the X keyboard map or the locale). Dead keys and AltGr work as on the remote.
Almost every key belongs to the remote desktop:
- On macOS, by default, ⌘ is sent as Ctrl, as Microsoft’s Windows App does: ⌘C, ⌘V, ⌘Z and ⌘W act on Windows. ⌃ is the Windows key. See Modifier keys on a Mac to change that.
- Flint keeps only the palette (⌘K, Ctrl+Shift+K on Linux), the tab switches (⌘1 … ⌘9), on ⌘ whatever the setting, and full screen (⌃⌘F, Ctrl+Alt+Enter on Linux). Everything else Flint does is in the palette and the toolbar. ⌘Q, ⌘Tab and ⌘Space stay with macOS.
The mouse, its buttons and the wheel (vertical and horizontal) go to the desktop. The pointer takes Windows’ shapes: the arrows over a window’s edge, the text cursor over a field, the hand over a link, and none where Windows hides it. A click lands where the pointer is, so one click on a field both focuses it and lets you type there.
Caps Lock, Num Lock and Scroll Lock follow this computer’s. Flint sends their state when the desktop connects and whenever it takes the keyboard back, never the key as a press, so Windows’ Caps Lock can no longer end up the other way round from yours. A Mac has no Num Lock and its keypad always types digits: Windows’ Num Lock stays on.
A character that comes from no key, as a Stream Deck’s Text action or another macro tool types it, reaches Windows as that character, not as the key in the first position.
Modifier keys on a Mac
Section titled “Modifier keys on a Mac”Settings → Remote desktop sets, on macOS, what each modifier key of this Mac sends to Windows, left and right keys apart:
| Key | Mac (default) | Windows |
|---|---|---|
| ⌃ Control | Win | Ctrl |
| ⌥ Option, left | Alt | Win |
| ⌥ Option, right | AltGr | Win |
| ⌘ Command, left | Ctrl | Alt |
| ⌘ Command, right | Ctrl | AltGr |
Mac works as on a Mac (⌘C copies); Windows puts the keys where a PC keyboard has them (⌃C copies, ⌥ opens the Start menu). Changing one key in the table makes a Custom set from what is shown; each key can send Ctrl, Alt, AltGr, Win or nothing (Off). The setting belongs to this computer. Linux and Windows have no such setting: a PC keyboard already sends its own keys.
Some places in Windows take no paste: the administrator prompt (User Account Control) and the sign-in screen run on a secure desktop with no clipboard. Type in the toolbar (and in full screen’s connection bar) sends text as keystrokes there:
- Type clipboard types this computer’s clipboard text; the menu shows how many characters it holds, and is greyed when there is no text (or more than 2,000 characters).
- Type host’s password types the host’s saved password (its own or its credential’s), once you confirm it’s you, every time: Touch ID (or the Mac’s password), the system’s password dialog on Linux, or the vault’s master password, typed in the menu, where the system has no check of its own (Windows today). Typed anywhere, a password can be read there, so it’s never one click. Flint then opens it from the vault and types it itself: the window never holds it, nothing is shown on screen, and it goes only into the tab connected to that host.
Click the field first, then choose. When it is done a notice says how many characters went (Typed 24 characters). Each character goes by its key on your keyboard layout (US, US International, UK, Spanish, Latin American, German and French), with Shift or AltGr as the layout needs; one your layout has on no key, or any character on another layout, goes as a Unicode key event. Caps Lock is turned off on the remote while it types, so the case comes out as written, and put back after. There is no shortcut: on a Mac ⌥⌘V would reach Windows as Ctrl+Alt+V.
Copy and paste
Section titled “Copy and paste”Text goes both ways between the desktop and this computer:
- Copied in Windows, it is on this computer’s clipboard at once: paste it in any app.
- Copied here, it is pasted in Windows as usual (⌘V with the Mac preset,
Ctrl+V elsewhere). Flint tells Windows that there is new text as soon as you
copy it; the text itself travels only when you paste in Windows, as
mstscand Windows App do. A password you copy with Flint’s Copy is sent the same way when you paste it there.
While Flint’s window is locked, a paste in Windows gets nothing from this computer. Line breaks are converted both ways (Windows keeps CRLF). Only text is exchanged: files and images are not, yet.
A remote desktop tab has no split panes, and the Files view, tunnels and Open in a new pane are for SSH hosts: the palette shows them greyed with SSH hosts only.
Sound and the microphone
Section titled “Sound and the microphone”Each RDP host says where its sound plays and whether it may use your microphone, in the
host editor’s Audio section or with --audio and --microphone (see
Remote desktop hosts):
| Play remote audio | What happens |
|---|---|
| On this computer (the default) | The remote’s sound plays on this computer’s default output |
| On the remote computer | It plays on the remote machine’s own speakers, as if you sat there |
| Off | Nothing plays, here or there |
Microphone (off by default) gives the remote computer this computer’s default microphone: Windows shows it as Remote Audio, so a call inside the remote desktop hears you. Both take effect at the next connection. Flint always uses the system’s default devices; to use another one, change the default in the system’s sound settings.
On macOS the first connection with the microphone on asks whether Flint may use it; you can change the answer later in System Settings → Privacy & Security → Microphone. Until Flint’s macOS package is signed (version 15), macOS may ask again after each update, since it sees a new app. An app in the remote desktop that was already recording while macOS asked (Windows’ own Sound settings, which start their level meter at once) stays silent until it opens the microphone again; anything that opens it after you allow it hears you.
A Linux server plays to this computer only what plays on one of its own outputs: GNOME Remote Desktop sends what its output plays, so a virtual machine with no sound card (Dummy Output in Settings → Sound) sends nothing. The microphone shows up there as Remoteaudio Source. Windows asks nothing as long as Let desktop apps access your microphone is on (Settings → Privacy & security → Microphone); Linux uses PulseAudio or PipeWire’s default source.
When it does not connect
Section titled “When it does not connect”The tab says why, with Retry (↵), Edit host and Close tab:
| The tab says | What happened |
|---|---|
| Wrong user or password | Windows refused the login. Several wrong tries can lock the account |
| Can’t reach … | No route to the address: a VPN that is not connected, a wrong address. The first line of the host’s notes is shown, a good place for “office VPN” |
| … didn’t answer | Nothing came back within 30 seconds: the machine is asleep or off, or a firewall drops RDP |
| … refused the session: nothing answers on its Remote Desktop port | Remote Desktop is off (Settings → System → Remote Desktop; Windows Home has none) or a firewall rejects it |
| … refused the session | The server answered and would not open one: all its sessions are in use (Windows 10/11 Pro allows one at a time) |
| … closed the connection during setup | The server answered and accepted the login, then closed while the session was set up. A server that takes only the graphics pipeline (GNOME Remote Desktop) does this when Graphics is Compatible, in the tab’s toolbar or in Settings: choose Automatic or Pipeline. After a switch to Compatible in the toolbar, the button reads Retry in Automatic (or Pipeline): the tab connects again in the mode that worked. Otherwise the server’s own log says why |
| … needs a safer connection | The server offers only the old Standard RDP Security, which Flint refuses (see Security). On the server, set Require use of specific security layer for remote connections to SSL or Negotiate |
| The certificate … has changed | See The certificate |
| Connection lost | The connection dropped. See When the connection drops |
Locking
Section titled “Locking”Locking the vault (or Flint locking itself when idle, or with the screen) leaves an open remote desktop running behind the lock screen, as SSH sessions do: the session holds no key of the vault, and Flint wipes the password from its memory and FreeRDP’s once it is signed in (see Security). Typing into it waits until you unlock. A new connection, or a reconnect to follow a new size, needs the vault unlocked.
Security
Section titled “Security”What Flint does with your password and the connection, and what it leaves as it is:
- Only TLS or Network Level Authentication. Flint refuses the old Standard RDP Security, which any Windows since Vista can avoid: in it no certificate is checked, so a machine in the middle could ask for it and read the password that signs you in.
- The certificate is trusted on first use and a changed one is refused (see The certificate). Compare the fingerprint on the server the first time: that check is what makes the rest hold. Windows renews its self-signed certificate every few months, so expect to see a change now and then, and compare it again.
- The password stays in memory only while it is used. Flint opens it from the vault to sign in, then overwrites every copy it holds and FreeRDP’s two copies of its settings. FreeRDP’s sign-in module keeps its own until the connection ends, and wipes it then. A reconnect opens it from the vault again.
- Windows gets your password. As with Microsoft’s own client, Network Level Authentication hands the password to the server, so a single sign-on to the network (shared folders, mail) works inside the session. Use it with machines you trust as much as your password. Restricted Admin mode, which sends none, is planned.
- Sign-in uses NTLM, not Kerberos. Kerberos stalls with a user written as an e-mail address, and a computer outside a domain has none. NTLM is bound to the checked certificate, so it is safe from a machine in the middle.
- Type never shows the password, and asks for you each time. The window learns only that a host has a saved password; after your presence check (Touch ID, the system’s password, or the master password) the core opens it and types it into the session of that host alone, and the notice says how many characters went, never which.
- Frames stay on this computer. The desktop reaches Flint’s window over
127.0.0.1, through a channel that answers only a request carrying the tab’s 256-bit random token, addressed to that port by its number (not by a name a web page could point there), and lets no other web page read its answers.
Not yet
Section titled “Not yet”Alt+Tab and the Windows key in full screen, files and images over the clipboard, a choice of sound device, drive and printer redirection, more than two monitors, an RDP tab in a window of its own, RD Gateway and RDP through an SSH tunnel are planned for later.