VirtualBox - how to get VM to have a larger screen
I'm brand new to VirtualBox. I've just recently installed VirtualBox (downloaded from virtualbox.org) on my Ubuntu 14.04 workstation and I've created a VM running Ubuntu Server 16.04 LTS. Sadly, the one single terminal window available for me to interact with that machine is only 800x600 or so. I've looked through all the settings, especially those related to Display, and cannot seem to find any way to make the terminal window larger. Can anyone point me in the right direction?
|
Use SSH to log into your headless virual server.
|
|
Quote:
|
Quote:
|
Quote:
I found this documentation which looks helpful: https://www.virtualbox.org/manual/ch04.html |
For VMs without a GUI it does not matter but the add features like auto sizing the window and mouse integration are nice to have.
|
Quote:
|
Quote:
Quote:
I was able to copy this error Code:
Unable to insert the virtual optical disk /usr/share/virtualbox/VBoxGuestAdditions.iso into the machine My-First-VM-Ubuntu-16.04. |
I was able to find the right ISO for my installation here:http://download.virtualbox.org/virtualbox/5.1.10/
No idea how to get it onto the VM though... |
Use the device pull down menu, click on the optical drive and select the iso image. This will mount the file. As root cd to the cdrom drive which I assume is /media/cdrom0 and run the command
sh VBoxLinuxAdditions.run |
Quote:
Devices->Optical Drives->Choose Disk Image... (select ~/VBoxGuestAdditions_5.1.10.iso on my workstation) And the resulting error is nearly identical to the previous error: Quote:
I did try installing the virtualbox iso deb package by running this command on the VM: Code:
sudo apt-get install virtualbox-guest-additions-iso |
You might have to restart the VM. Now try to insert the 5.0.10 iso file and see if it mounts.
|
Quote:
|
I got the same error on my CentOS 7 VM but it actually did show inserted. Not sure between forcing insert or just repeatedly trying did it work.
You also need to install the gcc, kernel-devel and bzip2. After that I could mount the CD and install guest additions. Also make sure your VM is updated first. Update: After all that.. With just a GUI only the terminal window does not appear to be capable of resizing. |
All times are GMT -5. The time now is 04:52 AM. |