On 19/11/2025 01:26, Peter Milesson wrote:
When the user profile is locally stored, the LXDE desktop is displayed as it should, even when the user is authenticated with Kerberos.

It is already irrelevant, but I suggested to carefully *compare* systemd user session logs for local vs. CIFS directory to see if some units are missed in the latter case. It is not the same as just success vs. failure test result.

unix_listener_tmp: bind "/home/miles/.ssh/agent/ s.p5yeigkbUn.agent.LNVFOjW41c": Operation not supported
main: Couldn't prepare agent socket

There are no files created in the ~/.ssh/agent directory with the newer kernel.

You may disable starting of ssh agent as a part of X11 session. There are systemd units that may create sockets in /run/user (XDG_RUNTIME_DIR). However synchronizing of environment of the main process of X11 session might be necessary.

     systemctl --user list-sockets '*ssh*'

(GUI session is not necessary, likely it should be registered e.g. for ssh logins as well).

Maybe I should report it as a bug?

I am in doubts if failure to start ssh-agent should be a fatal error for whole session. So I would consider a bug for that script. Perhaps there are reasonable objections to my point of view.

Reply via email to