Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Screensaver lightdm

  1. #1

    Default Screensaver lightdm

    Hi,

    i use KDE, but i need the change displaymanager to lightdm - this is ok, but i need change lock screen to lightdm no to plasma. Please how change lock screen?

    Thank you.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,875
    Blog Entries
    3

    Default Re: Screensaver lightdm

    I am using "lightdm" at present (with KDE). But I don't know how to change the screensaver (or lockscreen) to use "lightdm". I doubt that it is possible.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3

    Default Re: Screensaver lightdm

    Thx, for your answer this is not good news for me. I need used lightdm for screen saver.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,378

    Default Re: Screensaver lightdm

    Like @nrickert, I am unsure what the so called "screen saver" (which does not save any screen, but it locks the session) has to do with the display manager.

    Maybe you can elaborate on this so we can understand better what you are after.
    Henk van Velden

  5. #5

    Default Re: Screensaver lightdm

    I implement two factors into opensuse by yubikey. But sddm is not configured for two factors. Works well in text mode. But I need two factors and in gui. I changed the display manager to lightdm. And the gui login screen works greatly supports two factors. But after logging in and locking the session, linux will show me the locked plasma5 not lightdm. But plasma5 is not ready for two factors so I need screensever to use lightdm.

    Thx for help

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,378

    Default Re: Screensaver lightdm

    I am trying to understand. You seem to think that everybody knows immediatly what "yubikey" is and what the expression "two factor" means here. That is most probably not the case.

    But I assume you are on a dead alley.

    I may be wrong, but imo screen locking is a feature of the desktop and has nothing to do with the display manager. It does not use any display manager at all, but does the locking and unlocking all by itself.
    Henk van Velden

  7. #7
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,875
    Blog Entries
    3

    Default Re: Screensaver lightdm

    Quote Originally Posted by hcvv View Post
    I may be wrong, but imo screen locking is a feature of the desktop and has nothing to do with the display manager. It does not use any display manager at all, but does the locking and unlocking all by itself.
    That seems almost right.

    I did just experiment. When the screen is locked in KDE (whether manually or after a timeout), I always get the standard KDE unlock screen (looks like SDDM, but probably just sharing library with SDDM). I've tried this with display-manager of "lightdm" or "gdm", and changing the display manager does not have any effect.

    It is, however, different with Gnome. Unlocking the screen in Gnome does use "gdm". And if I set the display-manager to something else (not "gdm"), then screen locking does not work at all in Gnome.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,378

    Default Re: Screensaver lightdm

    Thanks for the testing.

    It looks that my assumptions are basicaly correct (Display Manager is a different piece of software then a Desktop screen locker), but that Gnome tried to integrate these, with the result that you are bound to gdm when you want a functioning screen locker.

    Which is a bit strange. The Display Manager should be independent from the DE. When the DM offers the GUI login screen, it is unknown what user is going to log in and the more which DE that user is going to use today. It looks that if you offer Gnome as one of the DEs to your users, you are bound to gdm (if you want to offer them screen locking also).
    Last edited by hcvv; 27-Aug-2019 at 08:35.
    Henk van Velden

  9. #9

    Default Re: Screensaver lightdm

    Thak you for your answer. But KDE (Plasma) must used own screensaver like kscreensaver how change this screen saver for light-screensaver? Do you know? I tryed remove kscreen-saver but the system remove all KDE.
    I want to remove kscreen-saver so that KDE remains and I added a screen saver in the hope of taking on its role.

    Please help me.

    Yubikey is OTP (One time password). In login users give his username and password (1 factor). And the system ask him for OTP (2 factor). In my bad luck the sddm is not configure that ask to OTP. The system automatically writes the login failed.

    I try find solution in gui. I finded solution when i lock the screen and can't login. I start new session and login like last user and this session connect me to last session. I have everything I had open. But this is not correct and not user frendly solution.


    Please help me to correct solution


    Thank you.

  10. #10
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,461
    Blog Entries
    2

    Default Re: Screensaver lightdm

    Hi guys,
    Putting in 2 cents (or farthings or whatever)...

    Sounds like you guys have been making progress which I largely agree, another example of course about the DM are the recent problems associated with sddm which hopefully be ironed out over time, every DM has its own capabilities and are themselves configurable (read the docs for that DM) so in various situations there will be a preferred DM to match with the DE and particular usage.

    So,
    The first question I had in the original post is what was meant by a lightdm lockscreen, as discussed in this thread AFAIK there is no such thing but of course how a screensaver and lockscreen works can be dependent on the capabilities and configuration of the DM.

    One thing that is not double-checked in this thread but is probably done correctly is how the User is switching DMs... Of course, in LEAP 15.x this should be done using update-alternatives and not /etc/sysconfig, by command line or using the YaST /etc/sysconfig/ editor module.

    As for managing the lockscreen, AFAIK this should be done entirely using the DE management tools, and KDE/Plasma is no exception.

    Additionally,
    In another concurrently running Yubikey thread,
    I noted that the Yubikey documentation is a bit sparse on setting up Yubikey for 2 factor authentication logging into a system(much better for applications), and there are several ways to set that up... It'd be really hard to provide any kind of help without knowing exactly what has been configured... Exact detailed steps need to be described, particularly regarding installation of PAM components and where the keys are stored, on the Yubikey or in the cloud (likely a Yubikey server)... And then, the exact error that's caused, whether displayed to the User or in the logs.

    IMO and HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 1 of 2 12 LastLast

Posting Permissions

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