You are not logged in.

#1 2025-02-27 21:22:54

agedplato
Member
Registered: 2025-02-27
Posts: 1

SDDM config issues

I have spent far too long trying to figure out why SDDM does the things its done. I read the wiki, the github, online, everywhere I could look and I give up. I pray someone here can figure this out.

I am trying to configure SDDM as I have a triple monitor setup and only want it to display on one. I went to the wiki, I looked at XSetup and made the changes listed

#!/bin/sh
# Xsetup - run as root before the login dialog appears

xrandr --output DP-2 --primary
xrandr --output DP-1  --off
xrandr --output HDMI-A-1  --off 

Thinking this will turn off my side monitor but no matter what I do and or change I have not been able to get this file to do ANYTHING.


I use KDE so my kde_settings.conf looks as such

[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=/usr/bin/systemctl poweroff
RebootCommand=/usr/bin/systemctl reboot

[Theme]
Current=breeze
CursorTheme=Sweet-cursors
Font=Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1

[Users]
MaximumUid=60513
MinimumUid=1000

[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=true
ServerArguments=-dpi 120
ServerPath=/usr/bin/X
SessionCommand=/usr/share/sddm/scripts/Xsession
SessionDir=/usr/local/share/xsessions,/usr/share/xsessions
SessionLogFile=.local/share/sddm/xorg-session.log
XephyrPath=/usr/bin/Xephyr

My SDDM config is the default currently

[Autologin]
# Whether sddm should automatically log back into sessions when they exit
Relogin=false

# Name of session file for autologin session (if empty try last logged in)
Session=

# Username for autologin session
User=


[General]
# Which display server should be used.
# Valid values are: x11, x11-user, wayland. Wayland support is experimental
DisplayServer=x11

# Comma-separated list of environment variables to be set
GreeterEnvironment=

# Halt command
HaltCommand=/usr/bin/systemctl poweroff

# Input method module
InputMethod=qtvirtualkeyboard

# Comma-separated list of Linux namespaces for user session to enter
Namespaces=

# Initial NumLock state. Can be on, off or none.
# If property is set to none, numlock won't be changed
# NOTE: Currently ignored if autologin is enabled.
Numlock=none

# Reboot command
RebootCommand=/usr/bin/systemctl reboot


[Users]
# Default $PATH for logged in users
DefaultPath=/usr/local/bin:/usr/bin:/bin

# Comma-separated list of shells.
# Users with these shells as their default won't be listed
HideShells=

# Comma-separated list of users that should not be listed
HideUsers=

# Maximum user id for displayed users
MaximumUid=60513

# Minimum user id for displayed users
MinimumUid=1000

# Remember the session of the last successfully logged in user
RememberLastSession=true

# Remember the last successfully logged in user
RememberLastUser=true

# When logging in as the same user twice, restore the original session, rather than create a new one
ReuseSession=true


[Wayland]
# Path of the Wayland compositor to execute when starting the greeter
CompositorCommand=weston --shell=kiosk

# Enable Qt's automatic high-DPI scaling
EnableHiDPI=true

# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/wayland-session

# Comma-separated list of directories containing available Wayland sessions
SessionDir=/usr/local/share/wayland-sessions,/usr/share/wayland-sessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/wayland-session.log


[X11]
# Path to a script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup

# Path to a script to execute when stopping the display server
DisplayStopCommand=/usr/share/sddm/scripts/Xstop

# Enable Qt's automatic high-DPI scaling
EnableHiDPI=true

# Arguments passed to the X server invocation
ServerArguments=-nolisten tcp

# Path to X server binary
ServerPath=/usr/bin/X

# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/Xsession

# Comma-separated list of directories containing available X sessions
SessionDir=/usr/local/share/xsessions,/usr/share/xsessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/xorg-session.log

# Path to Xephyr binary
XephyrPath=/usr/bin/Xephyr

and xrandr | grew -w connected produces

HDMI-A-1 connected 1600x900+0+540 (normal left inverted right x axis y axis) 443mm x 249mm
DP-1 connected primary 2560x1440+1600+0 (normal left inverted right x axis y axis) 697mm x 392mm
DP-2 connected 1680x1050+4160+390 (normal left inverted right x axis y axis) 433mm x 270mm

Here's a fastfetch if it helps

plato@davemain
--------------
OS: Arch Linux x86_64
Host: X570 AORUS MASTER (-CF)
Kernel: Linux 6.13.3-arch1-1
Uptime: 18 mins
Packages: 1131 (pacman), 42 (flatpak)
Shell: bash 5.2.37
Display (DELL 2009W): 1680x1050 @ 60 Hz in 20" [External]
Display (DELD10F): 2560x1440 @ 165 Hz in 31" [External] *
Display (DELL P2012H): 1600x900 @ 60 Hz in 20" [External]
DE: KDE Plasma 6.3.1
WM: KWin (Wayland)
WM Theme: Breeze
Theme: Breeze (UtterlySweet) [Qt], Breeze-Dark [GTK2], Breeze [GTK3]
Icons: BeautySolar [Qt], BeautySolar [GTK2/3/4]
Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
Cursor: Sweet (24px)
Terminal: alacritty 0.15.1
Terminal Font: alacritty (11pt)
CPU: AMD Ryzen 7 5800X3D (16) @ 4.55 GHz
GPU: NVIDIA GeForce RTX 3080 Ti [Discrete]
Memory: 3.89 GiB / 31.26 GiB (12%)
Swap: Disabled
Disk (/): 183.08 GiB / 317.81 GiB (58%) - ext4
Disk (/mnt/drives/backup): 202.69 GiB / 1.82 TiB (11%) - fuseblk
Disk (/mnt/drives/fgames): 138.38 GiB / 457.38 GiB (30%) - ext4
Disk (/mnt/drives/games): 560.36 GiB / 915.82 GiB (61%) - ext4
Disk (/mnt/drives/sgames): 275.34 GiB / 468.38 GiB (59%) - ext4
Disk (/mnt/drives/shenanagains): 74.06 GiB / 698.64 GiB (11%) - fuseblk
Disk (/mnt/drives/windows): 393.29 GiB / 604.91 GiB (65%) - fuseblk
Local IP (enp7s0): 192.168.1.46/24
Locale: en_US.UTF=8

If you need anything else from my system just ask and I will provide.

Anything I have seen on the internet has not helped me and I am so close to just giving up on SDDM entirely and figuring something else out.

Offline

Board footer

Powered by FluxBB