You are not logged in.
Since firefox 64, when i click to download a file, and the first download window opens, it gives you the choice to save the file or open.
Well, if i Click with the mouse on "save" or "open with" checkbox, firefox just hangs and cpu use is high for about 3 seconds.
This happens everytime i change from "save" to "open with" with a mouse click.
If i use the keyboard, everything is fine.
Testing another -newly created- user on the system make it works.
But now i think i tried everything that could comes to mind; i've even completely moved my user account home so that i started with an EMPTY home, and still i've the problem.
I removed my user account from every group the -newly created- user didn't appear in... nothing.
I inspected the environment variables of the problematic user and found that unsetting DBUS_SESSION_BUS_ADDRESS prior of starting firefox makes it work without the problem.
Anybody has a clue, please!?
Last edited by kokoko3k (2018-12-21 15:26:15)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
EDIT: thanks for the title revision.
What is that DBUS variable set to (in the working vs non-working sessions)? How do you start X? Please post relevant configs and/or startup scripts used for X.
Last edited by Trilby (2018-12-21 15:31:33)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks, done
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
What was the value of DBUS_SESSION_BUS_ADDRESS in the affected session before you unset it?
Offline
I doubt it's a dbus issue - the timeout is 25 seconds and you're not gonna see much cpu load from it.
Rather "dbus-monitor" inspect what's going on there when you click the item.
Offline
seth:
I already did it (i forgot to mention, sorry, i tried so many things), and dbus-monitor does not show anything when i click.
loqs:
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1012/bus
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
loginctl show-session $XDG_SESSION_ID
Does the output of the above contain
User=1012
Remote=no
Active=yes
Offline
It seems so:
koko@Gozer# loginctl show-session $XDG_SESSION_ID
Id=3
User=1012
Name=koko
Timestamp=Fri 2018-12-21 15:54:09 CET
TimestampMonotonic=48494765
VTNr=7
Seat=seat0
Display=:0
Remote=no
Service=sddm-autologin
Desktop=KDE
Scope=session-3.scope
Leader=1082
Audit=3
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no
Last edited by kokoko3k (2018-12-21 18:33:50)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Does this happen outside a KDE desktop?
Offline
Yes, it happens even under lxde, or even within the session of another user (with xhost +, su koko, export DISPLAY, and dbus-launch firefox)
I'm really clueless
What does characterize an user in a gnu/systemd/linux system apart from his home directory? That's the question.
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Apart from the test in post #10 do you use dbus-launch for anything?
Offline
Not that i remember...
ps -ef|grep dbus|grep koko
koko 977 747 0 dic21 ? 00:00:09 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
koko 1653 1 0 dic21 ? 00:00:00 /bin/gmenudbusmenuproxy
koko 4288 4240 0 dic21 ? 00:00:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
koko 8207 8196 0 dic21 ? 00:00:00 dbus-monitor --session type='signal',interface='org.freedesktop.ScreenSaver'
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
I don't think it's directly dbus related, firefox might just pull some random data via dbus that kicks it into a buggy execution path.
You could strace or ltrace firefox to get a better idea what's going on there. It might also relate to some theme/extension you installed?
Offline
I'll try strace again, never heard about ltrace, i'll check.
About the extensions, not only i tried with an empty firefox profile. As i wrote in the first post, i even tried with a completely empty home directory!
And what really puzzles me is that i can reproduce the issue only with my user account, not with a newly created one.
Last edited by kokoko3k (2018-12-22 10:30:56)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
How do you start X? Please post relevant configs and/or startup scripts used for X.
Offline
I start x with sddm, but i can even reproduce the issue under an xvnc session.
in that case it starts lxde with: exec startlxde...
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline