Proper way to change terminal resolution in Ubuntu Server 13.04? [duplicate]

Solution 1:

I solved it... and all I had to do was edit /etc/default/grub thus:

GRUB_CMDLINE_LINUX_DEFAULT="splash vga=789"

I ran sudo update-grub, sudo reboot and it sticks in a larger-size console mode... just what I wanted.

Solution 2:

Read How do I increase console-mode resolution? The first answer is what you are looking for. Requires tweaking grub parameters.

Edit: There seems to be an omission to the answer in the link I gave you. You also have to add the following line to grub.conf:

GRUB_GFXPAYLOAD_LINUX=keep

Without this the system drops to default lower resolution after booting and you end up with low resolution in login screen.

Also keep in mind that (I don't remember where I read this) the "vga=" parameter is deprecated from grub, so unless you want to risk coming across this problem again after a future update of grub, I suggest you use this method.

Solution 3:

I had the same issue, and I applied a small change to the solution you give and it worked, but you have to keep in mind some restrictions when it comes to the console display:

  1. The VGA mode’s resolution can't exceed 800x600 in maximum, so if you want a 1024x768 resolution, you should use XVGA instead of simple VGA.
  2. The resolution you can apply to the console display depends on your graphical card capabilities, that's means if your card have 800x600 at maximum as a resolution, you can't force it to display 1024x768.

I wild end up with the solution that worked for me :

GRUB_CMDLINE_LINUX_DEFAULT="splash xvga=1024x768x24" 
GRUB_GFXMODE=1024x768x24

The “x24” is optional, since it makes no change, add to this you can use only the second line and it will work.

Have a nice day