Wednesday, 15 February 2012

getting linux to run as a service in windows and accessing linux server through ssh while it runs in the background

I tried to run linux as a service in windows seven professional 64 bit edition. I was successful. I used to virtualbox 4.1.8 to run fedora 14 x86_64. Then i used the VBoxVmService-3.0-Sweet_Potato software to run the vm as a service in background. After downloading and following the instructions for VBoxVmService i faced the following error:
windows service did not start due logon failure
The solution is that add the user account specified in vboxvmservice in that ini file to the local policy as logon service. As described below from http://support.microsoft.com/kb/259733

Member Server

If the user is a member of a stand-alone member server:
  1. Start the Local Security Settings MMC snap-in.
  2. Expand Local Policies, and then click User Rights Assignment.
  3. In the right pane, right-click Log on as a service, and then click Security.
  4. Add the user to the policy, and then click OK.
  5. Close the Local Security Settings MMC snap-in.


No comments:

Post a Comment