On 2023-10-15 08:01, Andrei Borzenkov wrote:
On 15.10.2023 14:36, Frank McCormick wrote:
On 2023-10-15 02:33, Andrei Borzenkov wrote:
systemctl --user show-environment
frank@desktop-tumbleweed:~> systemctl --user show-environment HOME=/home/frank LANG=en_US.UTF-8 LOGNAME=frank PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin SHELL=/bin/bash USER=frank XDG_RUNTIME_DIR=/run/user/1000 XDG_CONFIG_DIRS=/etc/xdg:/usr/local/etc/xdg:/usr/etc/xdg DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DISPLAY=:0 XAUTHORITY=/home/frank/.Xauthority
Display variable is there.
Then I did journalctl -b0 | grep bamf | less
and it spewed out hundreds of the offending lines in the journal.
This command shows system journal, not user journal. Which suggests, your program is started as the system program which knows nothing about your user session variables.
Without knowing how this program is started it is difficult to know why it fails.
As I mentioned in an earlier mail, it only fails when I am running Plank as a desktop launcher, and then logging out and logging back in. Something gets lost in the middle. Strangely, I am now running Plank in Mate and there is no such problem with that desktop only with Icewm and Openbox. Mate must set something up which the other two don't.