SDDM startet mit schwarzen Bildschirm.. nur die Maus ist zu sehen

Hallo,

habe gerade openSUSE Tumbleweed installiert… als Desktop benutze ich KDE… alles hat erst mal funktioniert… habe als erstes den Nvidia treiber installiert mit zypper… nach dem Neustart zeigt mir SDDM nur ein schwarzer Bildschirm… der Mauszeiger wird noch angezeigt…

es ist dann möglich mit Strg Alt F3 eine konsole zu öffnen… dort habe ich SDDM neugestartet un voila es geht

Soweit ich es beurteilen kann gibt es mit dem Nvidia Treiber kein Problem… alles geht wie gewohnt.

Hier meine Grafikkarten:

Device: 0
  Name:        Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon™ Vega Series / Radeon™ Vega Mobile Series]
  Default:     yes
  Discrete:    no
  Environment: DRI_PRIME=pci-0000_05_00_0 VK_LOADER_DRIVERS_SELECT=*radeon*

Device: 1
  Name:        NVIDIA Corporation GA106M [GeForce RTX™ 3060 Mobile / Max-Q]
  Default:     no
  Discrete:    yes
  Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only VK_LOADER_DRIVERS_SELECT=*nvidia*

hat jemand eine idee wie ich das gelöst bekomme… so das SDDM mir keinen schwarzen Bilschirm mehr zeigt

1 Like

Zeig mal cat /etc/os-release

1 Like
NAME="openSUSE Tumbleweed"
# VERSION="20260220"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20260220"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
# CPE 2.3 format, boo#1217921
CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20260220:*:*:*:*:*:*:*"
#CPE 2.2 format
#CPE_NAME="cpe:/o:opensuse:tumbleweed:20260220"
BUG_REPORT_URL="https://bugzilla.opensuse.org"
SUPPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo-Tumbleweed"

1 Like
 # systemctl list-unit-files | grep -iE ' STATE |display'
UNIT FILE                                    STATE           PRESET
display-manager-legacy.service               disabled        enabled
display-manager.service                      alias           -
 # 
 # systemctl status display-manager.service 
● sddm.service - Simple Desktop Display Manager
     Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; preset: disabled)
     Active: active (running) since Mon 2026-02-23 08:55:17 CET; 3h 51min ago
 Invocation: ecd8447524504ad1abfef91f74ffe6b4
       Docs: man:sddm(1)
             man:sddm.conf(5)
   Main PID: 1395 (sddm)
      Tasks: 16 (limit: 37396)
        CPU: 2.450s
     CGroup: /system.slice/sddm.service
             ├─1395 /usr/bin/sddm
             └─1439 /usr/bin/Xorg.bin -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_gIkTno -nore>

 . 
 . 
 . 
Feb 23 10:37:36 xxx sddm[1395]: Jumping to VT 1
Feb 23 10:37:36 xxx sddm[1395]: VT mode didn't need to be fixed
 #

Leider, manchmal, der SDDM „systemd” Dienst wird nicht automatisch aktiviert – Mann muss es händisch aktivieren.

1 Like

sddm.service is enable

sudo systemctl status sddm.service 
[sudo] Passwort für root: 
● sddm.service - Simple Desktop Display Manager
     Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; preset: disabled)
     Active: active (running) since Mon 2026-02-23 13:44:46 CET; 1min 0s ago
 Invocation: 4a8729a9df634729923b6f228247eb2f
       Docs: man:sddm(1)
             man:sddm.conf(5)
   Main PID: 2132 (sddm)
      Tasks: 14 (limit: 76181)
        CPU: 583ms
     CGroup: /system.slice/sddm.service
             ├─2132 /usr/bin/sddm
             └─2134 /usr/bin/Xorg.bin -nolisten tcp -background none -seat seat0 vt1 -auth /run/sddm/xauth_iYzIKF -noreset -displayfd 16

Feb 23 13:44:57 wolf sddm-helper[2261]: [PAM] Preparing to converse...
Feb 23 13:44:57 wolf sddm-helper[2261]: [PAM] Conversation with 1 messages
Feb 23 13:44:57 wolf sddm-helper[2261]: [PAM] returning.
Feb 23 13:44:57 wolf sddm[2132]: Authentication for user  "bedaine"  successful
Feb 23 13:44:57 wolf sddm[2132]: Auth: sddm-helper exited successfully
Feb 23 13:44:57 wolf sddm[2132]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
Feb 23 13:44:58 wolf sddm-helper[2261]: pam_unix(sddm:session): session opened for user bedaine(uid=1000) by bedaine(uid=0)
Feb 23 13:44:58 wolf sddm-helper[2261]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Feb 23 13:44:58 wolf sddm[2132]: Session started true
Feb 23 13:44:58 wolf sddm-helper[2261]: Failed to write utmpx:  Datei oder Verzeichnis nicht gefunden

hilft das… was ist den utmpx

1 Like

Die Datei „utmp” enthält die Anmeldedatensätze – üblicherweise ‚/var/run/utmp’.
Ist aber, bezüglich SUSE und openSUSE, nicht mehr unterstützt – momentan der „systemd-logind” Dienst tut alles was „utmp” früher getan hat.

 # systemctl status systemd-logind.service 
● systemd-logind.service - User Login Management
     Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
    Drop-In: /usr/lib/systemd/system/systemd-logind.service.d
             └─20-defaults-SUSE.conf
     Active: active (running) since Mon 2026-02-23 08:55:15 CET; 7h ago
 Invocation: 220db9078731406c88cb12922ba1da3a
TriggeredBy: ● systemd-logind-varlink.socket
       Docs: man:sd-login(3)
             man:systemd-logind.service(8)
             man:logind.conf(5)
             man:org.freedesktop.login1(5)
   Main PID: 1033 (systemd-logind)
     Status: "Processing requests..."
      Tasks: 1 (limit: 37396)
   FD Store: 14 (limit: 768)
        CPU: 1.371s
     CGroup: /system.slice/systemd-logind.service
             └─1033 /usr/lib/systemd/systemd-logind

Feb 23 12:03:27 xxx systemd-logind[1033]: New session 'c2' of user 'root' with class 'user-early' and type 'tty'.
Feb 23 12:46:26 xxx systemd-logind[1033]: Existing logind session ID 4 used by new audit session, ignoring.
Feb 23 12:46:26 xxx systemd-logind[1033]: New session 'c3' of user 'root' with class 'user-early' and type 'tty'.
Feb 23 13:58:15 xxx systemd-logind[1033]: The system will suspend now!
Feb 23 15:22:48 xxx systemd-logind[1033]: Operation 'suspend' finished.
Feb 23 15:53:18 xxx systemd-logind[1033]: Existing logind session ID 4 used by new audit session, ignoring.
Feb 23 15:53:18 xxx systemd-logind[1033]: New session 'c4' of user 'yyy' with class 'user' and type 'tty'.
Feb 23 15:53:18 xxx systemd-logind[1033]: New session '10' of user 'yyy' with class 'manager' and type 'unspecifi>
Feb 23 15:54:08 xxx systemd-logind[1033]: Removed session c4.
Feb 23 15:54:18 xxx systemd-logind[1033]: Removed session 10.
  #

Normalerweise, wenn der „sddm” Dienst aktiviert worden ist, ein Alias mit der Name „display-manager.service” wird erschaffen – vielleicht folgendes wird helfen –

# systemctl reenable sddm.service

1 Like

So habe das Kommando ausgeführt.
Er hat den Alias nochmals erstellt aber es hat nicht geholfen… nach einen Neustart bekomme ich immer noch ein schwarzen Bildschirm.

Wenn ich sddm ausschalte und dann boote lande ich auf der tty. Wenn ich dann

systemctl start sddm

ausführe startet sddm ohne problem…

aktiviere ich wieder sddm dann kommt wieder der schwarze bildschirm

ist ganz komisch

1 Like

Rehallo zusammen,

so ich hab es geschafft es läuft

das war die Lösung

der trick war:

[Wayland]
EnableHiDPI=true

[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

in eine datei unter /etc/sddm.conf.d zu schreiben… habe das ganze wayland_settings.conf benannt

hab dann neugestartet und es funzt

viele Dank für eure Hilfe

1 Like

@Daemonscript:

 # rpm --query --whatprovides /usr/lib/sddm/sddm.conf.d
plasma6-sddm-theme-openSUSE-84.87~git20240313T170730~9c664b7-36.1.noarch
sddm-qt6-0.21.0-6.2.x86_64
sddm-qt6-branding-openSUSE-6.6.0-1.1.x86_64
 # 
 # rpm --query --whatprovides /usr/lib/sddm/sddm.conf.d/11-kwin_wayland.conf 
sddm-branding-openSUSE-0.21.0-6.4.noarch
 # 
 # cat /usr/lib/sddm/sddm.conf.d/11-kwin_wayland.conf
[General]
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

[Wayland]
# --locale1 was introduced in kwin 5.27
CompositorCommand=kwin_wayland --no-global-shortcuts --no-lockscreen --locale1
 #

 # rpm --query --whatprovides /etc/sddm.conf.d
sddm-qt6-0.21.0-6.2.x86_64
 # rpm --query --whatprovides /etc/sddm.conf.d/10-HiDPI.conf 
file /etc/sddm.conf.d/10-HiDPI.conf is not owned by any package
 # 
 # cat /etc/sddm.conf.d/10-HiDPI.conf 
[X11]
EnableHiDPI=true

[Wayland]
EnableHiDPI=true
 #

Eigentlich, für Tumbleweed ist ein eigene KWin und Wayland Festlegung überflüssig – für HiDPI und Wayland aber nicht – in /usr/lib/sddm/sddm.conf.d/ ist HiDPI nur für „X11” festgelegt.

2 Likes

OK… hab nochmals geprüft… hab die Zeilen

[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

entfernt

und es geht noch… heisst:

[Wayland]
EnableHiDPI=true

ist die magische Zeile die gefehlt hat…
unlgaublich… hab den ganzen Tag gebraucht um es zu finden… man sollte es im Wiki anmerken

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.