On Sat, Dec 25, 2021 at 12:58 AM Carlos E. R.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I see this in a small laptop upgraded this afternoon to 15.3. I open an ssh session to it, as root, then run:
Legolas:~ # meld /etc/ssh/sshd_config.rpmnew /etc/ssh/sshd_config & [1] 1864 Legolas:~ # [1]+ Done meld /etc/ssh/sshd_config.rpmnew /etc/ssh/sshd_config Legolas:~ #
The program takes 20 seconds to appear, there is a timeout in the log
There are several gaps between messages in log you quoted, which one specifically do you mean?
<3.6> 2021-12-24 22:42:07 Legolas dbus-daemon 1029 - - [session uid=0 pid=1029] Activating via systemd: service name='org.freedesktop.portal.Desktop' unit='xdg-desktop-portal.service' requested by ':1.38' (uid=0 pid=1864 comm="/usr/bin/python3 /usr/bin/meld /etc/ssh/sshd_confi")
That is not going to work. You connect via ssh and likely forward X11 connection from remote system to local display. But your login session on the remote system has its own session D-Bus instance which knows nothing about the desktop environment on your client. So your GUI application attempts to invoke services on your client desktop via connection to server D-Bus. To transparently start applications via ssh X11 forwarding one would need to also forward D-Bus connection. While it is possible to forward D-Bus socket (I tested that it works) security implications are not clear (D-Bus can no longer verify the user that makes the request. All requests will appear to come from the client ssh process).
<3.6> 2021-12-24 22:42:07 Legolas systemd 542 - - Starting Portal service... <3.6> 2021-12-24 22:42:07 Legolas dbus-daemon 1029 - - [session uid=0 pid=1029] Activating via systemd: service name='org.freedesktop.impl.portal.desktop.gtk' unit='xdg-desktop-portal-gtk.service' requested by ':1.39' (uid=0 pid=1870 comm="/usr/lib/xdg-desktop-portal ") <3.6> 2021-12-24 22:42:07 Legolas systemd 542 - - Starting Portal service (GTK+/GNOME implementation)... <3.6> 2021-12-24 22:42:07 Legolas xdg-desktop-portal-gtk 1891 - - Unable to init server: Could not connect: Connection refused <1.4> 2021-12-24 22:42:07 Legolas xdg-desktop-por 1891 - - cannot open display: <3.5> 2021-12-24 22:42:07 Legolas systemd 542 - - xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE <3.4> 2021-12-24 22:42:07 Legolas systemd 542 - - xdg-desktop-portal-gtk.service: Failed with result 'exit-code'. <3.3> 2021-12-24 22:42:07 Legolas systemd 542 - - Failed to start Portal service (GTK+/GNOME implementation). <3.6> 2021-12-24 22:42:33 Legolas dbus-daemon 1199 - - [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.133' (uid=0 pid=1864 comm="/usr/bin/python3 /usr/bin/meld /etc/ssh/sshd_confi") <3.6> 2021-12-24 22:42:33 Legolas systemd 1 - - Starting Hostname Service...
(program closed about here)
<3.6> 2021-12-24 22:42:34 Legolas dbus-daemon 1199 - - [system] Successfully activated service 'org.freedesktop.hostname1' <3.6> 2021-12-24 22:42:34 Legolas systemd 1 - - Started Hostname Service. <1.4> 2021-12-24 22:42:57 Legolas xdg-desktop-por 1870 - - Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: Timeout was reached <3.6> 2021-12-24 22:43:04 Legolas systemd 1 - - systemd-hostnamed.service: Succeeded. <1.4> 2021-12-24 22:43:22 Legolas xdg-desktop-por 1870 - - Failed to create file chooser proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: Timeout was reached <1.4> 2021-12-24 22:43:22 Legolas xdg-desktop-por 1870 - - No skeleton to export <3.4> 2021-12-24 22:43:37 Legolas systemd 542 - - xdg-desktop-portal.service: start operation timed out. Terminating. <3.4> 2021-12-24 22:43:37 Legolas systemd 542 - - xdg-desktop-portal.service: Failed with result 'timeout'. <3.3> 2021-12-24 22:43:37 Legolas systemd 542 - - Failed to start Portal service. <4.5> 2021-12-24 22:44:07 Legolas dbus-daemon 1029 - - [session uid=0 pid=1029] Failed to activate service 'org.freedesktop.portal.Desktop': timed out (service_start_timeout=120000ms) <4.5> 2021-12-24 22:44:07 Legolas dbus-daemon 1029 - - [session uid=0 pid=1029] Failed to activate service 'org.freedesktop.impl.portal.desktop.gtk': timed out (service_start_timeout=120000ms) <3.6> 2021-12-24 22:49:56 Legolas smartd 1245 - - Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 72 to 73
- -- Cheers
Carlos E. R. (from 15.2 x86_64 at Telcontar)
-----BEGIN PGP SIGNATURE-----
iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCYcZCPhwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVnboAnjdWssB5KF1TFiBYArC3 5vO7zSvIAKCYIXeJuzjiFkpKWXH8/pzP/gACyA== =wFK5 -----END PGP SIGNATURE-----