secana / EnhancedSessionMode

Contains scripts to enable "Hyper-V Enhanced Session Mode" for Linux
Apache License 2.0
79 stars 14 forks source link

Cannot login #17

Closed MaxxRK closed 9 months ago

MaxxRK commented 2 years ago

I get to the xrdp screen and it says xvnc I type in my credential that I know are correct and it says login failed invalid credentials. I am trying to set this up on fedora 35

avinash commented 2 years ago

I am having the same issue. I cannot log in using any of the usernames/password I have created.

Found out that /etc/xrdp/sesman.ini contains the following lines:

TerminalServerUsers=tsusers TerminalServerAdmins=tsadmins

which indicate that the user needs to belong to a specific group.

I changed that to

`#TerminalServerUsers=tsusers

TerminalServerAdmins=tsadmins`

and I can log in now but the RDP session immediately stops. I do not yet know why.

PS: I used Putty to log in so that I could modify /etc/xrdp/sesman.ini

PolarDawn commented 2 years ago

Same. Fresh Hyper-V install of Fedora 35, won't authenticate.

enavarrom commented 2 years ago

In my last comment in the next issue is the solution: https://github.com/secana/EnhancedSessionMode/issues/15

hrbellemare commented 2 years ago

In my last comment in the next issue is the solution: https://github.com/secana/EnhancedSessionMode/issues/15

Thanks for the solution! It's working on Fedora 36.

For some reason, the link is behaving strangely; I get a message saying "No results matched your search." Manually clicking on issue #15 in the list of closed issues solves this.

he3als commented 9 months ago

TLDR:

  1. Fix 1: https://github.com/secana/EnhancedSessionMode/issues/15#issuecomment-1013518200
  2. Fix 2: https://github.com/secana/EnhancedSessionMode/issues/17#issuecomment-1105034135