vRDP with External (simple) Authentication does not work

Discussions related to using VirtualBox on Windows hosts.
Post Reply
djlongy
Posts: 2
Joined: 28. Dec 2021, 10:11

vRDP with External (simple) Authentication does not work

Post 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
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

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

Post 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.
djlongy
Posts: 2
Joined: 28. Dec 2021, 10:11

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

Post 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.
Post Reply