Guide
How to set up unattended access on a Linux PC
Unattended access lets you reach your own Linux PC when nobody is sitting at it: the workstation at the office from home, the PC in the spare room, a machine you set up for someone else. Students can use their home PC for uni or school work this way too. Without it, the Linux PC asks the person there to allow each connection.
This guide sets it up so that your consoles get in without a click and everyone else is still asked, and keeps the PC reachable through restarts.
- Free
- Switched on at the Linux PC
- Trusted consoles only
Updated · Works on 64-bit Linux desktops, X11 or Wayland
How it works on Linux
The rules are the same as on a Windows PC (see free unattended remote access for the overview):
- It's switched on at the Linux PC itself. Nobody can turn it on from another computer. If someone is connected at the moment it's switched on, the PC asks the person there to confirm it.
- Only trusted consoles get in without a click. Each console has to be allowed once, at the PC, with Let this console connect without asking next time ticked. A console signed in to the account that owns the PC also gets in, while Let my own account in without asking is on at the PC. Anyone else is still asked.
- The banner still shows. Every session puts a banner with an End button on the screen, unattended or not.
Set it up
Step 1: Install and set up the Agent
If you haven't yet, install the Agent on the Linux PC and add it to your account with a setup code. See how to install RemoteAccessApp on Linux.
Step 2: Turn on two-step verification for your account
In your account settings on the website, turn on two-step sign-in. Your account opens your PCs, so protect it: a stolen password alone isn't enough. See two-step sign-in.
Step 3: Turn on Unattended access at the PC
At the Linux PC, open RemoteAccessApp Agent from the app menu or its tray icon and turn on Unattended access under What's allowed. The help article RemoteAccessApp on Linux covers the Agent's window in more detail.
Step 4: Connect once and trust your console
From the console you'll use, connect to the PC while you're still at it. In the Allow remote access? prompt, tick Let this console connect without asking next time (unattended) and click Allow. The console is added to the PC's Trusted consoles list. From a browser, choose how long to remember it instead, up to until I turn it off.
Step 5: On Wayland, approve screen sharing once
If the desktop runs on Wayland (Ubuntu's default), the first session also shows the desktop's own Remote Desktop dialog at the PC. Turn on Allow Remote Interaction, keep Remember This Selection ticked and click Share. It's remembered, so later sessions start with nobody at the PC. On an X11 (Xorg) desktop there's no such dialog. More on how to approve screen sharing once on Ubuntu, including what to do if it asks again.
Step 6: Keep Start when I sign in on
In the Agent's window, leave Start when I sign in on, so the Agent is running whenever someone is signed in to the desktop.
Keep the Linux PC reachable
The Agent runs in the signed-in desktop session, so the PC is reachable while it's on, online and signed in, on X11 or Wayland. On Ubuntu, how to access an Ubuntu desktop remotely covers the same settings for that desktop.
- Turn off automatic suspend in your desktop's power settings, at least while it's plugged in. A suspended PC shows as offline. While you're connected, the Agent keeps the PC awake for you: the screen stays on and it won't blank, lock or suspend until the session ends.
- Plan for restarts. Turn on Available after a restart in the Agent's settings at the PC (it asks for an administrator password). After a restart the PC then signs you in by itself and locks the screen straight away, the Agent comes online, and you unlock it from your side with your Linux password. On Wayland, approve screen sharing once before you rely on it. It works with Xorg and Wayland sessions alike.
- A locked screen is fine. If the PC locks, you can unlock it from your side in an allowed session with remote control: type the Linux user's password, and the system checks it as it would at the PC. On Wayland the Agent shows you its own lock screen for this; on X11 you type into the desktop's lock screen. Our post on Linux remote desktop when the screen locks explains why this matters.
Automatic login and privacy
Stay in control
- Remove a console from the Trusted consoles list in the Agent's window when you stop using it. It's asked again next time.
- Add a connection password under Connection password, so everyone has to enter it before they connect, even trusted consoles.
- Make sessions view-only by turning off Allow remote control. People connected can see the screen but not use it, and commands can't run.
- Turn unattended access off whenever you like. Everyone is asked again.
For the reasoning behind these rules, see the general guide to setting up unattended access safely.
What it costs
Unattended access is free on every plan, and a Linux PC is one of the 5 PCs on the free plan, in the same account as your Windows PCs (see one app for your Windows and Linux PCs). To get started, download the Agent on the Linux PC.
Questions, answered
More on RemoteAccessApp for Linux
- Remote desktop for LinuxRemoteAccessApp for Linux: the Agent and the Console in one package. See and control your Linux desktops, on X11 or Wayland, free for up to 5 PCs.Learn more
- Install on LinuxInstall the Agent and the Console with the .deb on Ubuntu, Debian and Mint or the .tar.gz elsewhere, add the PC, and approve screen sharing once on Wayland.Read the guide
- Remote access to UbuntuInstall RemoteAccessApp on Ubuntu, approve screen sharing once at the PC, and open the desktop from a browser or the Console.Read the guide
- Control Linux from WindowsYour Linux PCs on the Console's Devices page next to your Windows PCs: screen and control, a bash terminal, processes, services and the journal.Read the guide
- Help someone on LinuxThe person on Linux reads you the 8-digit code on their Home screen and clicks Allow; you connect from the app or a browser.Read the guide
- Linux terminal without a sessionRun a command or open a bash terminal on a Linux PC from the Devices page: straight away under unattended access, otherwise after an Allow.Read the guide
- Transfer files with a Linux PCDrop files on a session to put them in Downloads, or browse the Linux PC's home folder and filesystem from the Console, with resume.Read the guide
- Unlock a locked Linux PCA locked Linux screen is no dead end: type the user's password in the session and the system unlocks it, on Wayland and X11.Read the guide
- Approve screen sharing on WaylandThe one-time Remote Desktop dialog on Ubuntu and other Wayland desktops: what to pick, how to do it ahead of time, and what to do if it asks again.Read the guide
- Control Windows from LinuxInstall RemoteAccessApp on your Linux PC, sign in to the Console and open your Windows PCs: screen, keyboard, terminal, tools and files.Read the guide
- RemoteAccessApp on LinuxRemoteAccessApp for Linux is here, Agent and Console: X11 and Wayland desktops, the same Allow prompt and banner, a bash terminal, files and sound.Read the post
- X11 vs Wayland for remote desktopWhat X11 and Wayland change for screen sharing and remote control, and how the Agent works on both: on Wayland, approve once and it's remembered.Read the post
- Windows and Linux PCs in one appA mixed home or office in one account: the same Devices list, sessions, terminal, tools and consent rules for Windows and Linux PCs.Read the post
- When the Linux screen locksWhy a locked Linux screen so often ends a remote session, and how RemoteAccessApp keeps the PC awake and lets you unlock it, on Wayland and X11.Read the post
Related
- Unattended accessFree unattended remote access to your own Windows and Linux PCs when nobody's there, with a trust list that lives on each PC.Learn more
- Set up unattended accessUnattended remote access setup, step by step: reach your own PCs when nobody's there, without opening the door to anyone else.Read the guide
- Log in to your PC remotelyRemote PC login from a browser, a phone or another PC, unattended too, and how to keep the PC reachable after a restart.Read the guide
