adding RDP users

Discussions related to using VirtualBox on Linux hosts.
Post Reply
bobert0670
Posts: 7
Joined: 18. May 2014, 15:52
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: W7, Cent, Ubuntu, etc.

adding RDP users

Post by bobert0670 »

Im currently running Ubuntu server 14.04 with virtualbox 4.3.12 and phpvirtualbox. I have added my login "me" to the vboxusers group I am using microsofts rdp client to connect but can only connect if I use vbox as the user. I have the VM (windows 7) set to use external as the authentication. I need to be able to create a linux user and add them to a group which will allow them to rdp in to their VM. what am i missing? virtualbox's manuals do not describe this very well.

Thanks
Smackey's dad
Posts: 127
Joined: 2. Apr 2014, 04:11
Primary OS: Ubuntu 12.04
VBox Version: OSE Debian
Guest OSses: Ubuntu Trusty
Location: Austin, TX
Contact:

Re: adding RDP users

Post by Smackey's dad »

Assume you are ok with Simple Auth, use this:

Code: Select all

VBoxManage setproperty vrdeauthlibrary "VBoxAuthSimple"
External auth, I suppose you did this?

Code: Select all

VBoxManage modifyvm MyVM --vrdeauthtype external

For getting a hash password you can use this:

Code: Select all

VBoxManage internalcommands passwordhash "somepassword"
To set the password:

Code: Select all

VBoxManage setextradata MyVM "VBoxAuthSimple/users/some_user" some_hashed_password
On Windows RDP Client, Enter the Username and Check Save Password BEFORE attempting to connect using remote desktop client.
bobert0670
Posts: 7
Joined: 18. May 2014, 15:52
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: W7, Cent, Ubuntu, etc.

Re: adding RDP users

Post by bobert0670 »

Smackey's Dad,

Does the method you describe use the host users? I thought I read it does not it uses the guests login. I want to use the hosts usernames and passwords so if I have to rebuild a vm I don't need to set it up for a specific user. Sorry for the delay in my answer I have been traveling.
Smackey's dad
Posts: 127
Joined: 2. Apr 2014, 04:11
Primary OS: Ubuntu 12.04
VBox Version: OSE Debian
Guest OSses: Ubuntu Trusty
Location: Austin, TX
Contact:

Re: adding RDP users

Post by Smackey's dad »

The user setup here is independent of host users. It is very specific to the VM and the relevant credentials are stored in the VM configuration.
Post Reply