Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using a linux server without X
I want to understand how to change the number of lines/columns I see, like I change resolution in X.. besides.. I should be able to change the resolution somehow, shouldn't I? I mean, I'm still using a monitor even if it's not with an X server..

The graphics card doesn't see any difference between X and simple linux video buffer, right? So there must be a way to set resolution, refresh rate etc..

if you could point me to some guide out there it'd be fine
thanks

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Assuming you want to change the resolution of the display (which indirectly changes how many characters fit in each row/column), you can change the mode.

The mode of the graphics card can be set via the vga boot parameter (assuming you don't use framebuffer), but the value to set it to depends on your graphics card.

To see what values are available add vga=ask which will give you a list to choose and test from. If you use grub just append that to the kernel line of /boot/grub/menu.lst for your kernel. Once you have decided what mode you want, replace ask with that code.

For some documentation see e.g. Documentation/svga.txt in the kernel source tree.

share|improve this answer
    
thanks.. didn't find the menu.lst file, though.. I'm on ubuntu server 9.10 –  luca Feb 6 '10 at 14:17
    
@luca I don't know ubuntu's setup. But you might be able to play with this by adding the vga parameter like described e.g. here grumpymole.blogspot.com/2007/05/… (assuming ubuntu uses grub and their grub version is compatible with that howto). –  Benjamin Bannier Feb 6 '10 at 14:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.