CentOS 7 - Wrong monitor detected
Posted: 2023/01/05 10:01:33
I have a CentOS 7 server which has a 22" Samsung Monitor attached to it. However, it is picking it up as HP 17" Monitor.
Here is the resolution I get for the HP 17" monitor:
Parts of the desktop wasn't visible due to the resolution. I have managed to work around the problem by doing the following:
Previously, the server had two physical display showing when connecting to NoMachine due to VNC server still running. I have stop and uninstalled VNC Server, and NoMachine now detects a single physical display.
I have tried restarting GNOME/X Server but it still picks up the monitor as being a HP.
How can I get CentOS 7 to automatically detect the monitor?
Here is the resolution I get for the HP 17" monitor:
Code: Select all
Screen 0: minimum 320 x 200, current 1280 x 960, maximum 4096 x 4096
VGA-1 connected primary 1280x960+0+0 (normal left inverted right x axis y axis) 340mm x 270mm
1280x1024 60.02 +
1280x960 60.00*
1024x768 60.00
800x600 60.32
640x480 59.94
Code: Select all
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode VGA-1 1920x1080_60.00
I have tried restarting GNOME/X Server but it still picks up the monitor as being a HP.
How can I get CentOS 7 to automatically detect the monitor?