Guide
How to unlock a locked Linux PC remotely
You connect to your Linux PC and find it locked: the screen went dark while you were away, or someone locked it before they left. At the PC you'd just type the password. With RemoteAccessApp you can do the same from wherever you are, on Wayland desktops like Ubuntu's and on X11.
This guide shows what you'll see on each, what has to be in place beforehand, and how to stop the PC locking on you while you work.
- Wayland and X11
- Checked by the system
- Free on every plan
Updated · Works on 64-bit Linux desktops, X11 or Wayland
Before you need it
Unlocking works in a session the PC has allowed. Check these while you're still at the PC:
- The Agent is installed and set up on the Linux PC, and starts when you sign in. See how to install RemoteAccessApp on Linux, or, on Ubuntu, how to access an Ubuntu desktop remotely.
- Allow remote control is on in the Agent's window. A view-only session can see the lock screen but can't type into it.
- Unattended access is on, if nobody will be there to click Allow. See unattended access on a Linux PC.
- On Wayland, screen sharing has been approved once. After you unlock, the desktop is shared using that approval. If it was never given, someone at the PC has to answer the desktop's dialog first. See approving screen sharing on Ubuntu.
Unlock it on Wayland (Ubuntu's default)
Wayland desktops such as Ubuntu's GNOME don't let any app see or control a locked screen, not even one you've approved. So instead of a black picture, the Agent shows you its own lock screen in the session. The PC's own screen keeps showing the desktop's lock screen. Our post on Linux remote desktop when the screen locks explains why locked screens cause trouble and what we do about it.
Step 1: Connect as usual
Open the PC from the Console's Devices page or your dashboard in the browser. Unless unattended access lets you in, the PC asks Allow remote access? first.
Step 2: See This computer is locked
The session opens on a screen that says This computer is locked, with the user's name and the PC's name under it, and Type the password of that user and press Enter to unlock it.
Step 3: Type the password and press Enter
Click into the session and type that user's Linux password, the one they'd type at the PC. Each character shows as a dot. Press Enter.
Step 4: Carry on where they left off
The system checks the password, the screen says Unlocking…, and the desktop appears in the session with everything still open.
If the password is wrong
Unlock it on X11 (Xorg)
On an X11 desktop there's nothing special to learn. When you connect, the Agent wakes the screen, so you see the desktop's own lock screen in the session. Click into it, type the password and press Enter, exactly as you would at the PC. Not sure which one your PC uses? Linux remote desktop on X11 and Wayland shows how to check.
Keep it from locking while you work
- It stays awake while you're connected. During a session the Agent wakes the screen and holds off blanking, locking and suspend. When the last session ends, the PC goes back to its normal settings.
- Turn off automatic suspend in the desktop's power settings, at least while it's plugged in. A suspended PC shows as offline, and a locked one doesn't.
- The person at the PC can still lock it. If they do while you're connected, you'll see the lock screen again and can unlock it the same way.
Locked isn't the same as signed out
Everything above is for a locked screen, where the person is still signed in. After a restart, or if they sign out, the Agent stops with their desktop session, so the PC shows as offline until someone signs in again.
- Available after a restart in the Agent's settings at the PC signs you in by itself after a restart and locks the screen straight away, so the Agent comes back online and you unlock it from your side as above. Turning it on asks for an administrator password. The desktop can show for a moment before the lock comes up, so use it for a PC somewhere you trust.
- Don't sign out when you step away from a PC you want to reach. Lock it instead: you can unlock it from anywhere.
What it costs
Unlocking a locked screen works on every plan, and a Linux PC is one of the 5 PCs on the free plan. To start, download RemoteAccessApp 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
- Unattended access on LinuxTurn on unattended access at the Linux PC, trust your console once, approve screen sharing once on Wayland and start the Agent at sign-in.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
- 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
