Headless mode with Osx Mojave(10.14.5) and Guest Windows 7

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
mcgyver83
Posts: 8
Joined: 24. Mar 2020, 17:58

Headless mode with Osx Mojave(10.14.5) and Guest Windows 7

Post by mcgyver83 »

Hi, I'm running fine a windows 7 guest on mac os mojave with virtualBox 6.1.4.

If I try to run the same virtual machine as headless I have these error:
using VirtualBox GUI:

Code: Select all

Failed to open a session for the virtual machine Win7.

The VM session was aborted.

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: SessionMachine
Interface: ISession {c0447716-ff5a-4795-b57a-ecd5fffa18a4}
Using VBoxManage

Code: Select all

 VBoxManage startvm Win7 --type headless
Waiting for VM "Win7" to power on...
VBoxManage: error: The VM session was aborted
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface ISession
Using VBoxHeadless

Code: Select all

VBoxHeadless -s Win7
Oracle VM VirtualBox Headless Interface 6.1.4
(C) 2008-2020 Oracle Corporation
All rights reserved.

VRDE server is listening on port 3389.
2020-03-24 17:01:41.509 VBoxHeadless[4906:26798] The application with bundle ID org.virtualbox.app.VirtualBox is running setugid(), which is not allowed.

Ho can I run my windows 7 guest as headless?
Post Reply