I'm using a xrdp remote desktop running Debian and I am running pyautogui on there. When I leave rdp the desktop screen is locked after a few minutes, so pyautogui can't see the desktop anymore. How do I prevent the xrdp desktop from locking?
How to prevent xrdp desktop lock?
538 Views Asked by A. Person At
1
There are 1 best solutions below
Related Questions in DEBIAN
- How to restrict user access on mounted NSFv4 share with all_squash option?
- Obtaining the user's home directory for a daemon application running as root in linux
- Make Bind DNS server to request only root DNS servers of IANA website
- Mokutil does'nt work in Google Cloud Compute Engine
- Install Gitlab Repository : Wordlists
- PHP apache2 - php script cli will write txt file but browser will not
- Docker error at build E: Release file for http://deb.debian.org/debian-security/dists/bookworm-security/InRelease is not valid yet
- Slow loading of WordPress site on development server despite fast database queries
- How to use pyinstaller on debian?
- Python 3.12 pip install mod_wsgi fails
- Using Packer to install Debian
- How to install PHP Extension SQLSRV on Azure App Service (PHP 8.2 / Linux)?
- "Read-only filesystem" error during docker build
- Python code for raspberry pi not "alt+tabbing" to new window with GPIO button
- Resolve dependencies of an arbitrary Debian or Ubuntu package
Related Questions in PYAUTOGUI
- python run another time will kill kernel
- Can't copy a cell information using Win32com library
- I cant start the first loop again on python
- Not able to click button on some different computers using pyautogui library in python
- Automated tests with pyautogui by image recognition, the system no longer recognizes the print after a new deployment
- pyautogui pixel color scanner, works manually but doesn't with automation
- Not Seeing Cursor Movement in Dockerized FastAPI with noVNC and pyautogui
- PyAutoGUI to answer call
- python keyboard libary problem with writhing too many characters
- openpyxl active cell cant copy cell
- Going through rooms then changing the room name until it finds what i am looking for
- How can I use pyautogui with a keyboard key?
- Click on img with locateCenterOnScreen with pyAutoGui
- How do I get the 2nd block to play after the first?
- when using pyautogui hotkeys dont seem to work
Related Questions in XRDP
- Rasppberry pi Remote Desktop Conection Problem
- Configure XRDP session to display Session Manager
- Apache guacamole - much slower on the web client than on Microsoft Desktop
- Unlock Button Not Working within xRDP session
- Getting my Ubuntu 23.04 install to run full-screen on Hyper-V
- Jetbrains IntellijIdea can not run as root in ubuntu 20.04 when I am connected with xrdp
- Black screen while accessing xrdp in RHEL 7.9
- RUN headful playwright in an rdp as root targeting a non root user's $DISPLAY
- Unable to remote to VM instance with Oracle Linux 8.6 and XRDP using Remote Desktop Connection
- How to prevent xrdp desktop lock?
- ubuntu 22.04 xrdp could not start log
- access to xrdp localhost webserver from my navigator
- tkinter misbehave with sudo when remote desktop on Ubuntu 21.10 xrdp
- How to allow multiple sessions in Ubuntu - xrdp?
- Unable to autoload freerdp-shadow-cli
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This, depending on your DE, the answer differs.
I had this issue with cinnamon, using linux mint. You can tell xrdp to execute custom scripts to unlock the lockscreen. For example in linux mint the command
cinnamon-screensaver-command --exitwill exit the screensvaver, avoiding the need to type the password again. Hope this helps someone.Edit:
Considering where xrdp runs, maybe it is best if it is executed as this.
this would execute for all users. DISPLAY and UID are already set when executing reconnectwm.sh