Similarly, while remotely logged in via xrdp you may disconnect without logging out and the session will continue. ![]() This means you physically go to the remote computer and login to it, and then leave the computer without logging out, xrdp will not work. Unlike RDP in Windows xrdp only works if you are not logged in to the remote computer locally. A Note about xrdp local and remote login Do not use Automatic login to the desktop when the computer starts! If you login by physically going to the computer and connecting keyboard, mouse, monitor etc. Logging out (locally) is the most important part. Verify that the xrdp server is up and running with this command: sudo systemctl status xrdp ![]() If you have ufw (Uncomplicated Firewall) enabled you will have to open the port 3389 with this command: As you enter your password the cursor will not move. You will be prompted to enter your password. Open a terminal by Ctrl+ Alt+ T and enter: sudo apt install xrdp You have to either physically access the headless computer or use ssh for this step. The setting above did not work in my fresh install of Ubuntu 22.04 until I installed xrdp. Use your login password when you use an xrdp client like Remmina in Ubuntu or Window's default RDP app Install xrdp Note: This settings page shows a randomly generated password. Make sure the Enable Legacy VNC Protocol is not checked. After a reboot, the Remote Desktop setting reverts to look like this: I found disabling Remote Desktop did not have any effect after I installed xrdp in the next step. Disable the native desktop sharing (or not) The solution I propose here is to not to use the native desktop sharing and use xrdp server instead. Disable the built-in remote desktop feature and install some other RDP/VNC server and manually configure it, but would that conflict with.Is it possible to convert the gnome-remote-desktop user service to a system service? And if so, where would it store the password if not in the user keyring? Is this even an option at all? It seems like there are many ways to get around these issue, but I'm not sure what's the best route or even if any/all of these are possible:Ĭontinue using auto-login so that remote desktop can run as a user service but somehow fix it so that it keeps the same password (ideally without disabling keyring completely).ĭisable the built-in remote desktop feature and install some other RDP/VNC server and manually configure it, but would that conflict with the built-in one? Not sure. And it starts before the keyring is unlocked, so it creates a new password every time it starts. It looks like gnome-remote-desktop runs as a user service, not a system service, so it's not active unless the user logs in. I am hoping to have remote desktop available on boot, without logging in, or if it uses auto-login it keeps the password, so that I can run the system headless and RDP/VNC into it. ![]() It has some quirks related to the password, which I found out about on this post:Ģ2.04 - Remote Desktop Sharing authentication password changes every reboot I just installed Ubuntu 22.04 LTS and was delighted to see that a remote desktop server is built in and supports MS RDP in addition to VNC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |