Package: dbus-user-session
Version: 1.12.20-2
Severity: important

(not sure about the right package)

I first noticed that when I connect by ssh, evince is very slow to
start. A "strace -f -ttt evince" shows a 15-second timeout followed
by a 10-second timeout, thus a 25-second delay, before the window
appears.

596523 1661956157.508741 execve("/usr/bin/evince", ["evince"], 0x7ffd33032d40 
/* 146 vars */) = 0
[...]
596525 1661956158.116493 write(7, "\1\0\0\0\0\0\0\0", 8) = 8
596525 1661956158.116552 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}], 
2, -1) = 1 ([{fd=7, revents=POLLIN}])
596525 1661956158.116614 read(7, "\1\0\0\0\0\0\0\0", 16) = 8
596525 1661956158.116670 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}], 
2, -1 <unfinished ...>
596527 1661956158.607152 <... futex resumed>) = -1 ETIMEDOUT (Connection timed 
out)
596527 1661956158.607298 futex(0x564acebbcb20, FUTEX_WAIT_PRIVATE, 0, 
{tv_sec=14, tv_nsec=999998717}) = -1 ETIMEDOUT (Connection timed out)
596527 1661956173.607633 madvise(0x7f8ad8d72000, 8368128, MADV_DONTNEED) = 0
596527 1661956173.608448 exit(0)        = ?
596527 1661956173.608612 +++ exited with 0 +++
596523 1661956183.139691 <... poll resumed>) = 0 (Timeout)
596523 1661956183.139905 write(8, "\1\0\0\0\0\0\0\0", 8) = 8

A comment at
https://unix.stackexchange.com/questions/676410/evince-is-slow-to-open
based on information from https://bbs.archlinux.org/viewtopic.php?id=224787
(ssh is actually not involved at these URLs) says to run

  dbus-update-activation-environment --systemd \
    DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY

and it initially worked. But when I retried after killing all my
processes, I could see that this does not always solve the issue.
Worse, in my latest try, this command hanged. Perhaps there's
more to do...

According to https://bbs.archlinux.org/viewtopic.php?id=224787
various GNOME applications are affected, so I tried with nautilus
(which I had never used) as it is mentioned there, and I could
also noticed this 25-second delay before the window appears.

-- System Information:
Debian Release: 11.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-15-amd64 (SMP w/28 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dbus-user-session depends on:
ii  dbus            1.12.20-2
ii  libpam-systemd  247.3-7
ii  systemd         247.3-7

Versions of packages dbus-user-session recommends:
ii  systemd-sysv  247.3-7

dbus-user-session suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to