Warped resolution on CentOS 7 using gnome

jmbmn

New Member
Joined
Dec 17, 2019
Messages
1
Reaction score
0
Credits
0
Hi,

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:
4932

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

Thanks :)
-J
 


dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,474
Reaction score
1,078
Credits
9,177
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...

systemd.unit=multi-user.target

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"
EndSection

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

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

Just change the 1024x768 to whatever resolution your monitor supports.
You may have to start with the lowest resolution, and then try higher resolutions.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top