New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enabling xrdp on Multipass unable to connect #3422
Comments
Hi, @craftzneko! I'm sorry you're having trouble. I see that you linked the tutorial for X11 forwarding, but you're talking about connecting through RDP. Just to make sure, you followed this tutorial https://multipass.run/docs/set-up-a-graphical-interface#heading--using-rdp for setting up an RDP server inside your VM, right? |
Anyway, I can replicate the issue and I get the same errors as you, so I will investigate some more and get back to you when I find something! |
Hi @andrei-toterman, yes sorry I did mean to link the main article not an anchor. Thanks for looking! |
So I have the same problem to get an RDP session from my Windows RDP. [20240319-00:20:44] [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied All this happens since the last update on my debian bookworm installation. So something has changed with a new package but do not know which causes the problem now. 2 weeks ago everything worked properly. |
I found out - that the default security level will be set to RDP, if access to the cert files. If I add xrdp user to ssl-cert group it switches to SSL level but - the problem remains the same. |
hey @andrei-toterman did you manage to find the issue after? |
Describe the bug
followed this guide https://multipass.run/docs/set-up-a-graphical-interface#heading--using-x11-forwarding
on Mac apple silicon when connecting from Mac via MS Remote Desktop app or screensharing app on Mac both fail. Logs on ubuntu show this
Mar 03 22:03:09 proven-troll xrdp[29696]: [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
Mar 03 22:03:09 proven-troll xrdp[29696]: [ERROR] libxrdp_force_read: header read error
Mar 03 22:03:09 proven-troll xrdp[29696]: [ERROR] [ITU-T X.224] Connection Sequence: CR-TPDU (Connection Request) failed
Mar 03 22:03:09 proven-troll xrdp[29696]: [ERROR] xrdp_sec_incoming: xrdp_iso_incoming failed
Mar 03 22:03:09 proven-troll xrdp[29696]: [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
Mar 03 22:03:09 proven-troll xrdp[29696]: [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
Mar 03 22:03:09 proven-troll xrdp[29696]: [ERROR] xrdp_iso_send: trans_write_copy_s failed
Mar 03 22:03:09 proven-troll xrdp[29696]: [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
looked through guide see no mention of configuring anything else, have I missed something
To Reproduce
How, and what happened?
Expected behavior
connect to rep
Logs
Please provide logs from the daemon, see accessing logs on where to find them on your platform.
Additional info
multipass version
multipass 1.13.1+macmultipassd 1.13.1+mac
multipass info --all
State: Running
Snapshots: 0
IPv4: 192.168.64.5
Release: Ubuntu 22.04.4 LTS
Image hash: f19e2cf2d2e5 (Ubuntu 22.04 LTS)
CPU(s): 2
Load: 0.05 0.04 0.01
Disk usage: 4.6GiB out of 19.3GiB
Memory usage: 251.2MiB out of 7.7GiB
multipass get local.driver
emu
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: