Linux Programmer | RHCE | RHCSA

Search This Blog

Saturday, 22 December 2018

Error while connecting RDP "an authentication error has occurred the token supplied to the function is invalid".

an authentication error has occurred the token supplied to the function is invalid

I have installed xrdp 0.9.8 at server side.

Remote desktop connections are working fine when i am connect it from windows 8/10.

but when i am trying to connect RDP from windows 7 it is showing error which is showing on left side.








in xrdp 0.9.8 TLSv1.2 and TLSv1.3 is added by default.
in older version of windows system TLSv1.3 was not supported. thats why it is not connecting with xrdp server.

To resolve this issue from server side follow the steps below.
1. Login to xrdp server.
2. navigate to xrdp configuration file location,

$cd /etc/xrdp
$vim xrdp.ini

replace
ssl_protocols=TLSv1.2, TLSv1.3
with
ssl_protocols=TLSv1, TLSv1.1

3. Restart xrdp service.
$ service xrdp restart

Run first C# Program in ubuntu and create linux command

Got it — here’s how to go from zero to running C# on Linux in a clean, beginner-friendly way. 1. Install .NET SDK The .NET SDK is ...