Page 1 of 1

vRDP with External (simple) Authentication does not work

Posted: 28. Dec 2021, 10:15
by djlongy
Using Vbox 6.1.30 I've setup a VM for vrdp access with external authentication using VBoxAuthSimple library.

rdp client won't connect. Not even ask for credentials. Disabling authentication (=null) on Vbox makes vrdp work.

Seems like this has been an issue for a long time. Anyone has a solution?

Thank you

Re: vRDP with External (simple) Authentication does not work

Posted: 29. Dec 2021, 00:59
by scottgus1
We'd need to know what you have tried first before we can suggest anything.
djlongy wrote:external authentication using VBoxAuthSimple
From the manual: https://www.virtualbox.org/manual/ch07.html#vbox-auth , subsection 2
VBoxAuthSimple performs authentication against credentials configured in the extradata section of a virtual machine's XML settings file.
....
You then need to configure users and passwords by writing items into the machine's extradata.....
There's lots of stuff you need to tell us yet.

Re: vRDP with External (simple) Authentication does not work

Posted: 29. Dec 2021, 10:22
by djlongy
Ok, no problem.

I did the steps in the manual under 7.1.5 section. What else do I report?

Edit: I decided to enable also RDP encryption (section 7.1.6). That went ok in terms that now when I try to connect with windows MSTSC, I first get a warning if I trust the certificate. After confirming I get a fail as before. Error 0x904, 0x7.

Virtualbox host is win 10 x64.

Extradata reports:
Key: GUI/InformationWindowGeometry, Value: 1309,478,1135,462
Key: GUI/LastCloseAction, Value: Shutdown
Key: GUI/LastGuestSizeHint, Value: 1920,975
Key: GUI/LastNormalWindowPosition, Value: 96,44,1578,936
Key: VBoxAuthSimple/users/user1, Value: (some hash)
Key: VBoxAuthSimple/users/user2, Value: (some hash)


Thank you.