# Remote control

> See and use another computer's screen, mouse and keyboard, from the Underpass app, the dashboard or a browser, over your private network.

Remote control opens another computer's screen on yours, with its mouse, keyboard and clipboard. It works between the devices of your workspace from anywhere, and with computers outside it by their **ID**. The screen travels straight between the two computers over your private network, encrypted, never through a remote access service.

Someone at the other computer always allows a session first.

## What you need

- **The computer you control** runs Windows (Underpass **0.8.0 or later**), macOS or Linux (Underpass **0.8.17 or later**), and the Underpass app is open (it can be minimised). See [which systems can be controlled](#which-systems-can-be-controlled).
- **You connect from** the Underpass app on Windows, macOS or Linux, the dashboard, or a browser on any device in your workspace.

Phones can control a computer, but can't be controlled.

## Which systems can be controlled

### Windows

Windows 10 and Windows 11.

### macOS

macOS 12.3 (Monterey) and later, on Apple silicon and Intel Macs. The first time someone takes control, macOS asks the person at the Mac for two permissions in **System Settings → Privacy & Security**:

- **Screen & System Audio Recording**, to share the screen. Open Underpass again after allowing it.
- **Accessibility**, for the mouse and keyboard.

### Linux

Linux needs a desktop, and on Wayland one whose portal offers remote desktop. The first session asks the person at the computer to allow it; later ones don't.

**Works:**

- Ubuntu 22.04 and later (GNOME, on Wayland or X11)
- Kubuntu, Xubuntu and Lubuntu 22.04 and later
- Linux Mint 21 and later (Cinnamon, MATE, Xfce)
- Pop!_OS 22.04 (GNOME)
- Zorin OS 17 and later
- elementary OS 7 and later
- Debian 12 and later (GNOME, KDE, Xfce, Cinnamon, MATE)
- Fedora 38 and later (GNOME, KDE). Video needs Cisco's OpenH264 package or RPM Fusion.
- openSUSE Tumbleweed and Leap 15.6 (GNOME, KDE)
- Arch Linux, EndeavourOS and Manjaro (GNOME, KDE, Xfce, Cinnamon)
- RHEL, Rocky Linux and AlmaLinux 9 (GNOME). Video needs EPEL.

**Works on X11 only:**

- Any distribution with Xfce, MATE, Cinnamon, LXQt, LXDE, Budgie or i3
- KDE Plasma or GNOME in an X11 session

**Doesn't work:**

- Sway, Hyprland, river, Wayfire and other wlroots desktops: their portals don't take remote input
- Pop!_OS 24.04 with the COSMIC desktop: its portal has no remote desktop yet
- Ubuntu 20.04, Debian 11, RHEL 8 and older: too old for the app
- ARM computers, like a Raspberry Pi: no ARM version of the app yet
- Servers without a desktop: there's no screen to share. Use the dashboard's terminal instead.

The screen is sent as H.264 video. If Linux has no H.264 encoder, Underpass says so when someone tries to connect: install your distribution's `gstreamer1.0-plugins-ugly` (x264), or OpenH264.

## Connect from the app

1. In the Underpass app, choose **Remote control** at the top. The window widens to show your devices.
2. Click a device's card, or type its name or address in the box and press **Connect**.
3. Someone at that computer sees **"<your device> wants to control this PC"** (or **this Mac**) and clicks **Allow**. Their screen opens in your window.

**Disconnect** in the top bar ends the session, and you're back on the Remote control page with that device first under **Recent**, with a picture of its screen. Star a device to keep it under **Favorites**.

## Connect from the dashboard

The dashboard's **Remote control** page lists your computers with their status, ID and address. **Connect** opens the computer's screen right on the page.

It only works when the device you're browsing on is connected to your workspace, because the screen only travels over your private network. The dashboard checks first and tells you if it can't reach the computer.

The page also marks **This device** (the computer you're browsing from: its own screen can't be opened from it) and what each computer still needs: **Update** (to 0.8.0 on Windows, 0.8.17 on macOS and Linux), **Turn on HTTPS**, or **Offline**.

## Connect from a browser

Every computer that can be controlled has a browser link, `https://<machine full name>:41115`. Open it in any browser on a device in your workspace, no app needed. Copy it from the **⋯** menu of the computer's row on the dashboard, or in the app under **⋯ → Remote control → From a browser**.

The link needs [HTTPS certificates](/features/https): give your workspace a network name and turn them on, on the **DNS** page. The computer gets and renews its certificate by itself.

## Computers outside your workspace

Each computer that can be controlled has a 9-digit **ID**, shown at the top of the app's **Remote control** page (like `482 913 557`) and on the dashboard. To let someone outside your workspace connect, give them the ID. They type it into their own Underpass app's **Remote control** box and press **Enter**.

- Only remote control is opened between the two computers, viewer to host. Nothing else on either network becomes reachable.
- The link lasts 12 hours after it was last used.
- The person at the computer is told the request comes from outside the network, and **Always allow** isn't offered for it.
- Every link shows in the host workspace's [audit log](/manage/logs) as `machine.remote_linked`.

## During a session

| | |
|---|---|
| **Keyboard and mouse** | Everything you type and click goes to the other computer. |
| **Clipboard** | Text copied on one computer can be pasted on the other, both ways, up to 64 KB. |
| **Shortcuts** | The keyboard button sends keys your own computer would keep: Start, Alt+Tab, Task view, Show desktop, Alt+F4, Task Manager, File Explorer, Run, Settings and Screenshot. |
| **Windows** | The windows button lists the apps open on the other computer; click one to bring it to the front. |
| **Full screen** | In a browser, full screen also passes keys like Alt+Tab to the other computer. |
| **Admin windows** | Task Manager and other windows running as administrator can be used too. |
| **Several monitors** | The top bar shows a button for each of the other computer's monitors, numbered left to right as they sit on the desk, and **All** to see them side by side. Needs 0.8.4 or later on that computer (0.8.19 on a Mac or Linux). |
| **Sound** | The other computer's sound plays on yours. The speaker button mutes it. On a Mac it needs macOS 13 or later, and 0.8.19 on a Mac or Linux. |
| **Connection** | The label next to the computer's name says **Direct** (straight between the two computers) or **Relayed** (through the relay, slower), with the round trip in milliseconds and the frames a second arriving. |

**From a Mac:** ⌘ works as Ctrl (⌘C and ⌘V copy and paste), ⌃ as the Windows key, and ⌥ as Alt.

**Controlling a Mac:** from Windows or Linux, Ctrl works as ⌘, so Ctrl+C and Ctrl+V copy and paste.

## Games

Remote control can play games on the other computer from yours: its sound, a smoother picture, your mouse the way games want it, and your controllers. Needs 0.8.17 or later on both computers.

| | |
|---|---|
| **Smooth mode** | The lightning button switches to 60 frames a second instead of 30, at a higher bitrate. It uses more of the connection, so it's best on a direct one. Your choice is kept for next time. |
| **Lock the mouse** | When a game hides the cursor to steer with the mouse, click the screen (or the mouse button in the top bar) and your mouse stays inside it. Its movement goes over as a mouse's, so turning the camera works as it would at the computer. **Esc** gives your mouse back. |
| **Controllers** | Up to four controllers plugged into your computer work on the other one, where games see each as an Xbox 360 controller. They rest while your window is in the background, so nothing stays held. |
| **Sound** | On by default; the speaker button mutes it. |

**Controllers need the ViGEmBus driver on the computer you control.** Install it once from [its releases page](https://github.com/nefarius/ViGEmBus/releases); without it, the viewer says controllers can't be used there. Controllers work when the other computer runs Windows; not yet on a Mac or Linux. Sound works on all three.

## The person at the computer

- **They allow every session.** For a device of the same workspace they can turn on **Always allow**, and it connects without asking next time.
- **They come first** (0.8.4 and later on Windows; macOS too). Once they use their own mouse or keyboard, your input waits, and you see that someone is using it. Moving your mouse doesn't take it back: when they're done, click or press a key to take over.
- **They can stop it.** A banner says who's controlling the computer, with **Stop**.
- **They can turn it off.** In the app, **⋯ → Remote control** turns requests off on that computer, and forgets devices that were always allowed.

## For owners and admins

### Workspace settings

**Settings → Remote control** in the dashboard (or **Settings** on the **Remote control** page) sets the rules for every computer in the workspace. The apps pick up a change on their own, and sessions already under way follow it too.

| Setting | What it does |
|---|---|
| **Remote control** | On: computers can be controlled once someone at them allows it. Off: no computer can be, and the apps hide it and turn requests away. |
| **Connect by ID from outside** | Whether people in other workspaces can ask to connect with a computer's 9-digit ID. Off, only devices of this workspace can ask. |
| **Always allow** | Whether someone at a computer can let a device of this workspace in without asking next time. Off, every session is asked for, every time. |
| **View only** | Viewers see the screen but can't use the mouse or keyboard. |
| **Shared clipboard** | Whether copied text crosses between the two computers during a session. |
| **Time limit** | Sessions end on their own after 30 minutes, 1, 2, 4 or 8 hours, or never. |

Settings that differ from the defaults show as labels next to the **Remote control** title, like **View only** or **1 hour limit**.

### Who can control which computers

Without rules, anyone in the workspace can ask to control any computer. To narrow it, add rules on **Access controls → Remote control**: who can ask to control which computers. Someone at the computer still allows every session. See [Access controls](/features/access-controls#remote-control-and-the-shared-clipboard).

Members who need to control a computer for a while can [ask for access](/features/access-controls) on **Access controls → Ask for access**: an owner or admin allows it for a set time, and it ends on its own.

### Session history

**Session history** on the **Remote control** page lists who connected to which computer, when, for how long, and who ended it. Each session is in the workspace's [audit log](/manage/logs) as `remote_session`, and each link made by ID as `machine.remote_linked`. The **Remote control** page also shows who's controlling a computer right now.

## Things to know

- Windows' sign-in screen and its **"Do you want to allow…"** (UAC) prompts can't be seen, and Ctrl+Alt+Del and Windows+L can't be sent.
- On Linux with Wayland, the desktop shares one monitor, the one picked in its dialog, and the windows button isn't there. On Linux, the person at the computer doesn't come first yet: your input and theirs both go through.
- One session at a time per computer.
- With several monitors, each extra monitor you look at starts a little later than the first and uses more memory on that computer (about 100 MB) while the session lasts.
- The screen is sent at up to 1920 × 1200, at 30 frames a second, or 60 in [smooth mode](#games).
- The installer opens TCP port 41115 in Windows Firewall, for Underpass addresses only. [Access controls](/features/access-controls) decide which of your devices can reach it.
