Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-03-2018, 09:47 AM   #1
Captain Brillo
Registered: Jul 2018
Location: Capital of Raccoon Nation
Distribution: Manjaro Cinnamon
Posts: 183

Rep: Reputation: 25
how to auto-shutdown Vbox Guest VM with VPN kill-switch

I'm using an excellent kill-switch to cover my arse, but I can't figure out how to get it to actually shutdown the Guest VM when the VPN connection goes down.
I believe this would work:
VBoxManage controlvm "slackware" savestate
but I can't figure out how to get the kill switch to do that. Vbox itself will shut down if I add it to the list, but not the VM. Is there a way to set up Vbox so that if it closes, the VM will too?

The Vbox forums themselves have just left me more confused...

I'm using "VPN Lifeguard" - which wonderfully shuts down up to 6 programs, but I'll quite happily use a different switch if I have to.
Old 12-03-2018, 11:56 AM   #2
Captain Brillo
Registered: Jul 2018
Location: Capital of Raccoon Nation
Distribution: Manjaro Cinnamon
Posts: 183

Original Poster
Rep: Reputation: 25
Turned out to be some sort of vbox issue.
I exported the machine, removed and reinstalled vbox, imported the machine, and now there's no issues.

Thanks anyways for looking.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware as Vbox guest - can't Install guest additions Captain Brillo Slackware 3 12-05-2018 10:41 PM
[SOLVED] Problem after upgrade VBox 4.3 to Vbox 5.0 satimis Linux - Virtualization and Cloud 8 02-18-2016 12:57 PM
FORCE SHUTDOWN -> Auto-Kill apps that prevent Shutdown - HOW ?? ttiihone Linux - General 3 01-19-2015 09:19 AM
[SOLVED] vbox 4.0.2 - guest sabayon5.4 on win7 - mnt local gentoo from vbox sabayon? shinystuffrox Linux - Virtualization and Cloud 1 03-04-2011 02:10 AM
Upgrading VBox 2.0.2 on Fedora 9 to VBox 2.0.6 fcquayso Linux - Newbie 2 12-10-2008 05:44 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration