Ask Your Question
5

Configure monitors for login screen

asked 2013-12-03 17:32:55 -0600

zadeluca gravatar image

updated 2014-04-11 16:31:22 -0600

remjg gravatar image

Hi,

I have a triple-monitor setup, and by default they were all out of order. I was able to configure the order and select my preferred default monitor, and that works fine for my user account.

I did the same thing for the root user, assuming those settings would also be used for the login screen, but I was wrong. What do I need to do? Does the login screen run as user gdm? And I have to somehow change the settings for that user?

Thanks, Zach

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
6

answered 2013-12-03 17:41:46 -0600

zadeluca gravatar image

To answer my own question:

Copy the monitor configuration file from a user account where it is configured properly to the gdm directory:

cp /root/.config/monitors.xml /var/lib/gdm/.config/

There should be a more intuitive way to accomplish this, and hopefully there is, but this works at least...

edit flag offensive delete link more

Comments

Very bad, for me it didn't work on Fedora 22. :-( Other ideas?

erik gravatar imageerik ( 2016-02-16 09:57:41 -0600 )edit
1

THANK YOU!!! THANK YOU!!! THANK YOU!!! I was trying to fix it for years also.

ssr gravatar imagessr ( 2018-07-12 11:45:03 -0600 )edit
0

answered 2016-07-26 03:23:23 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Thank you very much for sharing this!!! It took me ages to find a solution, and now after doing this it works.

Further: (I use fedora 24) In the startup of your computer there are 3 times that the resolution and refresh rate can be configured:

  1. grub
  2. xorg startup screen
  3. xorg user screen

Because the standard resolution doesnt work well with my monitor (why i still dont know) I wanted to change the resolution from 2560x1440 (144Hz) to 2560x1440 (120 Hz). I can tell you: that's a pain. (for me :-))

1. grub

First in grub you can change the resolution and refresh rate with grubby. In /etc/default/grub I have added: GRUB_CMDLINE_LINUX_DEFAULT="video=2560x1440@60" GRUB_GFXMODE="1920x1080,1280x1024" (the first line, (almost not documented), saved my life) after changing it, I typed: grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg (and not /boot/grub.cfg because I use EFI) Restart and the first config was changed succesfully with a refresh rate of 60HZ (120Hz didnt work)

2. xorg startup screen

cp /root/.config/monitors.xml /var/lib/gdm/.config/

3. xorg user screen

this resolution I've changed with the display manager in Xwindows

Further I have tried it with xorg.conf and /etc/X11/xorg.conf.d/XX-monitor.conf but unfortunately in Fedora 24 I can't get it work. It looks like xrandr or another proces is overruling those parameters.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-12-03 17:32:55 -0600

Seen: 9,280 times

Last updated: Jul 26 '16