Skip to content

Instantly share code, notes, and snippets.

@fredjoseph
Last active May 5, 2022 13:44
Show Gist options
  • Save fredjoseph/05739055d0be996ce16552b460f6d57e to your computer and use it in GitHub Desktop.
Save fredjoseph/05739055d0be996ce16552b460f6d57e to your computer and use it in GitHub Desktop.
VirtualBox - Tips and tricks

Tips

Mouse click lost after a while

The solution is to search and kill the processes named /usr/bin/VBoxClient --draganddrop

  • Search pgrep -a VBoxClient
  • Kill kill <pid> (or do both with tools like htop)

Shared clipboard lost after a while

The solution is to kill the current processes named /usr/bin/VBoxClient --clipboard and start a new one.

  • Search pgrep -a VBoxClient
  • Kill kill <pid> (or do both with tools like htop)

Hardening issue

If you have any issues starting the VM, start your VM in detachable mode:

  • In VirtualBox, long press the Start button, and select Detachable Start
  • To create a shortcut starting your VM in detachable mode:
    • Machine > Create Create Shortcut on Desktop
    • Right click on created shortcut > properties
  • Change target from "C:\Program Files\Oracle\VirtualBox\VirtualBox.exe" --comment "Work" --startvm "{<UUID>}" to "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm "<UUID>" -type separate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment