On 01-28-2024 03:24AM, Stakanov wrote:
In data domenica 28 gennaio 2024 10:20:29 CET, Stakanov ha scritto:
In data domenica 28 gennaio 2024 08:17:27 CET, -pj ha scritto:
  user@localhost:~> systemctl status sddm.service

○ sddm.service - Simple Desktop Display Manager

      Loaded: loaded (/usr/lib/systemd/system/sddm.service; disabled;

preset: disabled)

      Active: inactive (dead)

        Docs: man:sddm(1)

              man:sddm.conf(5)

user@localhost:~>

How did SDDM become disabled? Could this be the source of the problem?
This seems to be the standard behavior in TW with SDDM and Plasma.

I am currently not understanding your issue, what should the SDDM do instead
of the screenshot you show.

Here with
Operating System: openSUSE Tumbleweed 20240125
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12
Kernel Version: 6.7.1-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon Pro W5500
Product Name: X570 Phantom Gaming 4

you get:
entropy@silversurfer:~> systemctl status sddm.service
○ sddm.service - Simple Desktop Display Manager
     Loaded: loaded (/usr/lib/systemd/system/sddm.service; disabled; preset:
disabled)
     Active: inactive (dead)
       Docs: man:sddm(1)
             man:sddm.conf(5)

Not that I did ever see another behavior or look, if it is for that.
oh, I see, you mean that the first(!) loaded sddm is without any picture
background etc.
It actually should show the username, so this is odd. But the rest is the very
same on this system, just black background.

On my system, as long as a user has not been logged in into plasma, you will
not have any background picture or similar. They are only loaded from the
environment of that user as far as I see on this system. So using "switch
user" during the KDE session does show you a modded sddm page if you have set
it so. AFAIK the "standard login sddm" does not. 

I have been reading man sddm and from my limited knowledge?

user@localhost:/usr/lib/sddm/sddm.conf.d> ls -lah
total 12K
drwxr-xr-x 1 root root  96 Nov  1 03:32 .
drwxr-xr-x 1 root root  22 Oct  9 04:42 ..
-rw-r--r-- 1 root root 252 Oct  9 04:42 00-general.conf
-rw-r--r-- 1 root root  59 Oct  9 04:42 10-theme.conf
-rw-r--r-- 1 root root 200 Oct  9 04:42 11-kwin_wayland.conf
user@localhost:/usr/lib/sddm/sddm.conf.d>

-

-

user@localhost:/usr/lib/sddm/sddm.conf.d> cat 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
user@localhost:/usr/lib/sddm/sddm.conf.d>

-

user@localhost:/usr/lib/sddm/sddm.conf.d> cat 00-general.conf  
[XDisplay]
ServerPath=/usr/bin/X
SessionCommand=/usr/etc/X11/xdm/Xsession
DisplayCommand=/usr/etc/X11/xdm/Xsetup
# No effect in 0.20.0, might change in the future again
MinimumVT=7
# boo#1089932
EnableHiDPI=true

[Users]
# boo#979775
ReuseSession=true
user@localhost:/usr/lib/sddm/sddm.conf.d>

-

I have also been noticing kwin seems to occasionally crash and asks if I would like to file a bug report. I have not done that yet.

-

# update-alternatives --config default-displaymanager

There are 3 choices for the alternative default-displaymanager (providing /usr/lib/X11/displaym
anagers/default-displaymanager).

 Selection    Path                                  Priority   Status
------------------------------------------------------------
* 0            /usr/lib/X11/displaymanagers/sddm      25        auto mode
 1            /usr/lib/X11/displaymanagers/console   5         manual mode
 2            /usr/lib/X11/displaymanagers/sddm      25        manual mode
 3            /usr/lib/X11/displaymanagers/xdm       10        manual mode

Press <enter> to keep the current choice[*], or type selection number:


:/> systemctl status xdm.service
display-manager.service - X Display Manager
    Loaded: loaded (/usr/lib/systemd/system/display-manager.service; enabled; preset: enabled)
    Active: active (running) since Sat 2024-01-27 23:50:32 CST; 4h 7min ago
   Process: 1773 ExecStart=/usr/lib/X11/display-manager start (code=exited, status=0/SUCCESS)
  Main PID: 1788 (sddm)
     Tasks: 4 (limit: 4915)
       CPU: 4min 10.546s
    CGroup: /system.slice/display-manager.service
            ├─1788 /usr/bin/sddm
            └─1812 /usr/bin/Xorg.bin -nolisten tcp -background none -seat seat0 vt2 -auth /ru>

Warning: some journal files were not opened due to insufficient permissions.

:/> systemctl status sddm.service
○ sddm.service - Simple Desktop Display Manager
    Loaded: loaded (/usr/lib/systemd/system/sddm.service; disabled; preset: disabled)
    Active: inactive (dead)
      Docs: man:sddm(1)
            man:sddm.conf(5)
:/>
It's odd to me that SDDM is disabled on both the pc's here and then SDDM is listed as the Main PID in enabled XDM service .

Attempting to switch to SDDM then powercycling does not help the situation, i.e. # update-alternatives --config default-displaymanager (select sddm).

I tried XDM and yes the login window displays typed entries but XDM in itself seems quite rudimentary.