#StackBounty: #fedora #x11 #nvidia #xfce #session Choose lightdm login screen location in multi monitor setup

Bounty: 50

I am running Fedora XFCE with an NVIDIA RTX 2080 Ti that is connected via 3 cables to 2 monitors.

Display port is connected twice to the same monitor (for PBP)
HDMI is connected to another monitor

Display Port 1 of my Monitor is the primary screen in XFCE, whereas Display Port 2 of my Monitor is disabled in my XFCE session. However, the login comes before I am a logged in user where the x settings are loaded, so somehow, it is always displayed on Display Port 2.

When I go into the Nvidia settings, I can see that the disabled monitor is DP-0 and the primary monitor is DP-4. However, like I said, in the monitor it’s in DP-1 and DP-2, so where does DP-0 and DP-4 come from and why are they reversed? Is there a way to change this easily?

What I tried so far

  • In /etc/lightdm/lightdm.conf added the lines (where dualmon.sh is xrandr --output DP-4 --primary
    • display-setup-script=/usr/bin/dualmon.sh
    • session-setup-script=/usr/bin/dualmon.sh
  • In /etc/lightdm/lightdm-gtk-greeter.conf set active-monitor under the [greeter] section to
    • 0
    • 1
    • 2
    • 3
    • DP-4

None of this worked. The login screen is still displayed on DP-0 (DisplayPort 2) and not on DP-4 (DisplayPort 1)

Get this bounty!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.