Tuesday, December 25, 2012

Change Screen Resolution of Ubuntu 12.10 Server Running on Oracle Virtual Box

Hello,

I was having problem of changing the resolution of the console of Ubuntu 12.10 Server (64bit) version, running on Oracle Virtualbox environment.

First I installed Virtualbox guest additions using the following command.

#apt-get install virtualbox-guest-additions-iso

But I still couldn't change increase the resolution of the server console. Finally I tried the below method which was successful for me. I hope it will help you also.

Step 01:

Edit the file /etc/default/grub using your favorite text editor. Here I am using "vi"

#sudo vi  /etc/default/grub

......
......

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

......
......

In the above file uncomment the line "#GRUB_GFXMODE=640x480" 

You can increase the resolution by changing the values 640x480 to 800x600 or to 1024x768
Then save the file and exit.

Step 02:
Run the below command to upgrade the grub.

#sudo update-grub

Step 03:
Restart the Ubuntu server.

Note: Please note that if you host environment and/or the Virtualbox installation graphic configurations does not support specified level resolution the above steps won't work. Then try to change the resolution to a commonly used values.
    

Related Posts:

  • How to enable .htaccessIn general, you should never use .htaccess files unless you don't have access to the main server configuration file. .htaccess files should be used in… Read More
  • Null session attacksNull session attack is an exploit that uses unauthenticated NetBIOS connections to enumerate a target host.Usually Microsoft Windows Servers run many … Read More
  • Enforce password historyThis policy enables administrators to enhance security by ensuring that old passwords are not reused continually. Here administrators can configure th… Read More
  • IP Tables with Ubuntu Iptables is a firewall, installed by default on all official Ubuntu distributions (Ubuntu, Kubuntu, Xubuntu). Default Configurations When you insta… Read More
  • Usefull SVN Commands $svn help  Provides a summary of the available commands. Available subcommands:     add   blame (praise, annotate, ann)… Read More

0 comments: