Results 1 to 9 of 9

Thread: unlocking gnome keyring by login process

  1. #1

    Default unlocking gnome keyring by login process

    opensuse 42.2
    kde environment
    kde framework 5.37(also 5.38) and plasma 5.10.5 (also 5.10.95)

    i did not checked for 42.2 and 42.3 default installation. i guess this works.

    some apps as skype uses gnome keyring then when you install it then it installs also gnome keyring.


    you must chose same pwd for keyring as the user one

    edit /etc/pam.d/sddm file

    add these statements:

    auth optional pam_gnome_keyring.so
    session optional pam_gnome_keyring.so auto_start

    original contents:

    #%PAM-1.0
    auth include common-auth
    account include common-account
    password include common-password
    session required pam_loginuid.so
    session include common-session

    contents after editing:

    #%PAM-1.0
    auth include common-auth
    auth optional pam_gnome_keyring.so
    account include common-account
    password include common-password
    session required pam_loginuid.so
    session include common-session
    session optional pam_gnome_keyring.so auto_start

    i adapted this tuto
    https://wiki.archlinux.org/index.php..._Gnome-keyring
    OpenSuse leap 15 x86_64,Asus Z97-P, Intel Core i5-4590, 8 GB, Intel HD Graphic 4600, wifi Linksys WMP600N, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com , HP LaserJet 1220, Headset bluetooth 3.0 Philips SHQ7300

  2. #2

    Default Re : unlocking gnome keyring by login process

    since sddm 0.16 then sddm automatically unlock the keyring once you log in

    see

    jeu. 14 déc. 2017 13:00:00 CET
    fabian@ritter-vogt.de - Update to 0.17.0:
    + Added possibility to change border width of ComboBox widget.
    + Added missing utmp/wtmp/btmp handling.
    + Make greeter see icons set by AccountsServices.
    - Fix sddm.conf man page syntax error and update.
    - Fix ComboBox widget.
    - Fix connection of PropertiesChanged event for LogindSeat.
    - Avoid race conditions with Xsetup.
    * Update de translation.
    * Update lt translation.
    * Update zh_TW translation.
    * Adjust order of components in the default PATH.
    * Set default input method to qtvirtualkeyboard.
    - Update to 0.16.0:
    + Support non-latin characters in theme settings.
    + Support fish shell in Xsession and wayland-session.
    + Unlock GNOME keyring at login. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    + Configuration directory.
    - Make the default cursor themed.
    - Update date and time in elarun theme.
    - Fix theme metadata default values.
    - Fix session selection in elarun.
    - Do not truncate XAUTHORITY on login.
    - Make enabled property of Button functional.
    - Fix typos in documentation.
    * Re-use existing sessions.
    * Add ConsoleKit 2 support.
    * Stop assuming shadow(5) is always available.
    * Explicitely set XDG_SEAT when starting a user session.
    * Suppress errors when pam_elogind is not available.
    * Suppress errors when pam_systemd is not available.
    * Added possibility to change color of dropdown menu.
    * Add Hindi translation.
    * Completed Swedish translation.
    * Update French translation.
    - Move to system configuration dirs, replace sddm.conf with
    00-general.conf and 10-theme.conf
    - Refresh patches:
    * 0001-Revert-Rename-XDisplay-and-WaylandDisplay-config-sec.patch
    * proper_pam.diff
    - Rename patches:
    * sysconfig-support.patch:
    0001-Read-the-DISPLAYMANAGER_AUTOLOGIN-value-from-sysconf.patch
    * create_pid_file.patch:
    0001-Write-the-daemon-s-PID-to-a-file-on-startup.patch
    - Remove patches, now upstream:
    * 0001-Do-not-truncate-XAUTHORITY-file-on-login.patch

    with opensuse you need plasma 5.11.5
    OpenSuse leap 15 x86_64,Asus Z97-P, Intel Core i5-4590, 8 GB, Intel HD Graphic 4600, wifi Linksys WMP600N, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com , HP LaserJet 1220, Headset bluetooth 3.0 Philips SHQ7300

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,473
    Blog Entries
    14

    Default Re: unlocking gnome keyring by login process

    I see one issue here: GNOME doesn't use sddm, but gdm ( IIRC )
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4

    Default Re : unlocking gnome keyring by login process

    @knurpht

    the subject of this howto is about unlocking gnome keyring in a kde environment thus using sddm
    OpenSuse leap 15 x86_64,Asus Z97-P, Intel Core i5-4590, 8 GB, Intel HD Graphic 4600, wifi Linksys WMP600N, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com , HP LaserJet 1220, Headset bluetooth 3.0 Philips SHQ7300

  5. #5
    Join Date
    Apr 2013
    Location
    Sydney, AU
    Posts
    241

    Default Re: unlocking gnome keyring by login process

    Quote Originally Posted by promeneur View Post
    opensuse 42.2
    kde environment
    kde framework 5.37(also 5.38) and plasma 5.10.5 (also 5.10.95)

    i did not checked for 42.2 and 42.3 default installation. i guess this works.

    some apps as skype uses gnome keyring then when you install it then it installs also gnome keyring.


    you must chose same pwd for keyring as the user one

    edit /etc/pam.d/sddm file

    add these statements:

    auth optional pam_gnome_keyring.so
    session optional pam_gnome_keyring.so auto_start

    original contents:

    #%PAM-1.0
    auth include common-auth
    account include common-account
    password include common-password
    session required pam_loginuid.so
    session include common-session

    contents after editing:

    #%PAM-1.0
    auth include common-auth
    auth optional pam_gnome_keyring.so
    account include common-account
    password include common-password
    session required pam_loginuid.so
    session include common-session
    session optional pam_gnome_keyring.so auto_start

    i adapted this tuto
    https://wiki.archlinux.org/index.php..._Gnome-keyring


    however ....





    and ...






    ... must be some other reason???

    Any ideas?
    openSUSE Leap 15.1 | KDE Plasma 5.12.8 | Frameworks 5.55.0 | Qt 5.9.7 | Kernel 4.12.14-lp151.27-default | Procs 4 x i5-2500 CPU @ 3.3.GHz | 15.6 GiB RAM | 4 Monitors

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,002
    Blog Entries
    3

    Default Re: unlocking gnome keyring by login process

    Quote Originally Posted by griadooss View Post



    ... must be some other reason???

    Any ideas?
    I have had that happen with Ubuntu. It was because I had changed my login password at some time. So I just entered the previous password there. That opened the keyring and reset the keyring password so that this didn't happen again.

    However, I was logged into Gnome at the time. I don't know what happens if logged into KDE when this occurs.
    openSUSE Leap 15.1; KDE Plasma 5;

  7. #7

    Default Re : unlocking gnome keyring by login process

    yes i get this problem.

    this problem occurs:
    - randomly
    - at each update of skype

    hypothesis : slow answer from gnome keyring for autocompleting id and pwd when skype starts because baloo indexing does many disk accesses when opening a kde session.

    in the past i get this problem with hangouts and kwallet.

    there is not much to do. to minimize disk accesses perhaps don't get new mails and akregator rss news during opening kde session for example.

    also signal this problem to skype support : help > assistance or help > signal a problem.
    OpenSuse leap 15 x86_64,Asus Z97-P, Intel Core i5-4590, 8 GB, Intel HD Graphic 4600, wifi Linksys WMP600N, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com , HP LaserJet 1220, Headset bluetooth 3.0 Philips SHQ7300

  8. #8

    Default Re : unlocking gnome keyring by login process

    OpenSuse leap 15 x86_64,Asus Z97-P, Intel Core i5-4590, 8 GB, Intel HD Graphic 4600, wifi Linksys WMP600N, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com , HP LaserJet 1220, Headset bluetooth 3.0 Philips SHQ7300

  9. #9

    Default Re : unlocking gnome keyring by login process

    OpenSuse leap 15 x86_64,Asus Z97-P, Intel Core i5-4590, 8 GB, Intel HD Graphic 4600, wifi Linksys WMP600N, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com , HP LaserJet 1220, Headset bluetooth 3.0 Philips SHQ7300

Posting Permissions

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