Page 1 of 1
Use Virtual Machine remotely
Posted: 29. Apr 2011, 12:13
by microbert
Hi,
I am using virtual box v4.0.6-71416 on windows server 2008. I have installed a virtual machine with windows xp.
now i want to be able to use the virtual machine using remote desktop from another computer. i'd like to know if can start the machine from the remote computer?
thanks for your help.
Re: Use Virtual Machine remotely
Posted: 29. Apr 2011, 14:52
by Perryg
See Chapter 7 Remote virtual machines in your VirtualBox users guide.
vRDP will do what you need.
Re: Use Virtual Machine remotely
Posted: 29. Apr 2011, 16:21
by microbert
thanks for your reply
but i have looked that page but could not make it to start from the remote computer.
all i managed to do is to first start it up from the host pc and then remotely connect to the virtual os
but i'd like to be able to switch on the virtual from the remote pc too? if that is possible.
thanks
Re: Use Virtual Machine remotely
Posted: 29. Apr 2011, 16:27
by Perryg
i'd like to be able to switch on the virtual from the remote pc too? if that is possible.
Sure it is. but the remote machine is not the guest that is powered off. You remote into the host and power on the guest. I know of no way to tell a machine that is powered off to do anything directly.
Re: Use Virtual Machine remotely
Posted: 10. May 2011, 16:32
by microbert
Hi,
thankks for your help, i was using the method that you told me loggin into the host and switch on the virtual.
but i was wondering if i can lunch the virtual machine from a batch file or something like that. without the need to remote dekstop with the host
i used something like that to start the virtual machine from the same compueter:
@echo off
cls
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm "myvirtual"
@exit
Re: Use Virtual Machine remotely
Posted: 10. May 2011, 17:14
by Perryg
I doubt it. as soon as you hit the @exit the batch will end and so will the process. Windows change the ability to close the command window and leave the process running a long time ago. They only want to start things as a service or leave the command window open. There is an unsupported method at the beginning of this forum about starting as a service if you care to read up about it.
Re: Use Virtual Machine remotely
Posted: 10. May 2011, 19:20
by scottgus1
The "Start" command allows launching a process from within a command line window without tying the launched process to the window. For example, on my SBS2003 backup batch file, this line:
Code: Select all
start cmd /c CopyVMsInt2Ext.cmd %extdrive%
launches the secondary batch file "CopyVMsInt2Ext.cmd" in a separate window, allowing the backup batch file to finish without waiting for the CopyVMsInt2Ext.cmd window to close.
You could try:
Code: Select all
@echo off
start "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm "myvirtual"
You could also try PsExec (
http://technet.microsoft.com/en-us/sysi ... s/bb897553), which allows remote launching of applications. Probably batch files, too.
Re: Use Virtual Machine remotely
Posted: 23. Nov 2012, 08:29
by infoshri
You can start virtual XP desktop on windows server 2008 by establishing remote connection between windows server 2008 and other computer from where you wish to start the virtual machine. You can use various remote support services such as logmeinrescue, gosupportnow etc. regarding the same.
Re: Use Virtual Machine remotely
Posted: 23. Nov 2012, 11:42
by Twisted Lucidity
Why did you reply to a thread that is over a year old?
Don't wake the dead.