Page 1 of 1

How to automate logon to Linux from Windows command line ?

Posted: 22. Nov 2011, 08:35
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.

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

Posted: 24. Jan 2012, 07:52
by neoruwata
:roll: