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:

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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

The screen says That password isn't right. Try again. After several wrong tries in a row it asks you to wait a little before the next one. The password is checked by the PC's own system, and RemoteAccessApp doesn't save it.

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