GNOME maintenance

Ok, looks like I've got the same behavior here. GDM freezes after entering the password. Version: gnome-keyring-48.0.
Error on the console is:
Code:
gdm-password: gkr-pam: unable to locate daemon control file.
I already checked /usr/local/etc/pam.d/gdm-password - and both pam_gnome_keyring.so entries are present and active.
How is gnome-keyring launched?

With x11/gnome-shell or x11/gnome-shell-extensions you need to install x11/xdg-desktop-portal-gnome. It is already a dependency in meta port x11/gnome (or gnome-lite).

gnome-keyring checks SSH_AUTH_SOCK variable. In /usr/local/share/example/gnome-shell/xprofile, this variable is defined.

Personally SSH_AUTH_SOCK is subdir of XDG_RUNTIME_DIR (with gnome/gdm, you don't need to defined this variable, they follow the XDG PAM module, but with lightdm it uses value of ConsoleKit2).

If your login manager is lightdm, you can defined a new value (e.g. in .xprofile) and don't forget to enable the gnome-keyring PAM module too.

Code:
_version=$(sysctl kern.osreldate | awk -F " " '{printf("%s", $2);}')

# Set $XDG_RUNTIME_DIR
if [ ${_version} -gt 1401000 ]; then
    _user_id=$(id -un)
    if [ -d "/var/run/xdg/${_user_id}" ]; then
        XDG_RUNTIME_DIR="/var/run/xdg/${_user_id}"
    fi
else
    _user_id=$(id -u)
    if [ -d "/var/run/user/${_user_id}" ]; then
        XDG_RUNTIME_DIR="/var/run/user/${_user_id}"
    fi
fi
export XDG_RUNTIME_DIR

# Unlock gnome-keyring-daemon
if test -n "$DESKTOP_SESSION" ; then
    SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/keyring"

    export SSH_AUTH_SOCK
fi

gnome-keyring is working fine, I have sockets in XDG_RUNTIME_DIR/keyring.

Code:
ps x
[...]
1497  -  S    0:00,03 /usr/local/bin/gnome-keyring-daemon --start --components=secrets
1498  -  I    0:00,01 /usr/local/bin/gnome-keyring-daemon --start --components=pkcs11
1499  -  I    0:00,03 /usr/local/bin/gnome-keyring-daemon --start --components=ssh
[...]
 
Last edited:
To be honest I'm a little confused now. Gnome works fine, and the keyring-daemon seems to work in the desktop environment. It's just that x11/gdm freezes after login. All ports listed above are installed :) (I'm not sure if this thread is the correct to discuss the login issue, but I found the bug-link mentioned above)
 
I see, me running 42 but switched to xfce4 2 days ago.. unfortunately
Anyways, xfce is faster but I am missing gnome
I had been holding back on patches until I had finished a project. I had experienced problems updating GNOME a few months ago and rolled back to a working snapshot. I later found when I was ready to update again that GNOME3 in 14.3p5 doesn't work with GDM. So I tried KDE instead. Weirdly, GNOME did start from SDDM but I had already decided that I would not be using GNOME again. KDE worked until my laptop suspended for inactivity, then I realised that a reboot was necessary everytime KDE suspended. After about five reboots, I deleted KDE and installed XFCE4. It's fast, a bit ugly, but it mostly works. Suspend doesn't work properly but XFCE4 shows a dialog box instead of freezing the session which I can live with.

It would be nice if there was a simple package to install the Zorin theme and icons. I might try that, but at the moment GhostBSD Gershwin looks interesting. I spent 14 years using GNOME3 and I do miss it, but not enough to have to use SystemD.
 
stead. Weirdly, GNOME did start from SDDM but I had already decided that I would not be using GNOME again. KDE worked until my laptop suspended for inactivity, then I realised that a reboot was necessary everytime KDE suspended. After about five reboots, I deleted KDE and installed XFCE4. It's fast, a bit ugly, but it mostly works. Suspend doesn't work properly but XFCE4 shows a dialog box instead of freezing the session which I can live with.
I actually have the whole 'suspend' feature turned off. I do allow the screen to be turned off under Xorg. Then KDE works fine - under Xorg. Under Wayland, there's still power management issues that are dogging me, but I think the issue is with Display Management, rather than anything else.
 
I actually have the whole 'suspend' feature turned off. I do allow the screen to be turned off under Xorg. Then KDE works fine - under Xorg. Under Wayland, there's still power management issues that are dogging me, but I think the issue is with Display Management, rather than anything else.
Same. I've yet to try 6.5 to check for improvements, will do probably later today.
 
Same. I've yet to try 6.5 to check for improvements, will do probably later today.
It's in the official Ports Collection now, but the thread mentions some patches that probably are NOT in the Ports Collection or even in the Area 51 repo... those patches help with session management, but not Display Management / greeter issues.
 
Yup. Artix Linux team just straight up removed Gnome from their repos.
At least that frees up the name (i.e to avoid naming collisions) with reinstating Gnome 2. It had its own issues but it was the last proper DE that FOSS ever had. It would be quite a powerful statement against Red Hat if people reused the original. Basically shunning Gtk3, systemd, Wayland entirely.
 
Back
Top