You are not logged in.
Pages: 1
Hello everyone,
I’m running Arch Linux with KDE Plasma and Hyprland (using Hyprland as my current window manager) on a laptop with an RTX 3060. If it matters, I setup optimus manager in KDE Plasma and set it to exclusive GPU mode. My setup includes a 1080p laptop display and a 1440p external monitor. Currently, the SDDM login screen mirrors the 1080p display onto the external monitor as shown in the photo. Is it possible for SDDM to detect the external monitor automatically and display the login screen only on the 1440p display when connected?
"xrandr | grep -w connected" shows:
HDMI-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
eDP-1-1 connected (normal left inverted right x axis y axis)
and i tried putting:
xrandr --output HDMI-0 --auto --primary --output eDP-1-1 --off
in /usr/share/sddm/scripts/Xsetup. And it didn't work. Perhaps i did it wrong.
"journalctl -b 0 -u sddm" shows
May 05 05:02:08 MunkhusLaptop systemd[1]: Started Simple Desktop Display Manager.
May 05 05:02:08 MunkhusLaptop sddm[750]: Initializing...
May 05 05:02:08 MunkhusLaptop sddm[750]: Starting...
May 05 05:02:08 MunkhusLaptop sddm[750]: Logind interface found
May 05 05:02:08 MunkhusLaptop sddm[750]: Adding new display...
May 05 05:02:08 MunkhusLaptop systemd[1]: Started Simple Desktop Display Manager.
May 05 05:02:08 MunkhusLaptop sddm[750]: Initializing...
May 05 05:02:08 MunkhusLaptop sddm[750]: Starting...
May 05 05:02:08 MunkhusLaptop sddm[750]: Logind interface found
May 05 05:02:08 MunkhusLaptop sddm[750]: Adding new display...
May 05 05:02:08 MunkhusLaptop sddm[750]: Loaded empty theme configuration
May 05 05:02:08 MunkhusLaptop systemd[1]: Started Simple Desktop Display Manager.
May 05 05:02:08 MunkhusLaptop sddm[750]: Initializing...
May 05 05:02:08 MunkhusLaptop sddm[750]: Starting...
May 05 05:02:08 MunkhusLaptop sddm[750]: Logind interface found
May 05 05:02:08 MunkhusLaptop sddm[750]: Adding new display...
May 05 05:02:08 MunkhusLaptop sddm[750]: Loaded empty theme configuration
May 05 05:02:08 MunkhusLaptop sddm[750]: Xauthority path: "/run/sddm/xauth_qAQeqd"
May 05 05:02:08 MunkhusLaptop systemd[1]: Started Simple Desktop Display Manager.
May 05 05:02:08 MunkhusLaptop sddm[750]: Initializing...
May 05 05:02:08 MunkhusLaptop sddm[750]: Starting...
May 05 05:02:08 MunkhusLaptop sddm[750]: Logind interface found
May 05 05:02:08 MunkhusLaptop sddm[750]: Adding new display...
May 05 05:02:08 MunkhusLaptop sddm[750]: Loaded empty theme configuration
May 05 05:02:08 MunkhusLaptop sddm[750]: Xauthority path: "/run/sddm/xauth_qAQeqd"
May 05 05:02:08 MunkhusLaptop sddm[750]: Using VT 2
May 05 05:02:08 MunkhusLaptop sddm[750]: Display server starting...
May 05 05:02:08 MunkhusLaptop sddm[750]: Writing cookie to "/run/sddm/xauth_qAQeqd"
May 05 05:02:08 MunkhusLaptop sddm[750]: Running: /usr/bin/X -nolisten tcp -background none -seatMay 05 05:02:08 MunkhusLaptop syMay 05 05:02:08 MunkhusLaptop systemd[1]: Started Simple Desktop Display Manager.
May 05 05:02:08 MunkhusLaptop sddm[750]: Initializing...
May 05 05:02:08 MunkhusLaptop sddm[750]: Starting...
May 05 05:02:08 MunkhusLaptop sddm[750]: Logind interface found
May 05 05:02:08 MunkhusLaptop sddm[750]: Adding new display...
May 05 05:02:08 MunkhusLaptop sddm[750]: Loaded empty theme configuration
May 05 05:02:08 MunkhusLaptop sddm[750]: Xauthority path: "/run/sddm/xauth_qAQeqd"
May 05 05:02:08 MunkhusLaptop sddm[750]: Using VT 2
May 05 05:02:08 MunkhusLaptop sddm[750]: Display server starting...
May 05 05:02:08 MunkhusLaptop sddm[750]: Writing cookie to "/run/sddm/xauth_qAQeqd"
May 05 05:02:08 MunkhusLaptop sddm[750]: Running: /usr/bin/X -nolisten tcp -background none -seatMay 05 05:02:08 MunkhusLaptop systemd[1]: Started Simple Desktop Display Manager.
May 05 05:02:08 MunkhusLaptop sddm[750]: Initializing...
May 05 05:02:08 MunkhusLaptop sddm[750]: Starting...
May 05 05:02:08 MunkhusLaptop sddm[750]: Logind interface found
May 05 05:02:08 MunkhusLaptop sddm[750]: Adding new display...
May 05 05:02:08 MunkhusLaptop sddm[750]: Loaded empty theme configuration
May 05 05:02:08 MunkhusLaptop sddm[750]: Xauthority path: "/run/sddm/xauth_qAQeqd"
May 05 05:02:08 MunkhusLaptop sddm[750]: Using VT 2
May 05 05:02:08 MunkhusLaptop sddm[750]: Display server starting...
May 05 05:02:08 MunkhusLaptop sddm[750]: Writing cookie to "/run/sddm/xauth_qAQeqd"
May 05 05:02:08 MunkhusLaptop sddm[750]: Running: /usr/bin/X -nolisten tcp -background none -sea>
May 05 05:02:10 MunkhusLaptop sddm[750]: Setting default cursor
May 05 05:02:10 MunkhusLaptop sddm[750]: Could not setup default cursor
May 05 05:02:10 MunkhusLaptop sddm[750]: Running display setup script "/sbin/prime-offload"
May 05 05:02:10 MunkhusLaptop sddm[750]: Display server started.
May 05 05:02:10 MunkhusLaptop sddm[750]: Socket server starting...
May 05 05:02:10 MunkhusLaptop sddm[750]: Socket server started.
May 05 05:02:10 MunkhusLaptop sddm[750]: Loading theme configuration from "/usr/share/sddm/theme>
May 05 05:02:10 MunkhusLaptop sddm[750]: Greeter starting...
May 05 05:02:10 MunkhusLaptop sddm-helper[764]: [PAM] Starting...
May 05 05:02:10 MunkhusLaptop sddm-helper[764]: [PAM] Authenticating...
May 05 05:02:10 MunkhusLaptop sddm-helper[764]: [PAM] returning.
May 05 05:02:08 MunkhusLaptop systemd[1]: Started Simple Desktop Display Manager.
May 05 05:02:08 MunkhusLaptop sddm[750]: Initializing...
May 05 05:02:08 MunkhusLaptop sddm[750]: Starting...
May 05 05:02:08 MunkhusLaptop sddm[750]: Logind interface found
May 05 05:02:08 MunkhusLaptop sddm[750]: Adding new display...
May 05 05:02:08 MunkhusLaptop sddm[750]: Loaded empty theme configuration
May 05 05:02:08 MunkhusLaptop sddm[750]: Xauthority path: "/run/sddm/xauth_qAQeqd"
May 05 05:02:08 MunkhusLaptop sddm[750]: Using VT 2
May 05 05:02:08 MunkhusLaptop sddm[750]: Display server starting...
May 05 05:02:08 MunkhusLaptop sddm[750]: Writing cookie to "/run/sddm/xauth_qAQeqd"
May 05 05:02:08 MunkhusLaptop sddm[750]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_qAQeqd -noreset -disp>
May 05 05:02:10 MunkhusLaptop sddm[750]: Setting default cursor
May 05 05:02:10 MunkhusLaptop sddm[750]: Could not setup default cursor
May 05 05:02:10 MunkhusLaptop sddm[750]: Running display setup script "/sbin/prime-offload"
May 05 05:02:10 MunkhusLaptop sddm[750]: Display server started.
May 05 05:02:10 MunkhusLaptop sddm[750]: Socket server starting...
May 05 05:02:10 MunkhusLaptop sddm[750]: Socket server started.
May 05 05:02:10 MunkhusLaptop sddm[750]: Loading theme configuration from "/usr/share/sddm/themes/sequoia_2/theme.conf"
May 05 05:02:10 MunkhusLaptop sddm[750]: Greeter starting...
May 05 05:02:10 MunkhusLaptop sddm-helper[764]: [PAM] Starting...
May 05 05:02:10 MunkhusLaptop sddm-helper[764]: [PAM] Authenticating...
May 05 05:02:10 MunkhusLaptop sddm-helper[764]: [PAM] returning.
May 05 05:02:10 MunkhusLaptop sddm-helper[764]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=969) by (uid=0)
May 05 05:02:11 MunkhusLaptop sddm-helper[764]: Writing cookie to "/tmp/xauth_gIynDz"
May 05 05:02:11 MunkhusLaptop sddm-helper[764]: Starting X11 session: "" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm-:0-ucruyl --theme /usr/share/sdd>
May 05 05:02:11 MunkhusLaptop sddm[750]: Greeter session started successfully
May 05 05:02:11 MunkhusLaptop sddm[750]: Message received from greeter: Connect
May 05 05:02:53 MunkhusLaptop sddm[750]: Message received from greeter: Login
May 05 05:02:53 MunkhusLaptop sddm[750]: Reading from "/usr/share/wayland-sessions/hyprland.desktop"
May 05 05:02:53 MunkhusLaptop sddm[750]: Session "/usr/share/wayland-sessions/hyprland.desktop" selected, command: "Hyprland" for VT 1
May 05 05:02:53 MunkhusLaptop sddm-helper[813]: [PAM] Starting...
May 05 05:02:53 MunkhusLaptop sddm-helper[813]: [PAM] Authenticating...
May 05 05:02:53 MunkhusLaptop sddm-helper[813]: [PAM] Preparing to converse...
May 05 05:02:53 MunkhusLaptop sddm-helper[813]: [PAM] Conversation with 1 messages
May 05 05:02:53 MunkhusLaptop sddm-helper[813]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
May 05 05:02:53 MunkhusLaptop sddm-helper[813]: [PAM] returning.
May 05 05:02:53 MunkhusLaptop sddm[750]: Authentication for user "munkhu" successful
May 05 05:02:53 MunkhusLaptop sddm-helper[813]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
May 05 05:02:53 MunkhusLaptop sddm-helper[813]: pam_unix(sddm:session): session opened for user munkhu(uid=1000) by munkhu(uid=0)
May 05 05:02:53 MunkhusLaptop sddm-helper[813]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
May 05 05:02:53 MunkhusLaptop sddm[750]: Auth: sddm-helper exited successfully
May 05 05:02:53 MunkhusLaptop sddm[750]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
May 05 05:02:54 MunkhusLaptop sddm-helper[813]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "Hyprland"Here's the image

The login screen shows normal on the laptop display.
Thanks a lot!
Last edited by Munkhu (2025-05-05 03:57:52)
Offline
Pages: 1