this post was submitted on 05 Aug 2025
8 points (100.0% liked)

Pop!_OS (Linux)

5717 readers
1 users here now

Pop!_OS is an operating system developed by System76 for STEM and creative professionals who use their computer as a tool to discover and create. Unleash your potential on secure, reliable open source software. Based on your exceptional curiosity, we sense you have a lot of it.

Unleash your potential

Whether this is your first experience with Linux, or your latest adventure, all are welcome to discuss and ask questions about Pop!_OS and COSMIC. Keep the discussions friendly though, and remember to assume good intentions whenever you reply. We're all here because we have a shared love for Linux and open source software.

System76 Logo

Support us by buying System76 hardware for you or your company! Or by donating on the Pop!_OS website through the "Support Pop" button. Pop!_OS and COSMIC are fully funded by System76 hardware sales. All systems are assembled in the USA. With your support, we'll work to push the Linux desktop forward with COSMIC.

Links

Guides

Hardware

Recommended

Community Rules

Follow the Code of Conduct

All posts on pop_os must adhere to the Pop!_OS community Code of Conduct. https://github.com/pop-os/code-of-conduct

Be helpful

Posts to pop_os must be helpful. When responding to a user asking for help, do not provide tongue-in-cheek responses like "RTM" or links to LMGTFY. Linking to direct sources that answer the asker's question is fine, but it's advised to provide some explanation as to how you got to that source.

Critique should be constructive

We within the Pop!_OS community welcome helpful criticism or ideas on ways to improve. However, basic "It's bad" or other simple negative comments don't help anyone fix anything. When voicing a complaint about something, try to point out ways the complaint could be improved or worked around, so that we can make a better product for it.

This rule applies to both Pop!_OS and its projects as well as other products available from third-parties.

Don't post malicious "advice"

It can be funny to joke about malicious commands, however this is not the venue for it. Do not advise users to run commands which will lock up their systems, steal their data, or erase their drive. Examples of this include (but are not limited to) fork bombs, rm, etc.

Posts violating this rule will be removed, even if the post is clearly in jest. Repeated offences may lead to a ban. You may understand that the command isn't serious, but a new user might not.

No personal attacks

Posts making a personal attack on any user will not be tolerated.

No hate speech

Hate speech of any kind will not be tolerated. Any violations will be removed, and are grounds for a ban.

founded 2 years ago
MODERATORS
 

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

top 8 comments
sorted by: hot top controversial new old
[–] just_another_person@lemmy.world 4 points 3 months ago (1 children)

Specific error messages would be helpful, or a screenshot.

Just for funsies: make sure the time and time zone is correct on both machines. If either needs changing, reboot it, and try again.

[–] ChocolateFrostedSugarBombs@lemmy.world 1 points 3 months ago (1 children)

You're totally right, I forgot to add the picture and details when I posted. I updated the post with an image and expanded text. I did confirm that the time and timezone are consistent between the two devices.

[–] just_another_person@lemmy.world 2 points 3 months ago (2 children)

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.world 2 points 3 months ago (1 children)

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.

It's the stock RDP settings built into Pop. I am passing authentication info from my Windows client to Pop which is the authentication info defined in Pop's RDP settings (username and password). I'm manually defining the auth info on the Windows Client so it's not passing in the default current login information.

I'll see if the logs mention anything. It doesn't look like there's an application specific log for the RDP function in Pop so maybe it's just under syslog or journal?

[–] folekaule@lemmy.world 2 points 3 months ago (1 children)

I would also like to set if there is a solution to this. I'm on Fedora with Wayland and I have the same problem.

The best I can figure out so far is that Wayland support for rdp is limited right now and to use x11 if you really need remote desktop.

[–] ChocolateFrostedSugarBombs@lemmy.world 3 points 3 months ago* (last edited 3 months ago)

EDIT: Figured it out...the username I defined in the Pop settings was all lowercase. I was sending a few uppercase letters via MS since that's how the actual Pop login username is spelt.

Dang...ok thanks. I'll keep working on it and I'll update in case I find a solution.