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

Kubernetes Cluster Security - Starting 2026 the Right Way 🛡️

Sooooo finally writing the first blog of 2026 — and what better topic to kick things off than Kubernetes cluster security . Kubernetes has...