I have installed Ubuntu server 12.4 in Oracle Virtual box, after completing installation, i cant use the Ubuntu server in full screen,guest additions present in virtual box will work in ubuntu server.
I have installed Ubuntu server 12.4 in Oracle Virtual box, after completing installation, i cant use the Ubuntu server in full screen,guest additions present in virtual box will work in ubuntu server.
You can have the ubuntu server console in VirtualBox start at a resolution that your graphic card supports via the virtualbox environment.
Quick Steps
Check the resolutions your graphic card supports via the VirtualBox Environment (VBE).You should be able to find that out by issuing the command '
vbeinfo
' in the GRUB console (hit the C key when the GRUB boot menu shows up).Pick one resolution, then open '/etc/default/grub' (e.g.
sudo vim /etc/default/grub
) and change the line#GRUB_GFXMODE=640x480
to something like thisGRUB_GFXMODE=1152x864
(where 1152x864 should be your custom resolution which is also supported by your graphic card).Now run these two commands one-by-one:
You should now see your VM's console in the custom resolution that you just set.
(PS: As Javier Rivera said, full screen resolution may not be possible.)
As mentioned in Proper way to change terminal resolution in Ubuntu Server 13.04? you also need to set
in the /etc/default/grub file otherwise the resolution is only briefly used during boot
Other answers didn't work properly for me on Ubuntu 16.10 - e.g. resolution would be applied, but then reverted at various points later during boot. What did eventually work was the combination of the following three settings in
/etc/default/grub
:Followed by running:
NOTE 1: Supported resolutions can be identified from within grub. Hit
C
at the grub prompt, then type:When selecting a resolution, width x height is sufficient (unless you specifically care about setting colour depth too).
Note 2: If you don't see the GRUB menu, hold Shift while booting.
What I always do is install ssh on the server and then use putty to access the server. Not only does this allow me to view the server in full screen, it also allows me to connect to it from other machines.
to install ssh metapackage (client and server) just run:
You could install only
openssh-server
if you don't need the ssh client on the VM.The VirtualBox guest additions display driver only works on graphical mode, not text mode. You will need to install Xorg to use it full-screen.