[12.3, x86_64] sddm - QML based X11 display manager

Und hallo everyone,

I’m looking for someone who might have had a successful experience with this great piece of software:

https://github.com/sddm/sddm#readme

This is pretty cool-looking desktop manager, but the problem is than the author haven’t ported it to openSUSE. I have performed a successful installation according to documentation available at the git page of this project. Everything went well, but the manager doesn’t start. I’ve tried to change default displya manager value over Yast manager, but it didn’t help too.

Also, I’ve spoken to the developer, the history of our conversation is here: https://github.com/sddm/sddm/issues/65

It didn’t help, and the bottom line was like this:

On a systemd based distro following should be enough:

# systemctl disable kdm.service
# systemctl enable sddm.service

It didn’t work for me either.

Hello,
you’ll need at least this

--- sddm-0.1git/services/old.sddm.pam	2013-03-17 18:58:05.389537401 +0100
+++ sddm-0.1git/services/sddm.pam	2013-03-17 19:37:20.320815313 +0100
@@ -1,6 +1,6 @@
 #%PAM-1.0
-
-auth		include		system-login
-account		include		system-login
-password	include		system-login
-session		include		system-login
+auth     include        common-auth
+account  include        common-account
+password include        common-password
+session  required       pam_loginuid.so
+session  include        common-session

and adjust authdir in sddm.conf to get it running :wink:

Thank you, sumski :slight_smile:

I’ll try to “break” this code later at home. Just, don’t close the topic yet. It may take some time until I get this right.

I’ve located sddm.pam here:
/home/MyUsername/Downloads/sddm-master/debian/sddm.pam
/home/MyUsername/Downloads/sddm-master/services/sddm.pam

…and the sddm.conf here:
/home/MyUsername/Downloads/sddm-master/build/sddm.conf
/etc/sddm.conf

The *pam file from services/ folder has content like this:

#%PAM-1.0

auth		include		system-login
account		include		system-login
password	include		system-login
session		include		system-login

Does it mean I should only edit those files? Without performing new installation routine?

What i have:

rpm -ql sddm
/etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
/etc/pam.d/sddm
/etc/sddm.conf
/usr/bin/sddm
/usr/bin/sddm-greeter
/usr/lib/X11/displaymanagers
/usr/lib/X11/displaymanagers/sddm
/usr/lib/systemd/system/sddm.service
/usr/lib64/qt4/plugins/imports/SddmComponents
/usr/lib64/qt4/plugins/imports/SddmComponents/Background.qml
/usr/lib64/qt4/plugins/imports/SddmComponents/Button.qml
/usr/lib64/qt4/plugins/imports/SddmComponents/Clock.qml
/usr/lib64/qt4/plugins/imports/SddmComponents/ComboBox.qml
/usr/lib64/qt4/plugins/imports/SddmComponents/ImageButton.qml
/usr/lib64/qt4/plugins/imports/SddmComponents/Menu.qml
/usr/lib64/qt4/plugins/imports/SddmComponents/PictureBox.qml
/usr/lib64/qt4/plugins/imports/SddmComponents/TextBox.qml
/usr/lib64/qt4/plugins/imports/SddmComponents/qmldir
/usr/share/apps
/usr/share/apps/sddm
/usr/share/apps/sddm/faces
/usr/share/apps/sddm/faces/README
/usr/share/apps/sddm/faces/default.face.icon
/usr/share/apps/sddm/faces/root.face.icon
/usr/share/apps/sddm/scripts
/usr/share/apps/sddm/scripts/Xsession
/usr/share/apps/sddm/sddm.conf.sample
/usr/share/apps/sddm/themes
/usr/share/apps/sddm/themes/circles
/usr/share/apps/sddm/themes/circles/Main.qml
/usr/share/apps/sddm/themes/circles/README
/usr/share/apps/sddm/themes/circles/angle-down.png
/usr/share/apps/sddm/themes/circles/background.png
/usr/share/apps/sddm/themes/circles/circles.jpg
/usr/share/apps/sddm/themes/circles/metadata.desktop
/usr/share/apps/sddm/themes/circles/theme.conf
/usr/share/apps/sddm/themes/elarun
/usr/share/apps/sddm/themes/elarun/ACKNOWLEDGEMENT
/usr/share/apps/sddm/themes/elarun/Main.qml
/usr/share/apps/sddm/themes/elarun/README
/usr/share/apps/sddm/themes/elarun/elarun.jpg
/usr/share/apps/sddm/themes/elarun/images
/usr/share/apps/sddm/themes/elarun/images/background.png
/usr/share/apps/sddm/themes/elarun/images/lock.png
/usr/share/apps/sddm/themes/elarun/images/login_active.png
/usr/share/apps/sddm/themes/elarun/images/login_normal.png
/usr/share/apps/sddm/themes/elarun/images/rectangle.png
/usr/share/apps/sddm/themes/elarun/images/rectangle_overlay.png
/usr/share/apps/sddm/themes/elarun/images/session_normal.png
/usr/share/apps/sddm/themes/elarun/images/system_hibernate.png
/usr/share/apps/sddm/themes/elarun/images/system_reboot.png
/usr/share/apps/sddm/themes/elarun/images/system_shutdown.png
/usr/share/apps/sddm/themes/elarun/images/system_suspend.png
/usr/share/apps/sddm/themes/elarun/images/system_switch_user.png
/usr/share/apps/sddm/themes/elarun/images/user_icon.png
/usr/share/apps/sddm/themes/elarun/metadata.desktop
/usr/share/apps/sddm/themes/elarun/theme.conf
/usr/share/apps/sddm/themes/maldives
/usr/share/apps/sddm/themes/maldives/GeosansLight.ttf
/usr/share/apps/sddm/themes/maldives/Main.qml
/usr/share/apps/sddm/themes/maldives/README
/usr/share/apps/sddm/themes/maldives/angle-down.png
/usr/share/apps/sddm/themes/maldives/background.jpg
/usr/share/apps/sddm/themes/maldives/maldives.jpg
/usr/share/apps/sddm/themes/maldives/metadata.desktop
/usr/share/apps/sddm/themes/maldives/rectangle.png
/usr/share/apps/sddm/themes/maldives/theme.conf
/usr/share/apps/sddm/themes/maui
/usr/share/apps/sddm/themes/maui/GeosansLight.ttf
/usr/share/apps/sddm/themes/maui/Main.qml
/usr/share/apps/sddm/themes/maui/README
/usr/share/apps/sddm/themes/maui/angle-down.png
/usr/share/apps/sddm/themes/maui/angle-left.png
/usr/share/apps/sddm/themes/maui/angle-right.png
/usr/share/apps/sddm/themes/maui/background.png
/usr/share/apps/sddm/themes/maui/maui.jpg
/usr/share/apps/sddm/themes/maui/metadata.desktop
/usr/share/apps/sddm/themes/maui/reboot.png
/usr/share/apps/sddm/themes/maui/shutdown.png
/usr/share/apps/sddm/themes/maui/theme.conf

You’ll need to edit
/etc/pam.d/sddm
/etc/sddm.conf
files, or edit them before performing a install of sddm

Is there any chance that Sddm will finally arrive to OpenSuse as a pre-built package?
Fedora 20 will use Sddm instead of standard KDM, which is good news.

Well, there are packages available (although not in the official repos), but I haven’t tried them myself.
software.opensuse.org:

I am using Tumbleweed and I have a similar problem. However mine is not related to the pam files. It seems to me that

/usr/lib/systemd/system/sddm.service

is missing (comparing the output of rpm -ql sddm with sumski) from the package I installed from the Tumbleweed repo.

So… anyone mind enlighten me on how to proceed?

Open /etc/sysconfig/displaymanager in a text editor and set DISPLAYMANAGER=“sddm”.

On openSUSE xdm.service is used for all displaymanagers, this then runs the actual configured one (or a fallback if it cannot be started).

Btw, there is no problem with the pam files any more. Install the package and it should just work.
But, if gnome-keyring-pam is installed, the session will hang on logout. That’s a known upstream bug. Uninstall that to prevent the problem, this is only needed to automatically unlock the GNOME keyring on login (which doesn’t work with sddm anyway I think).