Skip to content

xrdp keeps allowing me to connect with username/password instead of only ssh tunnel after setting [globals] port to port=tcp://.:3389. What am I doing wrong? #1958

Answered by CrayCJ
CrayCJ asked this question in Q&A
Discussion options

You must be logged in to vote

Solved:

See this guide, but: Instead of setting port=tcp//.:3389, I left it at port=3389 (or the one you like) and added address=127.0.0.1 to the line above. Then I sudo service xrdp restart to restart xrdp, which will of course terminate any remote desktop session. Upon re-establishing that, I'm let through - as intended. I then continued in the guide above to set puTTY accordingly. Joined with it (which opens the SSH tunnel) and then connected with Remote Desktop to localhost:5555 (or whatever you have set in puTTY). Then everything worked as before, but now through the SSH-tunnel.

To make my SSH (tunnel) safe, I used

  • ssh-keygen -b 4096 (4096 is probably overkill) on the remote machin…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CrayCJ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant