Start and then stop VirtualBox screen recording from command line for a headless Windows 10 session running in virtual machine named Win10:
VBoxManage controlvm Win10 videocap on
VBoxManage controlvm Win10 videocap off
A 48×48 pixel PNG icon for use with Linux desktops.
Can be used to start a virtual machine with MS Windows 10 inside.
You try to run Oracle VirtualBox with a direct access to the parallel port at your Linux box, but it fails with the following error message:
Error: failed to start machine. Error message: Parallel#0 could not claim parallel port ‘/dev/parport0’Be sure that no other process or driver accesses this port (VERR_DEV_IO_ERROR).
Parallel device 0 cannot attach to host driver (VERR_DEV_IO_ERROR)
The main point: you have to unload the Linux kernel module lp, which is blocking access to the port, like this:
You might also either add your user to groups having file access permissions for the device or modifying the permissions to give access to more users.
This is how you create, on a server without a GUI, a virtual machine with 128 MB RAM and 5 GB HDD, with a virtual network adapter (enabling you to connect to it by a Remote Desktop client), and with a Microsoft Windows installation disk image in the virtual DVD drive: Read the rest of this entry »
So you have this virtual machine of yours running in the Oracle VirtualBox. You connect to it remotely using Terminal Services client. But then you have to reboot it.
Unfortunately it looks that there is no way to do it from the client, i.e. from within of the virtual machine itself. You need to have access to the host system where the VirtualBox software is running. And even then you can not do it from the GUI, you shall go to the command line interface and issue a text command. The bright side is that it works instantly.
The reboot command for Windows and Linux host systems respectively may look like this (substitute the virtual machine name with the actual name of your installation):
“C:\Program Files\Oracle\VirtualBox\VBoxManage” controlvm “MS Windows XP” reset
VBoxManage controlvm “MS Windows XP” reset
You can run your VirtualBox virtual machine as a service and use a Terminal Services client to connect to it remotely.
First, make it have a real IP and accept remote connections as described here.
Then go to the text console (e.g. pressing CTRL+ALT+F1) , log in with the respective username and run Virtual Box “headless” like this:
VBoxVRDP -startvm "MS Windows XP" &
where the last part is the actual name of your virtual machine (just look it up beforehand in the VirtualBox GUI).
and you will log out of the shell while the virtual machine will continue to run in the background, available for connection using a Remote Desktop software.
So, you have your Orcale VirtualBox running MS Windows XP and you want to connect to it using Terminal Services client. But you can’t.
Just try this:
First in your VirtualBox:
1) With your Windows XP virtual machine switched off, right-click it and select “Settings”
2) Go to Network
3) For the first network adapter change the “Attached to” to “Bridged Adapter”
This will give your virtual machine a real LAN address, which you should use to connect to it.
Afterwards start your Windows XP virtual machine and log on as administrator user. Then:
Go to Start -> Control Panel -> System -> Remote
Tick “Allow users to connect remotely to this computer”
Go to Start -> Control Panel -> Administrative Tools -> Computer Management -> Local Users and Groups -> Groups -> Remote Desktop Users
Add your username to the group.
Select Start -> Run and type in “cmd” and confirm by Enter.
At the command line type “ipconfig” and write down the IP address of your virtual Windows XP machine
1) Run your Terminal Services client with the actual IP address of your virtual machine (written down before).