wiki:VBOX

VBOX Notes

Register VM

user needs to be in group vboxusers

VBoxManage registervm <filename>

Start

VBoxHeadless -s Win10

Stop

VBoxManage controlvm Win10 pause|resume|reset|poweroff|savestate|acpipowerbutton|acpisleepbutton

Screeensize

VBoxManage controlvm Win10 setvideomodehint 1600 840 32

Shared Foldes

VBoxManage sharedfolder add "Win10" --name "data" -hostpath /mm4/vbox/Win10/data/

startup

systemd service

Add a file called ‘vboxvmservice@.service’ in /etc/systemd/system/

[Unit]
Description=VBox Virtual Machine %i Service
Requires=systemd-modules-load.service
After=systemd-modules-load.service

[Service]
User=<user>
Group=vboxusers
ExecStart=/opt/bin/VBoxHeadless -s %i
ExecStop=/opt/bin/VBoxManage controlvm %i savestate

[Install]
WantedBy=multi-user.target

Start with

systemctl start vboxvmservice@Win10.service

rdesktop

rdesktop -a 16 -N -k de -5 -K -r clipboard:CLIPBOARD <host>:3388
Last modified 6 years ago Last modified on 11/10/18 07:10:54