/srv/irclogs.ubuntu.com/2018/08/26/#xubuntu.txt

=== acidwarrior is now known as BOUNCER
=== brainwash_ is now known as brainwash
=== acidwarrior is now known as BOUNCER
st-gourichon-fidOn Xubuntu 18.04 AMD64, fully up-to-date, a strange problem has appeared recently.11:42
st-gourichon-fidSpecial keys don't work: suspend, power, volume +/-/mute, probably others.11:43
st-gourichon-fidxfce4-notifyd-config says "the notification service is not running".11:44
brainwashcan you start it manually? xfce4-notifyd11:45
brainwashalso, a reboot did not fix your problem?11:45
st-gourichon-fidReboot did not fix.11:45
st-gourichon-fidIf 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:45
st-gourichon-fidSuspending the laptop works using the menu, only the key seems ignored but somehow remembered for a long time.11:46
st-gourichon-fidIf I manually run /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd things work again.11:46
brainwashlike it's stuck in a queue11:46
st-gourichon-fidYes.11:46
st-gourichon-fidLet me check the logout/login again.11:46
brainwashbest to check ~/.xsession-errors I'd think11:46
st-gourichon-fidok11:47
brainwashthis command will give you some debug output11:48
brainwashXFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon11:48
st-gourichon-fidlot of noise in ~/.xsession-errors . I'll flush it and login again.11:48
st-gourichon-fidWill also try your suggestion.11:48
brainwashand of course there is the system log also11:49
brainwashworth to check if there is something related to the problem11:49
st-gourichon-fidxfsettingsd logs, but nothing related.11:53
st-gourichon-fidInterestingly, currently suspend and power buttons work (they open the confirmation dialog, as expected). But volume keys don't work.11:53
st-gourichon-fidNeither do xf86play/pause/etc11:53
brainwashst-gourichon-fid: do you have the pulseaudio panel plugin added to your panel?11:57
st-gourichon-fidYes, why?11:58
brainwashthat one manages the media keys11:58
st-gourichon-fidAs soon as I run  /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd manually, everything is fixed.11:58
brainwashthat is the notification daemon though11:59
brainwashfor those notification bubbles11:59
brainwashso, anything in ~/.xsession-errors ?11:59
st-gourichon-fid(wrapper-2.0:15193): pulseaudio-plugin-WARNING **: 13:56:23.260: Error while sending notification : Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached12:00
st-gourichon-fidgmusicbrowser got hung12:00
st-gourichon-fid*** unhandled exception in callback:12:00
st-gourichon-fid***   Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached at /usr/bin/../share/gmusicbrowser/plugins/notify.pm line 85.12:00
st-gourichon-fid***  ignoring at /usr/bin/gmusicbrowser line 1671.12:00
st-gourichon-fidgmusicbrowser worked again as soon as I ran manually  /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd12:00
st-gourichon-fidlike the rest12:00
brainwashplease use a pastebin service for that12:01
brainwashsee /topic12:01
st-gourichon-fidOh, sorry. I thougt 3 lines was under the annoyance threshold.12:01
st-gourichon-fidon #vlc the threshold is 2 lines...12:02
brainwashregarding the log.. uhm12:02
st-gourichon-fidI've been using Linux for 20 years, often had several desktops available on my machine.12:03
st-gourichon-fidseveral desktop environments12:03
st-gourichon-fidI installed a fresh Xubuntu 18.04 when it was release. What I did recently is install gnome then KDE packages.12:03
brainwashso, the keys work, but the assigned actions fail due to gmusicbrowser crashing12:04
st-gourichon-fidUsually there's no interference. I think this is the cause because it appeared at that time.12:04
st-gourichon-fidNo, gmusicbrowser is victim like the others, not cuplrit.12:04
st-gourichon-fidAll affected programs complain about notifications not going through.12:04
brainwashthat should not have a severe effect though12:04
st-gourichon-fidgmusicbrowser is still alive like the others, and works well as soon as I run  /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd12:05
brainwashxfce4-notifyd should be activated via dbus on demand12:05
brainwashthat seems to fail12:06
st-gourichon-fidYes, I believe it's what happens.12:06
st-gourichon-fidI already debugged key issue in the past (xfce4-volumed at the time) so see a little how it works.12:06
st-gourichon-fidIs there a command-line client for paste.ubuntu.com ?12:07
brainwashpipe to pastebinit12:07
st-gourichon-fidHmm, my apt-file is broken? It returns no results, that's why I did not see pastebinit.12:10
st-gourichon-fid  apt-file find bin.*paste12:10
st-gourichon-fidhttp://paste.ubuntu.com/p/kqbNf4hZF5/12:11
st-gourichon-fidxfsettingsd does not say much after initial blurb12:11
brainwash>GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited12:14
brainwashbut you are able to manually start notifyd12:14
brainwashhttps://unix.stackexchange.com/questions/294510/xfce-notifications-not-working12:15
* st-gourichon-fid reads 12:19
brainwashmmh12:20
brainwashmaybe it is supposed to be started as system user service12:20
st-gourichon-fidNo  /etc/X11/xinit/xinitrc.d/50-systemd-user.sh  on my system12:20
brainwashthat's probably archlinux specific ^12:21
brainwashcheck this: systemctl --user status xfce4-notifyd12:21
st-gourichon-fidI had an "interesting" variant12:21
brainwashI only have 18.10 running here, and xfce4-notifyd is started on login via systemd12:22
brainwashprobably the same in 18.0412:22
brainwashnot on login, but on demand I meant12:23
st-gourichon-fidAfter 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
st-gourichon-fidI 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-notifyd12:24
brainwashwhat does "systemctl --user status xfce4-notifyd" return after login and pressing media keys or running "notify-send test"?12:25
st-gourichon-fidOkay, I'll logout / login and try12:25
st-gourichon-fidnow it says    Active: inactive (dead)12:25
st-gourichon-fid   Loaded: loaded (/usr/lib/systemd/user/xfce4-notifyd.service; static; vendor preset: enabled)12:25
brainwashright12:25
st-gourichon-fidI logout and come back.12:25
st-gourichon-fid systemctl --user status xfce4-notifyd always says  http://paste.ubuntu.com/p/wjCRggshd8/12:29
st-gourichon-fidI notice that on login some panel items take time to load.12:29
st-gourichon-fidAlso, Ctrl-Alt-T to open a terminal is not affected12:29
st-gourichon-fidso since the panel was unresponsive I opened hexchat via a terminal.12:30
brainwashmmh12:30
st-gourichon-fidNow I am back to the buggy state since I have not launched notifyd manually.12:30
st-gourichon-fidI grep'ed for notifyd in /etc12:31
st-gourichon-fidI guess this is unrelated: xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml12:31
brainwashprobably12:32
brainwashnow we are that point at which one should test with a second user account12:32
brainwashto verify the issue12:32
st-gourichon-fidAh, good idea.12:33
st-gourichon-fidI just ran gmusicbrowser from command line, it does not appear (waiting for the panel to respond, I guess).12:33
st-gourichon-fidAh, it finally appears after about 30 seconds.12:33
st-gourichon-fidI create an account and open a session.12:33
st-gourichon-fidThe user I just created is affected by the problem.12:36
st-gourichon-fidcat /usr/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service12:38
st-gourichon-fidhttp://paste.ubuntu.com/p/HHfb7C3KHy/12:38
st-gourichon-fiddpkg -L xfce4-notifyd | xargs grep -i notifyd 2>/dev/null | egrep -v '(LC_|icons|themes)'12:41
st-gourichon-fidhttps://paste.ubuntu.com/p/M2NwnbNBkH/12:41
brainwashst-gourichon-fid: I think something in session management is not working properly12:45
st-gourichon-fidI'm looking at how systemd runs services12:45
brainwashxfce4-session/logind/dbus12:45
brainwashdid you check journalctl yet?12:48
* st-gourichon-fid looks at journalctl output12:48
brainwashI suggested to check system logs12:48
brainwashother than that, you would have to check the apt logs, and see what has been updated/installed recently12:49
st-gourichon-fidWell, installing Gnome and KDE implies a zillion packaged... :-/12:50
st-gourichon-fidpackages12:50
brainwashindeed12:50
st-gourichon-fidThere'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
st-gourichon-fidEven swaywm is not packaged in Xubuntu 18.04.12:51
brainwashobviously not12:51
brainwashit's still alpha/beta12:51
st-gourichon-fid(and apparently not just wget/compile/run)12:51
st-gourichon-fidSo, 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
st-gourichon-fidXFCE is so much more minimal and cosy but I digress.12:53
brainwashlet's see if there is any hints in journalctl then12:53
st-gourichon-fidI'm too old and still more familiar with /var/log ... any hints at some journalctl command line options to focus quickly.12:54
st-gourichon-fid?12:54
st-gourichon-fidI'm looking at journalctl at the time my brand new user logs in.12:55
brainwashpage down key?12:55
st-gourichon-fid;-)12:55
st-gourichon-fidaoû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
st-gourichon-fidSo, systems does activates other services.12:55
st-gourichon-fids/systems/systemd/12:55
st-gourichon-fidsystemd 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:57
brainwashno errors in the log?12:58
brainwashany errors which could be related to the problem12:58
st-gourichon-fidNo sign of notifyd.13:03
st-gourichon-fidI can paste the part at user login time if you want.13:04
brainwashmaybe13:07
st-gourichon-fidhttp://paste.ubuntu.com/p/jg5jfFNbrp/13:07
st-gourichon-fidThe user is named "sg-nonotify"13:07
brainwashwithout any hint it's pretty hard to pinpoint the culprit :/13:08
brainwashfurther hint I mean13:08
st-gourichon-fidHmhm.13:09
brainwashwhat is added to the log when you trigger a notification?13:13
st-gourichon-fidHave to be away for a moment.  Have not seen anything yet.14:19
ChunkzZI 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:24
ChunkzZahhh just cut and it's fine now.15:25
st-gourichon-fidBack17:06

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!