EDIT 2: Solved. I was sending uppercase characters when I would do the connection from MS RDP. My Pop OS login username has uppercase characters so I was just matching that. I got confused because the username defined in the Pop remote desktop settings is the same username, but spelled all lowercase. Once I altered the username I was sending from MS RDP to match exactly including casing, it worked.

As a side note, the default MS RDP app doesn’t handle the resolution properly. I switched to using RDCMan from the Sysinternals Suite and it handles the resolution perfectly and you can set scaling on it so you don’t have to worry about that. I’d recommend RDCMan if anyone else is running into the same issue.

EDIT: Error code image attached and extended details pasted here.

[Window Title]
Remote Desktop Connection

[Content]
An authentication error has occurred.
The token supplied to the function is invalid

Remote computer: [Redacted]

[^] Hide details  [OK]

[Expanded Information]
Error code: 0x0
Extended error code: 0x0
Timestamp (UTC): 08/05/25 01:32:11 PM
Activity ID: 2473cbfb-5b74-4229-8644-1cf6b0bb0100

Hey Everyone,

I was wondering if anyone can help troubleshoot an issue I’m having trying to RDP from my Windows 11 box to my Pop!_OS box.

I have Remote Desktop enabled in Pop and I’ve set the username and password.

When I try to connect from Windows using Microsoft’s RDP application, I get an invalid token error.

Is anyone able to tell me what I’m missing in the setup?

Thanks

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    19 days ago

    Is this a stock RFP client, or is there some authentication information being passed? It sure seems like it’s passing something along and being rejected. I’d check your client and make sure it’s not using your logged in credentials or some domain info and passing that.

    I’d also check the logs on the PopOS machine to see: 1) If the connection is making it there 2) Why it’s being rejected.

    Work from there.

    • ChocolateFrostedSugarBombs@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      19 days ago

      Figured it out…capitalization…always lol. The username defined on Pop was all lowercase and I was sending the username via MS RDP with a few upper case letters since that’s how it’s spelt for the actual Pop sign on user.