=== acidwarrior is now known as BOUNCER === brainwash_ is now known as brainwash === acidwarrior is now known as BOUNCER [11:42] On Xubuntu 18.04 AMD64, fully up-to-date, a strange problem has appeared recently. [11:43] Special keys don't work: suspend, power, volume +/-/mute, probably others. [11:44] xfce4-notifyd-config says "the notification service is not running". [11:45] can you start it manually? xfce4-notifyd [11:45] also, a reboot did not fix your problem? [11:45] Reboot did not fix. [11:45] If I suspend the laptop, then resume and unlock session, then I see the "logout/supend/shutdown" dialog appear. I have to dismiss it several times, probably as many times as I pressed the suspend key. [11:46] Suspending the laptop works using the menu, only the key seems ignored but somehow remembered for a long time. [11:46] If I manually run /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd things work again. [11:46] like it's stuck in a queue [11:46] Yes. [11:46] Let me check the logout/login again. [11:46] best to check ~/.xsession-errors I'd think [11:47] ok [11:48] this command will give you some debug output [11:48] XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon [11:48] lot of noise in ~/.xsession-errors . I'll flush it and login again. [11:48] Will also try your suggestion. [11:49] and of course there is the system log also [11:49] worth to check if there is something related to the problem [11:53] xfsettingsd logs, but nothing related. [11:53] Interestingly, currently suspend and power buttons work (they open the confirmation dialog, as expected). But volume keys don't work. [11:53] Neither do xf86play/pause/etc [11:57] st-gourichon-fid: do you have the pulseaudio panel plugin added to your panel? [11:58] Yes, why? [11:58] that one manages the media keys [11:58] As soon as I run /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd manually, everything is fixed. [11:59] that is the notification daemon though [11:59] for those notification bubbles [11:59] so, anything in ~/.xsession-errors ? [12:00] (wrapper-2.0:15193): pulseaudio-plugin-WARNING **: 13:56:23.260: Error while sending notification : Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached [12:00] gmusicbrowser got hung [12:00] *** unhandled exception in callback: [12:00] *** Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached at /usr/bin/../share/gmusicbrowser/plugins/notify.pm line 85. [12:00] *** ignoring at /usr/bin/gmusicbrowser line 1671. [12:00] gmusicbrowser worked again as soon as I ran manually /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd [12:00] like the rest [12:01] please use a pastebin service for that [12:01] see /topic [12:01] Oh, sorry. I thougt 3 lines was under the annoyance threshold. [12:02] on #vlc the threshold is 2 lines... [12:02] regarding the log.. uhm [12:03] I've been using Linux for 20 years, often had several desktops available on my machine. [12:03] several desktop environments [12:03] I installed a fresh Xubuntu 18.04 when it was release. What I did recently is install gnome then KDE packages. [12:04] so, the keys work, but the assigned actions fail due to gmusicbrowser crashing [12:04] Usually there's no interference. I think this is the cause because it appeared at that time. [12:04] No, gmusicbrowser is victim like the others, not cuplrit. [12:04] All affected programs complain about notifications not going through. [12:04] that should not have a severe effect though [12:05] gmusicbrowser is still alive like the others, and works well as soon as I run /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd [12:05] xfce4-notifyd should be activated via dbus on demand [12:06] that seems to fail [12:06] Yes, I believe it's what happens. [12:06] I already debugged key issue in the past (xfce4-volumed at the time) so see a little how it works. [12:07] Is there a command-line client for paste.ubuntu.com ? [12:07] pipe to pastebinit [12:10] Hmm, my apt-file is broken? It returns no results, that's why I did not see pastebinit. [12:10] apt-file find bin.*paste [12:11] http://paste.ubuntu.com/p/kqbNf4hZF5/ [12:11] xfsettingsd does not say much after initial blurb [12:14] >GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited [12:14] but you are able to manually start notifyd [12:15] https://unix.stackexchange.com/questions/294510/xfce-notifications-not-working [12:19] * st-gourichon-fid reads [12:20] mmh [12:20] maybe it is supposed to be started as system user service [12:20] No /etc/X11/xinit/xinitrc.d/50-systemd-user.sh on my system [12:21] that's probably archlinux specific ^ [12:21] check this: systemctl --user status xfce4-notifyd [12:21] I had an "interesting" variant [12:22] I only have 18.10 running here, and xfce4-notifyd is started on login via systemd [12:22] probably the same in 18.04 [12:23] not on login, but on demand I meant [12:24] After logout/login I had to run notifyd manually again from tty2 because my whole desktop got stuck after I tried to run gmusicbrowser from the pulseaudio panel plugin. [12:24] I waited for more than a minute and since it stayed stuck I logged in on tty2 and typed this: export XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 ; export DISPLAY=:0 ; /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd [12:25] what does "systemctl --user status xfce4-notifyd" return after login and pressing media keys or running "notify-send test"? [12:25] Okay, I'll logout / login and try [12:25] now it says Active: inactive (dead) [12:25] Loaded: loaded (/usr/lib/systemd/user/xfce4-notifyd.service; static; vendor preset: enabled) [12:25] right [12:25] I logout and come back. [12:29] systemctl --user status xfce4-notifyd always says http://paste.ubuntu.com/p/wjCRggshd8/ [12:29] I notice that on login some panel items take time to load. [12:29] Also, Ctrl-Alt-T to open a terminal is not affected [12:30] so since the panel was unresponsive I opened hexchat via a terminal. [12:30] mmh [12:30] Now I am back to the buggy state since I have not launched notifyd manually. [12:31] I grep'ed for notifyd in /etc [12:31] I guess this is unrelated: xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml [12:32] probably [12:32] now we are that point at which one should test with a second user account [12:32] to verify the issue [12:33] Ah, good idea. [12:33] I just ran gmusicbrowser from command line, it does not appear (waiting for the panel to respond, I guess). [12:33] Ah, it finally appears after about 30 seconds. [12:33] I create an account and open a session. [12:36] The user I just created is affected by the problem. [12:38] cat /usr/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service [12:38] http://paste.ubuntu.com/p/HHfb7C3KHy/ [12:41] dpkg -L xfce4-notifyd | xargs grep -i notifyd 2>/dev/null | egrep -v '(LC_|icons|themes)' [12:41] https://paste.ubuntu.com/p/M2NwnbNBkH/ [12:45] st-gourichon-fid: I think something in session management is not working properly [12:45] I'm looking at how systemd runs services [12:45] xfce4-session/logind/dbus [12:48] did you check journalctl yet? [12:48] * st-gourichon-fid looks at journalctl output [12:48] I suggested to check system logs [12:49] other than that, you would have to check the apt logs, and see what has been updated/installed recently [12:50] Well, installing Gnome and KDE implies a zillion packaged... :-/ [12:50] packages [12:50] indeed [12:51] There's an expedient to just uninstall everything KDE related, but I have to try Wayland, and so far I can't use my beloved XFCE desktop, with wayland. [12:51] Even swaywm is not packaged in Xubuntu 18.04. [12:51] obviously not [12:51] it's still alpha/beta [12:51] (and apparently not just wget/compile/run) [12:53] So, I'd like to track this and publish a proper fix, so that KDE and XFCE can exist on the same X/Ubuntu 18.04 without interference. (KDE being the cause is not formally proven, just a hunch.) [12:53] XFCE is so much more minimal and cosy but I digress. [12:53] let's see if there is any hints in journalctl then [12:54] I'm too old and still more familiar with /var/log ... any hints at some journalctl command line options to focus quickly. [12:54] ? [12:55] I'm looking at journalctl at the time my brand new user logs in. [12:55] page down key? [12:55] ;-) [12:55] août 26 14:35:31 n551jk dbus-daemon[1641]: [session uid=1005 pid=1641] Activating via systemd: service name='org.bluez.obex' unit='dbus-org.bluez.obex.service' requested by ':1.41' (uid=1005 pid=1835 comm="/usr/bin/python3 /usr/bin/blueman-applet " label="unconfined") [12:55] So, systems does activates other services. [12:55] s/systems/systemd/ [12:57] systemd startd a number of services, the last one is août 26 14:35:33 n551jk dbus-daemon[1641]: [session uid=1005 pid=1641] Successfully activated service 'org.gtk.vfs.Metadata' [12:58] no errors in the log? [12:58] any errors which could be related to the problem [13:03] No sign of notifyd. [13:04] I can paste the part at user login time if you want. [13:07] maybe [13:07] http://paste.ubuntu.com/p/jg5jfFNbrp/ [13:07] The user is named "sg-nonotify" [13:08] without any hint it's pretty hard to pinpoint the culprit :/ [13:08] further hint I mean [13:09] Hmhm. [13:13] what is added to the log when you trigger a notification? [14:19] Have to be away for a moment. Have not seen anything yet. [15:24] I have a few downloads stored on my HDD, I've created a folder to download to, I have created another fold for something on the HDD that's in the dir but it's asking to copy/paste into it. is this normal? [15:25] ahhh just cut and it's fine now. [17:06] Back