Allowing Remote Desktop Protocol (RDP) access on Ubuntu during a locked screen is useful for remote administration. By default, Ubuntu blocks RDP access when the screen is locked. Adjusting the settings to permit remote access during this state can improve accessibility for remote users.

Using the dconf-editor, you can change system settings to enable RDP access even when the screen is locked. The dconf-editor provides a graphical interface to modify configurations that control remote desktop behavior. This tool is essential for adjusting Ubuntu settings to allow remote access during a locked session.

It’s important to implement security measures when enabling remote desktop access on Ubuntu. Use strong passwords and secure configurations to protect your system. This approach is particularly relevant in environments requiring continuous remote access without compromising security.

Steps to permit RDP access during lock screen on Ubuntu:

  1. Open the terminal.
  2. Update apt's' package list.
  3. Install the dconf-editor.
    $ sudo apt update && sudo apt install --assume-yes dconf-editor
  4. Launch the dconf-editor.
    $ dconf-editor

  5. Navigate to org > gnome > desktop > remote-desktop in dconf-editor.
  6. Set the require-user-authorization setting to false.
  7. Close the dconf-editor.
  8. Confirm your RDP server is running and properly configured.
  9. Lock your screen and test RDP access from a remote machine.

This guide is tested on Ubuntu:

Version Code Name
22.04 LTS Jammy Jellyfish
23.10 Mantic Minotaur
24.04 LTS Noble Numbat
Discuss the article:

Comment anonymously. Login not required.