this post was submitted on 01 Oct 2024
23 points (100.0% liked)
Linux
48207 readers
1003 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I have the same setup (EndeavourOS / KDE plasma 6 / Wayland / SDDM / 2 monitors) and had the same problem. The worst thing is that typing the password in the "active" login prompt (the one with the focus) wasn't working anyway, so I had to use the mouse to give focus to the other monitor first, and then type the password. Absolutely annoying.
The solution I found (sorry I forgot where, some forum) is to disable all the detected monitors except one in
/usr/share/sddm/scripts/Xsetup
. Basically your secondary monitor will not get any signal until you type the password and log in. At that point any other monitor will be reactivated automatically.This is my Xsetup:
IMPORTANT
Check out the output of
xrandr
in Wayland on my system:DP-1 and DP-2 are the names used by Wayland, but they don't work in Xsetup because X11 calls the ports DisplayPort-0 and DisplayPort-1 - and I don't remember if HDMI ports are also called differently.
So you need to log in X11 first, get the names with xrandr, create or update Xsetup and reboot.
Interesting. I never solved the issue so I'll give this a go.