Results 1 to 9 of 9

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

  1. #1

    Question [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:

    Code:
    # systemctl disable kdm.service
    # systemctl enable sddm.service
    It didn't work for me either.

  2. #2
    Join Date
    Feb 2011
    Location
    Zagreb, Croatia
    Posts
    120

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

    Hello,
    you'll need at least this
    Code:
    --- 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 ;-)

  3. #3

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

    Thank you, sumski :-)

    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.

  4. #4

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

    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:
    Code:
    #%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?

  5. #5
    Join Date
    Feb 2011
    Location
    Zagreb, Croatia
    Posts
    120

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

    What i have:
    Code:
    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

  6. #6

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

    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.

  7. #7

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

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

  8. #8

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

    I am using Tumbleweed and I have a similar problem. However mine is not related to the pam files. It seems to me that
    Code:
    /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?

  9. #9

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

    Quote Originally Posted by Thieh View Post
    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).
    Last edited by wolfi323; 22-Dec-2014 at 14:23.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •