LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   VirtualBox setting resolution via cli (https://www.linuxquestions.org/questions/linux-software-2/virtualbox-setting-resolution-via-cli-4175593800/)

BW-userx 11-18-2016 10:14 AM

VirtualBox setting resolution via cli
 
Code:

userx@voided1.what~/VirtualBox VMs>> sudo VBoxManage setextradata "SLACKUEFI" CustomVideoMode1 "1280x800x32"
VBoxManage: error: Could not find a registered machine named 'SLACKUEFI'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 797 of file VBoxManageMisc.cpp
userx@voided1.what~/VirtualBox VMs>> sudo VBoxManage setextradata global GUI/MaxGuestResolution any

it is right here
Code:

userx@voided1.what~/VirtualBox VMs>> ls
SLACKUEFI  Slack64  Solaris11.3

per instructions here
https://forums.virtualbox.org/viewtopic.php?f=2&t=63969

if you look under the first reply it shows the commands

even if I am running in under root I get the same thing
Code:

userx@voided1.what~/VirtualBox VMs>> su
Password:
# ls
SLACKUEFI  Slack64  Solaris11.3
#  VBoxManage setextradata "SLACKUEFI" CustomVideoMode1 "1280x800x32"
VBoxManage: error: Could not find a registered machine named 'SLACKUEFI'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 797 of file VBoxManageMisc.cpp

get data
Code:

userx@voided1.what~/VirtualBox VMs>> VBoxManage getextradata "SLACKUEFI" CustomVideoMode1
No value set!

does anyone know how to get around this?

BW-userx 11-18-2016 10:21 AM

NeverMind I got it. I had to finish setting up the client after installing the add on, adding the user to the group
Code:

#usermod -aG vboxsf root
log out log back in.
then the client give it to you.


All times are GMT -5. The time now is 06:22 AM.