Warped resolution on CentOS 7 using gnome


New Member

I'm kind of a Linux noob at the moment and my friend and I wanted to set up a Minecraft server so we bought a VPS because it was cheaper. I had everything working fine until I went to change the resolution from 1920x1080 to a smaller resolution. It was in the 10 by 9 category but I can't remember what the exact resolution looks like.
But now my screen on VNC looks like this:

Does anyone have any ideas on why this is happening and how to fix it?

Thanks :)


Active Member
if you can get to a terminal...

X --config

That should auto-build a config file for you. The restart the computer.

You can try...


and reboot to get to the command line.

You can edit

vi /etc/X11/xorg.conf

and there is a section like this (in red text below)

Section "Device"
Identifier "Configured Video Device"

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 30.0-62.0
VertRefresh 50.0-70.0

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"

Just change the 1024x768 to whatever resolution your monitor supports.
You may have to start with the lowest resolution, and then try higher resolutions.

Members online