GNOME Display Manager (GDM) login screen: Monitors the wrong way around

I currently have two identical Dell 1080p monitors connected to an Intel NUC8i7HVK running Manjaro Linux GNOME.

Once logged in, I can easily change the desktop display setup, i.e. tell GNOME which display is located where and which display is the primary display, in the “Displays” pane of GNOME settings.

However, The login screen is then still the wrong way around!

Does anyone know how to alter the display configuration of the GDM login screen without physically re-arranging the monitors?

My output of inxi -Fazy is below:

System:
  Kernel: 5.8.11-1-MANJARO x86_64 bits: 64 compiler: N/A 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
  root=UUID=f5245ffc-4c91-4b47-b905-1d35123f8237 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 mitigations=off 
  Desktop: GNOME 3.36.6 tk: GTK 3.24.23 wm: gnome-shell dm: GDM 3.36.3 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop System: Intel Client Systems product: NUC8i7HVK v: J71485-504 
  serial: <filter> Chassis: Intel Corporation type: 3 v: 2.0 serial: <filter> 
  Mobo: Intel model: NUC8i7HVB v: J68196-504 serial: <filter> UEFI: Intel 
  v: HNKBLi70.86A.0059.2019.1112.1124 date: 11/12/2019 
CPU:
  Topology: Quad Core model: Intel Core i7-8809G bits: 64 type: MT MCP 
  arch: Kaby Lake family: 6 model-id: 9E (158) stepping: 9 microcode: D6 
  L2 cache: 8192 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 49618 
  Speed: 1961 MHz min/max: 800/8300 MHz Core speeds (MHz): 1: 2566 2: 2884 
  3: 2666 4: 2888 5: 2816 6: 2675 7: 2889 8: 2757 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf mitigation: PTE Inversion; VMX: vulnerable 
  Type: mds status: Vulnerable; SMT vulnerable 
  Type: meltdown status: Vulnerable 
  Type: spec_store_bypass status: Vulnerable 
  Type: spectre_v1 status: Vulnerable: __user pointer sanitization and 
  usercopy barriers only; no swapgs barriers 
  Type: spectre_v2 status: Vulnerable, IBPB: disabled, STIBP: disabled 
  Type: srbds status: Vulnerable 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel HD Graphics 630 driver: i915 v: kernel bus ID: 00:02.0 
  chip ID: 8086:591b 
  Device-2: AMD Polaris 22 XT [Radeon RX Vega M GH] vendor: Intel 
  driver: amdgpu v: kernel bus ID: 01:00.0 chip ID: 1002:694c 
  Display: wayland server: X.Org 1.20.9 compositor: gnome-shell 
  driver: amdgpu,ati,intel unloaded: modesetting,radeon alternate: fbdev,vesa 
  display ID: :0 screens: 1 
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.0x11.3") 
  s-diag: 1055mm (41.6") 
  Monitor-1: XWAYLAND0 res: 1920x1080 hz: 60 dpi: 92 
  size: 530x300mm (20.9x11.8") diag: 609mm (24") 
  Monitor-2: XWAYLAND1 res: 1920x1080 hz: 60 dpi: 92 
  size: 530x300mm (20.9x11.8") diag: 609mm (24") 
  OpenGL: renderer: AMD VEGAM (DRM 3.38.0 5.8.11-1-MANJARO LLVM 10.0.1) 
  v: 4.6 Mesa 20.1.8 direct render: Yes 
Audio:
  Device-1: Intel CM238 HD Audio driver: snd_hda_intel v: kernel 
  bus ID: 00:1f.3 chip ID: 8086:a171 
  Device-2: AMD Polaris 22 HDMI Audio vendor: Intel driver: snd_hda_intel 
  v: kernel bus ID: 01:00.1 chip ID: 1002:ab08 
  Device-3: Logitech Logitech StreamCam type: USB 
  driver: hid-generic,snd-usb-audio,usbhid,uvcvideo bus ID: 6-1:2 
  chip ID: 046d:0893 serial: <filter> 
  Sound Server: ALSA v: k5.8.11-1-MANJARO 
Network:
  Device-1: Intel Ethernet I219-LM driver: e1000e v: 3.2.6-k port: f040 
  bus ID: 00:1f.6 chip ID: 8086:15b7 
  IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter> 
  Device-2: Intel I210 Gigabit Network driver: igb v: 5.6.0-k port: b000 
  bus ID: 05:00.0 chip ID: 8086:157b 
  IF: enp5s0 state: down mac: <filter> 
  Device-3: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: b000 
  bus ID: 06:00.0 chip ID: 8086:24fd 
  IF: wlp6s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 953.87 GiB used: 539.99 GiB (56.6%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 PRO 1TB size: 953.87 GiB 
  block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
  serial: <filter> rev: 1B2QEXP7 scheme: GPT 
  ID-2: /dev/nvme1n1 vendor: A-Data model: SX8200PNP size: 953.87 GiB 
  block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
  serial: <filter> rev: SS0411B scheme: GPT 
Partition:
  ID-1: / raw size: 953.57 GiB size: 937.61 GiB (98.33%) 
  used: 290.86 GiB (31.0%) fs: ext4 dev: /dev/nvme0n1p2 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: file size: 32.00 GiB used: 0 KiB (0.0%) priority: -2 
  file: /swapfile 
Sensors:
  System Temperatures: cpu: 62.5 C mobo: 29.8 C gpu: amdgpu temp: 49 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 297 Uptime: 3h 44m Memory: 31.28 GiB used: 6.24 GiB (19.9%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 alt: 8 Packages: pacman: 1754 
  lib: 420 flatpak: 0 Shell: Zsh v: 5.8 running in: gnome-terminal 
  inxi: 3.1.05 

I don’t understand what you’re trying to say with this:

Once it’s set up, you’re done… What are you trying to accomplish???

:thinking:

In the GDM login screen, my monitors are the wrong way around, i.e., if I move my cursor off the right hand side of the right monitor it will come onto the left hand side of the left monitor.

Is there some setting I can alter somewhere to change this without having to switch my monitors around?

I’ve edited your question and title to reflect your real problem. :stuck_out_tongue_winking_eye:

Please provide the output of xrandr once logged in and the contents of /etc/X11/xorg.conf.d/90-mhwd.conf.

If that file would not be there, please provide the contents of all files in that directory.

:+1:

Hi Fabrizio:

Output of xrandr:

Screen 0: minimum 16 x 16, current 3840 x 1080, maximum 32767 x 32767
XWAYLAND0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 530mm x 300mm
   1920x1080     59.96*+
XWAYLAND1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 530mm x 300mm
   1920x1080     59.96*+

/etc/X11/xorg.conf.d/90-mhwd.conf isn’t present. The only file in that directory is 00-keyboard.conf. I don’t think that’s relevant, but just in case:

# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
        Option "XkbModel" "apple"
        Option "XkbVariant" "mac"
EndSection

Wayland: I have no experience with this, so better wait for someone more knowledgeable than me to show up. (I’ve also added the tag “wayland” to your question to attract more people here)

:+1:

Here’s the output of xrandr on X11:

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  50.00    59.94  
   1680x1050     60.00  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      60.00  
   1280x800      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DisplayPort-3 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  50.00    59.94  
   1680x1050     60.00  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      60.00  
   1280x800      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Have you changed to X from wayland?

If yes: contents of /etc/X11/xorg.conf.d/90-mhwd.conf, please?

I changed from wayland to X11 just now to get the output. I also checked for that file, but it still wasn’t there.

Maybe that’s because you’ve got Intel (on nVidia here), so I can’t help you any further…

:sob:

Yup… Intel + AMD.

I got this from a post in the Fedora Forum (can’t post links here apparantly)

In short (if you have the desired configuration while logged in):

sudo cp -f ~/.config/monitors.xml ~gdm/.config/monitors.xml
sudo chown $(id -u gdm):$(id -g gdm) ~gdm/.config/monitors.xml

Edit: I can now post links: Gnome Login Menu On Wrong Screen - on using Fedora - Ask Fedora

1 Like

thx, worked for me!

Glad I could help. You can mark my post as an answer, so it will be shown directly below the first post and everybody can easily find it.

Edit: I didn’t notice you are not the original poster. Sorry :sweat_smile: Maybe @anon80447176 can do it :slight_smile: