You are not logged in.

#1 2018-11-03 14:15:09

IlVerZ
Member
Registered: 2011-12-23
Posts: 28

[SOLVED] A notification stuck any program that runs it

Good morning,
i have a problem with my Arch+XFCE.
Since few days when any program runs a notification the program itself freeze for ~50 seconds.

time notify-send -t 2000 -u low "Apertura File Manager!" -i ~/Programmi/Desktop/Icone/file-manager.png

real	0m50,068s
user	0m0,014s
sys	0m0,007s

I tried yo downgrade xfce4-notifyd but it didn't work.

Some one has the same issue? Could you help me?

Last edited by IlVerZ (2018-11-04 02:07:26)

Offline

#2 2018-11-03 14:16:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,819

Re: [SOLVED] A notification stuck any program that runs it

dbus has a 25 second timeout, so your session bus seems to be not running?

Offline

#3 2018-11-03 14:34:29

IlVerZ
Member
Registered: 2011-12-23
Posts: 28

Re: [SOLVED] A notification stuck any program that runs it

Thank you seth,
I think that dbus is working properly:

● dbus.service - D-Bus System Message Bus
   Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
   Active: active (running) since Sat 2018-11-03 14:32:20 CET; 1h 0min ago
     Docs: man:dbus-daemon(1)
 Main PID: 492 (dbus-daemon)
    Tasks: 1 (limit: 4915)
   Memory: 6.6M
   CGroup: /system.slice/dbus.service
           └─492 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only

Offline

#4 2018-11-03 15:13:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,819

Re: [SOLVED] A notification stuck any program that runs it

That's the system bus, what's the output of

dbus-send --session  --dest=org.freedesktop.DBus  --type=method_call  --print-reply  /org/freedesktop/DBus  org.freedesktop.DBus.ListNames
loginctl session-status
ps aux | grep dbus

Offline

#5 2018-11-03 17:43:29

IlVerZ
Member
Registered: 2011-12-23
Posts: 28

Re: [SOLVED] A notification stuck any program that runs it

Oh sorry,

[verz@verz ~]$ dbus-send --session  --dest=org.freedesktop.DBus  --type=method_call  --print-reply  /org/freedesktop/DBus  org.freedesktop.DBus.ListNames
method return time=1541266911.199323 sender=org.freedesktop.DBus -> destination=:1.98 serial=3 reply_serial=2
   array [
      string "org.freedesktop.DBus"
      string "org.freedesktop.PowerManagement"
      string ":1.7"
      string "org.freedesktop.network-manager-applet"
      string ":1.8"
      string ":1.9"
      string "org.freedesktop.systemd1"
      string "org.xfce.Xfconf"
      string "org.gtk.vfs.Daemon"
      string "org.pulseaudio.Server"
      string "org.xfce.Panel"
      string ":1.82"
      string ":1.60"
      string ":1.83"
      string ":1.61"
      string "org.gnome.GConf"
      string ":1.84"
      string ":1.62"
      string ":1.40"
      string ":1.85"
      string "org.gtk.vfs.UDisks2VolumeMonitor"
      string ":1.63"
      string ":1.41"
      string "org.a11y.Bus"
      string ":1.86"
      string ":1.64"
      string ":1.20"
      string "net.launchpad.ulauncher"
      string ":1.65"
      string ":1.43"
      string ":1.21"
      string ":1.88"
      string ":1.66"
      string ":1.22"
      string ":1.89"
      string ":1.67"
      string ":1.45"
      string ":1.23"
      string ":1.46"
      string ":1.24"
      string ":1.69"
      string ":1.47"
      string "org.xfce.xfdesktop"
      string ":1.25"
      string ":1.48"
      string ":1.26"
      string ":1.49"
      string "org.xfce.PowerManager"
      string ":1.27"
      string "org.xfce.FileManager"
      string ":1.28"
      string "org.bluez.obex"
      string ":1.29"
      string "org.kde.kglobalaccel"
      string "org.gtk.vfs.mountpoint_1019"
      string "org.PulseAudio1"
      string "org.xfce.SessionManager"
      string ":1.90"
      string ":1.91"
      string ":1.92"
      string ":1.70"
      string ":1.93"
      string ":1.71"
      string "org.gtk.vfs.mountpoint_983"
      string ":1.94"
      string ":1.72"
      string "org.blueman.Applet"
      string ":1.50"
      string "org.xfce.Thunar"
      string ":1.95"
      string ":1.51"
      string ":1.96"
      string ":1.52"
      string ":1.30"
      string ":1.97"
      string ":1.53"
      string ":1.31"
      string ":1.98"
      string "org.cinnamon.ScreenSaver"
      string ":1.76"
      string "org.xfce.clipman"
      string ":1.54"
      string ":1.10"
      string ":1.32"
      string "org.gtk.vfs.mountpoint_dnssd"
      string ":1.55"
      string ":1.11"
      string ":1.33"
      string ":1.78"
      string ":1.56"
      string ":1.12"
      string ":1.34"
      string ":1.79"
      string ":1.57"
      string ":1.0"
      string ":1.13"
      string ":1.35"
      string ":1.58"
      string ":1.36"
      string ":1.59"
      string "org.xfce.SettingsDaemon"
      string ":1.15"
      string ":1.37"
      string "org.gtk.vfs.MTPVolumeMonitor"
      string ":1.38"
      string ":1.3"
      string ":1.16"
      string "org.kde.yakuake"
      string ":1.39"
      string ":1.4"
      string ":1.17"
      string ":1.5"
      string ":1.18"
      string ":1.6"
      string ":1.19"
   ]
[verz@verz ~]$ loginctl session-status
3 - verz (1000)
           Since: Sat 2018-11-03 18:41:15 CET; 51s ago
          Leader: 742 (lightdm)
            Seat: seat0; vc7
         Display: :0
         Service: lightdm; type x11; class user
         Desktop: xfce
           State: active
            Unit: session-3.scope
                  ├─ 742 lightdm --session-child 12 19
                  ├─ 758 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
                  ├─ 770 xfce4-session
                  ├─ 777 /usr/bin/ssh-agent -s
                  ├─ 781 xfwm4 --display :0.0 --sm-client-id 2c06bd3af-9013-4fd2-969d-e8e55e64c26c
                  ├─ 797 Thunar --sm-client-id 29e9bc803-c3a7-4b9e-8d16-a8735becb6dc --daemon
                  ├─ 814 xfce4-panel --display :0.0 --sm-client-id 250e946cf-c1d3-48d3-bcf3-6959180c609f
                  ├─ 816 xfsettingsd --display :0.0 --sm-client-id 28983fd63-0e01-4314-a935-b5cdd56176a5
                  ├─ 818 xfdesktop --display :0.0 --sm-client-id 28d893730-92e0-4255-be74-ea5e403c264c
                  ├─ 836 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4powermanager.so 2 10485796 power-manage>
                  ├─ 838 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libfsguard.so 17 10485797 fsguard Controllore d>
                  ├─ 839 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libmount.so 15 10485798 xfce4-mount-plugin Mont>
                  ├─ 840 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libdiskperf.so 11 10485799 diskperf Osservatore>
                  ├─ 841 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libdiskperf.so 19 10485800 diskperf Osservatore>
                  ├─ 842 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libdiskperf.so 13 10485801 diskperf Osservatore>
                  ├─ 844 /usr/lib/xfce4/panel/wrapper-1.0 /usr/lib/xfce4/panel/plugins/libweather.so 3 10485802 weather Aggiornamento >
                  ├─ 845 /usr/lib/xfce4/panel/wrapper-1.0 /usr/lib/xfce4/panel/plugins/libweather.so 30 10485803 weather Aggiornamento>
                  ├─ 846 xfce4-power-manager --restart --sm-client-id 23d8574cf-4796-4b7c-8548-69e9086c9262
                  ├─ 847 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libnetload.so 14 10485804 netload Monitor del c>
                  ├─ 848 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libsystemload.so 29 10485805 systemload Indicat>
                  ├─ 850 python3 /usr/bin/libinput-gestures
                  ├─ 859 /usr/lib/xfce4/panel/wrapper-1.0 /usr/lib/xfce4/panel/plugins/libcpugraph.so 22 10485806 cpugraph Grafico CPU>
                  ├─ 865 yakuake
                  ├─ 876 /usr/bin/tilda
                  ├─ 877 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libcpufreq.so 8 10485807 cpufreq Monitor della >
                  ├─ 878 python /usr/bin/blueman-applet
                  ├─ 879 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4-sensors-plugin.so 10 10485808 xfce4-se>
                  ├─ 880 sh /home/verz/Programmi/Desktop/Conky.sh
                  ├─ 884 megasync
                  ├─ 889 xbindkeys -p
                  ├─ 890 python3 /usr/bin/redshift-gtk
                  ├─ 891 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4-sensors-plugin.so 26 10485809 xfce4-se>
                  ├─ 895 /usr/bin/python2 /usr/bin/ulauncher --hide-window --hide-window --hide-window
                  ├─ 899 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
                  ├─ 900 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4-sensors-plugin.so 1 10485810 xfce4-sen>
                  ├─ 904 /usr/lib/xfce4/panel/wrapper-1.0 /usr/lib/xfce4/panel/plugins/libsystray.so 6 10485811 systray Area di notifi>
                  ├─ 906 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libclipman.so 16 10485812 xfce4-clipman-plugin >
                  ├─ 908 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libpulseaudio-plugin.so 9 10485813 pulseaudio P>
                  ├─ 911 nm-applet
                  ├─ 980 /usr/bin/redshift -v
                  ├─1007 /usr/bin/bash
                  ├─1016 libinput-debug-events --device /dev/input/event10
                  ├─1049 /usr/bin/python2 /home/verz/.cache/ulauncher_cache/extensions/com.github.ulauncher.ulauncher-timer/main.py
                  ├─1051 /usr/bin/python2 /home/verz/.cache/ulauncher_cache/extensions/com.github.jetbug123.ulauncher-ssh/main.py
                  ├─1053 /usr/bin/python2 /home/verz/.cache/ulauncher_cache/extensions/com.github.james-dumas.ulauncher-run/main.py
                  ├─1064 /bin/bash
                  ├─1112 conky -c /home/verz/Programmi/Desktop/.conkyrc
                  ├─1163 sleep 60
                  ├─1177 /bin/bash /home/verz/Programmi/Desktop/Desktop-2-Browser.sh
                  ├─1198 firefox-nightly-it
                  ├─1199 notify-send -t 1800 -u low Firefox! -i /home/verz/Programmi/Desktop/Icone/Firefox.png
                  ├─1304 /opt/firefox-nightly-it/firefox-bin -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 208104 -sc>
                  ├─1371 /opt/firefox-nightly-it/firefox-bin -contentproc -childID 2 -isForBrowser -prefsLen 81 -prefMapSize 208104 -s>
                  ├─1389 /opt/firefox-nightly-it/firefox-bin -contentproc -childID 3 -isForBrowser -prefsLen 175 -prefMapSize 208104 ->
                  ├─1521 /opt/firefox-nightly-it/firefox-bin -contentproc -childID 4 -isForBrowser -prefsLen 6234 -prefMapSize 208104 >
                  ├─2131 /opt/firefox-nightly-it/firefox-bin -contentproc -childID 5 -isForBrowser -prefsLen 7070 -prefMapSize 208104 >
                  ├─2288 loginctl session-status
                  └─2289 less

nov 03 18:41:18 verz yakuake[865]: libpng warning: iCCP: known incorrect sRGB profile
nov 03 18:41:18 verz yakuake[865]: libpng warning: iCCP: known incorrect sRGB profile
nov 03 18:41:18 verz yakuake[865]: libpng warning: iCCP: known incorrect sRGB profile
nov 03 18:41:18 verz yakuake[865]: libpng warning: iCCP: known incorrect sRGB profile
nov 03 18:41:18 verz yakuake[865]: libpng warning: iCCP: known incorrect sRGB profile
nov 03 18:41:18 verz yakuake[865]: libpng warning: iCCP: known incorrect sRGB profile
nov 03 18:41:18 verz yakuake[865]: kf5.kservice.services: The desktop entry file "ServiceMenus/26866-pdfnup.desktop" has Type= "Applic>
nov 03 18:41:18 verz yakuake[865]: kf5.kservice.sycoca: Invalid Service :  "ServiceMenus/26866-pdfnup.desktop"
nov 03 18:41:18 verz yakuake[865]: kf5.kservice.sycoca: Parse error in  "/home/verz/.config/menus/applications-merged/xdg-desktop-menu>
nov 03 18:41:18 verz yakuake[865]: QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.72'
[verz@verz ~]$ ps aux | grep dbus
dbus       494  0.5  0.0  11692  4956 ?        Ss   18:40   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
verz       763  0.1  0.0  11120  4848 ?        Ss   18:41   0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
verz       829  0.0  0.0  10368  3812 ?        S    18:41   0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
nobody    1089  0.0  0.0  32660  4544 ?        S    18:41   0:00 /usr/bin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/NetworkManager/dnsmasq.pid --listen-address=127.0.0.1 --cache-size=400 --clear-on-reload --conf-file=/dev/null --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
verz      2451  0.0  0.0   8188  2356 pts/1    S+   18:42   0:00 grep dbus
[verz@verz ~]$ 

Offline

#6 2018-11-03 20:34:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,819

Re: [SOLVED] A notification stuck any program that runs it

So the session bus is up, but nothing provides org.freedesktop.Notifications, ie. there's no notification server and either no dbus activated service or the service fails to run.
What's supposed to provide the notification service (some xfce applet?) and in case the answer is "no idea", try eg. https://www.archlinux.org/packages/comm … _64/dunst/

Offline

#7 2018-11-04 02:07:07

IlVerZ
Member
Registered: 2011-12-23
Posts: 28

Re: [SOLVED] A notification stuck any program that runs it

I solved the problem, thank you so much seth.

I manually launch the notification server of XFCE.
https://wiki.archlinux.org/index.php/De … on_servers

Thank you again.

Offline

Board footer

Powered by FluxBB