Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way to change the screen resolution of the console after the system has been booted? I've seen plenty on setting the vga= line in the boot and in the grub config but I'd like to be able to change it after I login instead. This would be logging into the console, not through SSH.

in the old days of DOS I would have just used "mode" and changed it. What's the unix counterpart?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Have you taken a look at resizecons? Also, see this.

share|improve this answer
1  
resizecons is missing from Ubuntu 12.04. (Not that @Mech Software is necssarily using Ubuntu, but a future googler like me might be.) –  isomorphismes Aug 17 '12 at 2:57
1  
@isomorphismes: the odd thing is that there is still a man page around for resizecons as of Ubuntu 12.04.2. But no such program, of course. And thanks for your comment, I happened to be one of those future googlers ;) –  0xC0000022L Apr 4 '13 at 18:04
2  
@0xC0000022L: resizecons is part of the kbd package and is shown in the 12.04 (Precise) file list at packages.ubuntu.com/precise/i386/kbd/filelist for i386 (32 bit), but not in the list for AMD64 (64 bit) at packages.ubuntu.com/precise/amd64/kbd/filelist. The same is true for 12.10 (Quantal). –  Dennis Williamson Apr 4 '13 at 19:27
    
@DennisWilliamson: yep, saw it in the linked bug (linked from the mailing list post linked here). Thanks. –  0xC0000022L Apr 4 '13 at 19:50

In newer kernels, the ability to set vga= on the kernel line is disappearing anyway. It's gone for Intel video with the latest kernel/X11 releases already. When these will show up in Ubuntu I don't know.

You're talking the resolution in the console, right? Not the resolution inside X? If the former, I'm not sure it can be done. I've never seen anyone talk about doing it. If the latter, different desktop environments provide control panels for doing this, so I surmise it is possible. :-) You should say more about what the constraints are.

share|improve this answer
1  
hey, I don't think that's true that it can't be changed. As described in askubuntu.com/questions/176306/… I've changed the virtual console resolution of Ubuntu 12.04 several times, although I'm not sure how I'm doing it (seems to be a side effect of arandr. –  isomorphismes Aug 16 '12 at 23:26
    
@isomorphismes, thanks for the links. –  dubiousjim Aug 17 '12 at 21:10

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.