Hello,
I have 24'' and 19'' connected to NVidia GTX 275 on CentOS 7. I have a little problem with these two monitors. When I reboot or power on computer, all BIOS messages appear correctly on 24'' which is my main monitor. Windows 10 also detects monitors correctly. For some reason, CentOS 7 GNOME detects the monitor in opposite order, such that 19'' is 1 and the main monitor 24'' is 2!
Consequently, by default, the 24'' is detected as secondary monitor and the 19'' as primary. I have swapped screens in settings and the desktop appears correctly on the 24'' one but when I login after reboot or when I power on the computer, I have a login prompt on the small monitor.
Is there any way possible to change settings in order for 24'' to be 1?
[SOLVED] Dual monitor problem.
[SOLVED] Dual monitor problem.
Last edited by FranekW on 2017/05/16 23:29:54, edited 2 times in total.
Re: Dual monitory problem.
Could you try to switch the two cables?
Re: Dual monitory problem.
The monitor settings done by Gnome are only associated with your login session. So if you want GDM to use the same settings, you need to copy ~/.config/monitors.xml to /var/lib/gdm/.config/ (as root), e.g.:FranekW wrote:I have a login prompt on the small monitor.
Code: Select all
cp ~franek/.config/monitors.xml /var/lib/gdm/.config/
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/
Re: Dual monitor problem.
Hi,
Many thanks for the answers
EDIT.
There's one more thing. I have CentOS 7 installed at work as well and tried the same thing which did not work. I had to change both owner and group to `gdm`:
Many thanks for the answers
This was actually the first thing I tried. I thought I had sorted it out but after I had rebooted compter everything like BIOS messages and then linux boot menu was displayed on the small monitor!tunk wrote:Could you try to switch the two cables?
It works now. Reallly thanks for thisowl102 wrote:The monitor settings done by Gnome are only associated with your login session. So if you want GDM to use the same settings, you need to copy ~/.config/monitors.xml to /var/lib/gdm/.config/ (as root), e.g.:Code: Select all
cp ~franek/.config/monitors.xml /var/lib/gdm/.config/
EDIT.
There's one more thing. I have CentOS 7 installed at work as well and tried the same thing which did not work. I had to change both owner and group to `gdm`:
Code: Select all
sudo chown gdm:gdm /var/lib/gdb/.config/monitors.xml