Linux.com

change resolution

Link to this post 25 Jan 11

how to change resolution in terminal?(suse)
is it different in another distro ?

Link to this post 25 Jan 11

Depending on the size and/or resolution of your screen you can add a vga=XXX cheat code to your kernel line during boot. If you want to make it permanent, add it to the kernel line in you grub conf. This link explains a bit:
http://www.damnsmalllinux.org/wiki/index.php/Vga%3Dxxx
BTW - vga=791 or 792 has worked on normal size monitors for me. See different resolutions in the link.

Link to this post 26 Jan 11

i dont have root password.in my user i change display of 1024*768 to 800*600 and hurt desktop view . when log in my user nothing is visible .i cant see pointer or windows but they work.i want to comeback resolution 1024*768 with terminal.open terminal with shortcut such as alt+ctrl+t restore resolution with command.i hear about xrandr but i dont know does it work or work in suse enterprise .

Link to this post 26 Jan 11

xrandr talks to the x11 subsystem, it should work on all Linux based distros without root rights. The command to change it on your system should be

xrandr  --output VGA1 --size 1024x768

Link to this post 26 Jan 11

When i use command get this error in ubuntu.


hoseini@hoseini-HP:~$ xrandr --output VGA1 --size 1024x768
xrandr: Failed to get size of gamma for output default
warning: output VGA1 not found; ignoring

Link to this post 26 Jan 11

If you just run the xrandr command without any arguments it will show what displays are connected. You can replace vga1 with the designation of your connected monitor.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board