Hi folks,
i am using Virtualbox 5.2.32_Ubuntur132056 on Ubuntu 18.04.3 Server without any graphical installations.
My idea is it, to manage the guest Systems with console.
I have installed a Windows System (Server01) on my Laptop, exported it from there and imported it to the mentioned Server.
I have started it with sudo VBoxHeadless --startvm Server01.
Suddenly do i get the error message as written in the Subject: Home directory not accessible: Permission denied.Can somebody help me fixing this issue? Is sudo the problem? I can see the Virtual VM folder in /root and not in my own home directory. The variable $HOME is correct set.
I dont know how to move forward with this. Please help.
Thanks
Home directory not accessible: Permission denied
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Home directory not accessible: Permission denied
It looks like you're using the Ubuntu fork version of VirtualBox. You can either ask in their forums/channels for help, or completely remove/uninstall/delete/purge their version and install the official version from the Linux Downloads section of VirtualBox. You can even add VirtualBox as a repository, so you could use your traditional install/upgrade/uninstall tools.humboldt wrote:5.2.32_Ubuntur132056
humboldt wrote:I have started it with sudo VBoxHeadless --startvm Server01.
Yes. VirtualBox uses the per-user profile to access the registered VMs and preferences. By using 'sudo' not only you don't gain more, but you're using the profile of the 'root', not the user that added/registered the VMs. Never use 'sudo' with VirtualBox, not only it's unnecessary, but it's just plain wrong.humboldt wrote:Is sudo the problem?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.