I have found on latest Tumbleweed (20260527) that invoking sudo on remote SSH session is broken (timeouts), if there is same user logged in GUI session.
How to reproduce:
- Login to GUI (tested with Xfce/X11)
- Lock you GUI session with Win-L
- login remotely via SSH to same machine
- run any command on SSH session that invokes
run0, for example:
sudo id
It will freeze, because it pops up Authentication prompt on locked GUI session(!) - so it is invisible because GUI is locked. So after a while we get just error on SSH session with sudo command:
Failed to start transient service unit: Connection timed out
It can be also found that run0 was invoked on sudo:
$ ps axf
...
2702 pts/1 Ss 0:00 | \_ -bash
2721 pts/1 S+ 0:00 | | \_ run0 --background= -- id
2723 pts/1 Sl+ 0:00 | | \_ /usr/bin/pkttyagent --notify-fd 6 --fallback
2728 pts/1 S+ 0:00 | | \_ /usr/bin/systemd-tty-ask-password-agent --watch
Another scenario: when you keep GUI session unlocked, entering sudo something on SSH session will trigger Authentication prompt on GUI Session which is wrong!
Anybody else encountering this problem?