Sorry mattz, I didn't mean to cause offence.
I did read the first couple of pages of the forum before I downloaded the software, but I didn't realise it later turned into an extension of the documentation. So i didn't know about your request for my details, or the other problem solutions.
I appreciate that you are doing all this in your spare time (I thank-you a lot for all your efforts), which is why I wasn't actually expecting any help, i was just trying to share my experiences to help others.
Here are the details you wanted:
- - Windows XP Pro (32 bit)
- SP3
- Sun xVM VirtualBox 1.6.2
- VBoxVMService Ver: 2008-07-28
VBoxVMService.ini:
Code: Select all
[Settings]
ServiceName=VBoxVmService
PathToVBoxSDL=C:\Progra~1\sun\xvmvir~1\VBoxSDL.exe
PathToVBoxVRDP=C:\Progra~1\sun\xvmvir~1\VBoxHeadless.exe
PathToVBoxManage=C:\Progra~1\sun\xvmvir~1\VBoxManage.exe
RunAsUser=virtual.box
RunAtDomain=read
UserPassword=********
[Vm0]
VmName=Ubuntu-SVN
CommandLineUp=c:\progra~1\VBoxVMService\startup.exe 0
CommandLineDown=c:\progra~1\VBoxVMService\shutdown.exe 0
WorkingDir=C:\progra~1\VBoxVMService
StartupMethod=vrdp
ShutdownMethod=poweroff
VrdpPort=3390
[Vm1]
VmName=Vista
CommandLineUp=c:\progra~1\VBoxVMService\startup.exe 1
CommandLineDown=c:\progra~1\VBoxVMService\shutdown.exe 1
WorkingDir=C:\progra~1\VBoxVMService
StartupMethod=vrdp
ShutdownMethod=savestate
VrdpPort=3391
(I've tried with just one VM entry)
I haven't had a chance to look into this much more today as I've been in meetings, but having read the whole forum now, I don't think the solution is in there. I tried adding the extra HardLink in addition to the LocalService one, but that hasn't made any difference to my current problem (although it may have become an issue later).
It doesn't seem to be a problem with the run/tmp/lock files not being removed, as I'm deleting them after each failed attempt.
When I call
start_cli.exe 0 (or 1) from the command line (after removing any run/tmp/lock files) it runs through without any errors. VBoxHeadless.exe does pop up in the Task Manager,
but goes again straight away.
Output when failing to start:
Code: Select all
No previously started VM operations to wait for. Continuing...
Reading global parameters...
Reading parameters for VM0...
Using custom VRDP-Port: 3390
C:\Program Files\VBoxVMService\tmp\u_0_sub.bat ==> C:\Program Files\VBoxVMServic
e\tmp\u_0_sub.exe (-hidden)
C:\Program Files\VBoxVMService\tmp\u_0_run.bat ==> C:\Program Files\VBoxVMServic
e\tmp\u_0_run.exe (-hidden)
Installing temporary service "runserv"...
Shutting down "runserv" to avoid malfunctions...
Restarting "runserv"...
Starting VM: "Ubuntu-SVN" via vrdp as a service using account: "virtual.box"...
Moving lockfile: STARTUP to RUN
Shutting down "runserv"...
Removing temporary service "runserv"...
Removing temporary helpfiles...
Done. -- Hit any key to quit --
When I do the same thing with the VirtualBox GUI open the VBoxHeadless.exe stays open, and I can access the VM. This makes no sense to me.
I'm going to keep playing with it, but I have no idea what is different with the VBox GUI open. Maybe it's a sort of red herring.
Thanks mattz,
Colin