Hello, I have problems with SDDM (only when using Breeze theme) and a second monitor (VGA-1, 1024x768), without the second monitor I can:log in (because with the second monitor I can’t enter my password), restart the laptop, shut down and use the “other” button. On my main monitor (eDP-1, 1366x768) I have a strange resolution (strangely extended(?) 1024x768) when using the second monitor. Maybe this can be fixed? Thanks in advance! If anyone is wondering what OS I’m running - Arch Linux with Linux 6.11.4-zen1-1-zen
You can try to define xsetup script in /usr/share/sddm/scripts/Xsetup...
Use
xrandr | grep ' connected'
- to list connected monitors
E.g.
DP-2 connected 1920x1200+1920+0 (normal left inverted right x axis y axis) 518mm x 324mm
HDMI-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
Use xrandr
command:
xrandr --output HDMI-2 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-2 --mode 1920x1200 --pos 1920x0 --rotate normal
- this will setup displays correctly
It is better to make new file, because Xsetup can be overwriten by some update!
Create /usr/share/sddm/scripts/Xsetup_2monitor
with the xrandr
command
Add this new file to SDDM config
/etc/sddm.conf
[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayCommand=/usr/share/sddm/scripts/Xsetup_2monitor
1 Like
Reads like the same problem as: Login only possible through one of two monitors
1 Like
Unfortunately, it didn’t help me😢 But thanks for trying to help!
Changing the SDDM theme may be the solution, so thanks!
I’ve updated the referenced thread with an alternative possible solution: