Quote:
Originally Posted by sneakyimp
I'm not sure what "VM directory" you are talking about. Also, do you mean on the host machine or on each guest machine?
|
this one where VBox puts all of your VM installed
Quote:
/home/userx/VirtualBox VMs
|
IN your terminal cd into that directory. You'' have to use quotes to make it all one word to get into it.
Code:
cd "VirtualBox VMs"
then issue you commands. putting your VM name you gave it in quotes where it is in that code I showed you.
Quote:
As I posted (perhaps I wasn't clear) I am not certain that I have the GuestAdditions installed. As I said, I ran this on each guest VM:
Code:
apt-get install virtualbox-guest-additions-iso
|
you need to run that inside of your VM client or virtualbox-ose-guest - gets installed within your client. the addtions you have to download and mount then install. On a non GUI install, with GUI you only have to use the menu for the client and pick add vboxaddtions, then it asks you if your want to download it. You can go to there web sight and download it then mount it from your client to get to it . then run the .sh program to get that installed.
mine is located here after the client downloads it.
Code:
/home/userx/.config/VirtualBox/VBoxGuestAdditions_5.1.10.iso
Quote:
I see that the VBoxManage command is meaningful on my host machine (i.e., my workstation):
Code:
$ VBoxManage -v
5.1.10r112026
I also see that the VBoxManage command is meaningful on my ubuntu desktop machine:
Code:
$ VBoxManage -v
5.0.24Ubuntur108355
I'm also a bit worried about having to apply these settings via CLI. Perhaps there is some method of doing so using a GUI? Or perhaps some kind of configuration at installation?
|
OK lets start over. Your CLI is that BIG BLACK screen without GUI. Command Line Interphase is all CLI means. It is the command line of your terminal which is what you see after you log in.
I just happen to have a fresh install of Slackware without GUI set up.Now that I've done all of the steps to see how I have to do this without a GUI here we go. Using my CLI before a startx ...
first start your client then select the menu "devices" then click on "insert guest additions CD" if you have not done so already. If not then do so and have the additions iso down load it will attached itself after that process.
Then from your CLI issue a
find on it from the CLI to find where it gets put inside of your client. You are in root of course to do this, or using SUDO being it is Ubuntututu I think. They lock out root.
Code:
find / -iname vboxaddition*
when you get the path to where it is at. Then mount it. using my CLI and the path to it in Slack
Code:
mount /dev/disk/by-label/VBOXADDITIONS_5.1.10_112026 /media/cdrom0
cd /media/cdrom0
ls
that gives you everything in that iso. Now find this one
VBoxLinuxAdditions.run
then issue this command from the cli
Code:
sh ./VBoxLinuxAdditions.run
let it install. Then you're good to go on that part of it.
If your Ubuntututu has a virtualbox-ose-guest or anything vbox guest related as you'll have to query your repo to see. Then install it from within your Client.
now shut down your client. Then on your host being your actual Hardware Computer, cd into your "VirtualBox VMs" that should be in your home directory with a terminal emulator, using that CLI issue this/these commands.
Code:
VBoxManage setextradata global GUI/MaxGuestResolution any
VBoxManage setextradata "VM-Name" CustomVideoMode1 1920x1200x32
where 1920x1200x32 is whatever size you want it to be when it starts up, and "VM-Name", is your actual name you gave your client that is located in your VirtualBox VMs directory.
then restart your client you should see the changes take effect. Look on your menu in you client and click "view" then go down to the "virtual screen 1" click on that. You should see you have a selection of whatever size you want it to be.
then carry on smartly.