DuoStream / Duo

An HDR-compatible multiseat streaming solution based around RdpWrap, Sunshine, Moonlight, and a variety of custom driver and library patches
345 stars 1 forks source link

Games not compatible with remote login #136

Open EnriqueSampaio opened 1 month ago

EnriqueSampaio commented 1 month ago

Are there anything I can do about games that are not compatible with remote login?

For example, I was trying to use Duo to play PES eFootball 2021 remotely but the game gives me the error saying it is not compatible with remote login and closes. There is anything I can do to bypass that or those games are not possible to play with Duo?

Thanks in advance for the support and for developing such a great tool!

samkitty commented 1 month ago

You can try launching the game (or Steam itself) using CMD with the command runas /user:[INSERT LOCAL HOST USERNAME HERE] "C:\Program Files (x86)\Steam\steam.exe" This will prompt you to enter the password of the local user, and then will launch Steam under the local host but it will show up on your Duo instance display. If I'm not mistaken any Steam game you launch afterwards will have no idea that you're using a remote login.

320653207-96651ad1-1521-400f-8e98-b00e4fa9d84c

EnriqueSampaio commented 1 month ago

I'm probably doing some rookie mistakes here, if you can give me any tips I'll appreciate.

I'm not sure what you are calling the "localhost user name" here, but I've tried using the username that is logged directly on my computer without sunshine, which is an MS account. Also tried a local account that is not being used at all and tried also the account that is being used on the instance authentication. Tried the last two both with my PC namespace and with "localhost/[USER NAME]". The error is the same all the time.

Everything I tried was through Moonlight, should I run the command locally on my PC? If that's the case, I don't know how it would work, since I'm using different users on my PC locally and on the moonlight connection.

Oh, and it's not a Steam game. Actually is a modded version of the PES 2021 with updated stuff, but that limitation comes from the original PES.

UPDATE: Actually, when I use on the runas command the MS account that is logged on my PC "physically", the error changes from "Not compatible with remote login" to "Remote logins are not available". So I suspect that something changed, but unfortunately is still giving me an error related to the remote login.

warlordianx3 commented 3 weeks ago

It's Sunshine and Moonlight Support issues not DUO

EnriqueSampaio commented 3 weeks ago

I'm pretty sure it's DUO issue because using Sunshine/Moonlight without DUO it works.

To be fair, the problem is that DUO uses RDP to create remote desktop sessions and some games don't like remote desktops at all, I was just wondering if there was any way to trick the game into believing it is not a remote desktop, since Windows have a lot of weird bypasses that would not be a surprise lol.

Black-Seraph commented 2 weeks ago

If the game doesn't use anti-cheat then this issue can be worked around by hooking a few key functions in ntdll.dll / user32.dll.

See #139 for more details.

Black-Seraph commented 2 weeks ago

@EnriqueSampaio I don't own PES 2021, but it would go a long way if you could zip up and attach the game's .exe & .dll files so I can take a look sometime.