Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

xrdp configuration for Azure Bookworm machine

$
0
0
A Debian 12 Bookworm machine is available on the Azure market place. I created such a vm, and can connect to it with ssh. Then I installed

Code:

sudo apt-get install kde-standardsudo apt-get install xrdpsudo adduser xrdp ssl-certsudo systemctl restart xrdp
Then I open mstsc on my local Win 7 computer, and connect to the Debian VM. The login dialog shows up, and I can enter username and password. Afterwards, a black screen appears with Debian's mouse pointer appears (and it can be moved around) - and nothing else.

Code:

sudo systemctl status xrdp
tells me among other messages:

Code:

xrdp.service: Can't open PID file /run/xrdp/xrdp.pid (yet?) after start: No such file or directory
After a restart (sudo shutdown - r now), the "real" desktop appeared, but now a new dialog was shown to me requiring me to enter my password again:

Code:

Authentication Required - PolicyKit1 KDE AgentSystem policy prevents control of network connectionsAn application is attempting to perform an action that requires privileges. Authentication is required to perform this action.
Now I want to get rid of this dialog.

https://unix.stackexchange.com/question ... onnections
tells me that a file in /etc/polkit-1/localauthority/50-local.d is required - but the localauthority directory is already missing. So I created the directories, and the file mentioned in the first answer. Did not help. Then the file mentioned in the second answer. Did not work either.

What can I try next?

Statistics: Posted by Bernie12 — 2023-12-19 10:51 — Replies 1 — Views 43



Viewing all articles
Browse latest Browse all 3474

Trending Articles