How to automate logon to Linux from Windows command line ?

This is for discussing general topics about how to use VirtualBox.
Post Reply
neoruwata
Posts: 20
Joined: 22. Nov 2011, 08:02
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Windows 7

How to automate logon to Linux from Windows command line ?

Post by neoruwata »

Hi,

I've tried to configure my VM (Fedora) for automating logon. I followed the document (chapter 9) to config it.
1. Install the guest addin version 4.1.6
2. copy pam_vbox.so to lib64/security
3. add "auth required pam_vbox.so" at the top.

I think, that's enough for configuration.

I ran the command line from Windows 7.

VBoxManage.exe" setproperty vrdeauthlibrary "VBoxAuthSimple"

VBoxManage.exe" modifyvm "my VM name/UUID" --vrdeauthtype external

VBoxManage.exe" setextradata "my VM name/UUID" "VBoxAuthSimple/users/<my user>" <hashed>

the I started the VM with:
VBoxManage.exe" --nologo startvm "<my VM name/UUID>" --type headless

VBoxManage.exe controlvm "my VM name/UUID" setcredentials "<my user>" "<my password>" "<my domain>"

But I can not logon to Linux. Any one can help me ? What's I wrong ? Thanks.
neoruwata
Posts: 20
Joined: 22. Nov 2011, 08:02
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Windows 7

Re: How to automate logon to Linux from Windows command line

Post by neoruwata »

:roll:
Post Reply