In many scenarios, enabling Remote Desktop Protocol (RDP) access while the screen is locked is crucial for remote administration. By default, Ubuntu prevents such connections once the session is locked, which can hinder critical remote operations. Adjusting certain settings allows continuous connectivity for administrators who require uninterrupted access.
For finer control over lock screen behavior, dconf-editor interacts with the underlying GSettings system to modify default Ubuntu configurations. It can override restrictions that normally stop remote desktop connections when the display is locked, ensuring that remote tasks proceed without interruption.
Securing a system with remote desktop capability requires strong passwords, encryption, and verified network integrity. Administrators should adopt robust access credentials and ensure connections take place over trusted networks. Maintaining this balance between accessibility and protection is essential in remote environments.
Steps to permit RDP access during lock screen on Ubuntu:
- Open the terminal.
- Update apt's' package list.
- Install the dconf-editor.
$ sudo apt update && sudo apt install --assume-yes dconf-editor
- Launch the dconf-editor.
$ dconf-editor
- Navigate to org > gnome > desktop > remote-desktop in dconf-editor.
- Set the require-user-authorization setting to false.
- Close the dconf-editor.
- Confirm your RDP server is running and properly configured.
- 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 |

Mohd Shakir Zakaria is a cloud architect with deep roots in software development and open-source advocacy. Certified in AWS, Red Hat, VMware, ITIL, and Linux, he specializes in designing and managing robust cloud and on-premises infrastructures.
Comment anonymously. Login not required.