seknox / trasa

Zero Trust Service Access
https://www.trasa.io
Mozilla Public License 2.0
384 stars 68 forks source link

[BUG] XRDP not working #302

Closed lapnd closed 3 years ago

lapnd commented 3 years ago

Describe the bug:

Currently, VNC is not supported yet to remote connect to Linux machine (with GUI).

A workaround (possible? I'm not sure) to have desktop remote to Linux machine is installing XRDP on linux VM as XRDP is a free and open-source implementation of Microsoft RDP (Remote Desktop Protocol) server.

However, when trying to connect to this machine with Trasa, I got invalid Invalid credentials

Expected behavior:

Success to remote Linux machine with XRDP installed.

Log file / Code snippet / Screenshots:

If applicable, add logfile or code snippets or screenshots to help explain your problem.

Scope of issue:

Versions:

Additional context:

Add any other context about the problem here.

lapnd commented 3 years ago

I found the reason. The RdpProtocol is not set correctly, it is set to default "nla" which seem not supported by XRDP. After (modify TRASA source code, just quick fix to see if it work) setting default RdpProtocol to tls, it works OK now.

bhrg3se commented 3 years ago

But you don't need to modify the source code. You can select the RDP Protocol in service setting. Anyway, I am closing this issue.