https://bugs.kde.org/show_bug.cgi?id=361437

--- Comment #3 from James <ja...@nurealm.net> ---
Ok, thanks.
After exiting startkde the first time, this being the context for
startplasmacompositor, there is:
ps lU 1000
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4  1000 22450     1  20   0  34048  4624 ep_pol Ss   ?          0:00
/usr/lib/systemd/systemd --user
5  1000 22455 22450  20   0 105628  1984 -      S    ?          0:00 (sd-pam)
4  1000 22460 22443  20   0  16696  4668 wait   Ss   tty1       0:00 -bash
0  1000 22501 22450  20   0  32956  3968 ep_pol Ss   ?          0:00
/usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile
--systemd-activation
0  1000 22579 22450  20   0 478892 13260 poll_s Sl   ?          0:00
/usr/lib/telepathy/mission-control-5
0  1000 22621 22450  20   0 176596  4996 poll_s Sl   ?          0:00
/usr/lib/dconf/dconf-service
0  1000 22629 22450  20   0 747796 32172 poll_s Sl   ?          0:00
/usr/lib/gnome-online-accounts/goa-daemon
0  1000 22678 22450  20   0 270808  5528 poll_s Ssl  ?          0:00
/usr/lib/gvfs/gvfsd
0  1000 22684 22450  20   0 338908  7364 futex_ Sl   ?          0:00
/usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
0  1000 22689 22450  20   0 280960  6096 poll_s Sl   ?          0:00
/usr/lib/gnome-online-accounts/goa-identity-service
0  1000 22791 22450  20   0  60676  5588 poll_s S    ?          0:00
/usr/lib/GConf/gconfd-2
0  1000 23027 22450  20   0 339876  5812 poll_s Ssl  ?          0:00
/usr/lib/at-spi2-core/at-spi-bus-launcher
0  1000 23051 23027  20   0  32576  3132 ep_pol S    ?          0:00
/usr/bin/dbus-daemon
--config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork
--print-address 3
1  1000 26669     1  20   0 165076   856 poll_s Ss   ?          0:00 gpg-agent
--homedir /home/james/.gnupg --use-standard-socket --daemon
0  1000 27759 22450   9 -11 436200 11620 poll_s S<sl ?          0:00
/usr/bin/pulseaudio --daemonize=no
0  1000 27777 27759  20   0  81868  3460 poll_s S    ?          0:00
/usr/lib/pulse/gconf-helper
0  1000 27790 22460  20   0  32320  3152 -      R+   tty1       0:00 ps lU 1000

Then:
$ set -xv
$ export $(dbus-launch)
export $(dbus-launch)
dbus-launch
++ dbus-launch
+ export
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Zc69OZLGUs,guid=fdba438e0e61f1b8b0061bc257065e65
DBUS_SESSION_BUS_PID=27829
+
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Zc69OZLGUs,guid=fdba438e0e61f1b8b0061bc257065e65
+ DBUS_SESSION_BUS_PID=27829
$ set -

So now, there are three dbus-daemon's running:
22501 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile
--systemd-activation
23051 /usr/bin/dbus-daemon
--config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork
--print-address 3
27829 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session

Then, startplasmacompositor.  Here, with kwin_wayland, I can start plasmashell
manually, and it gives a working desktop, on one "desktop" of four, on one
display, which is I think normal for now.

After exiting from startplasmacompositor, which is the context for the second
startkde, there is:
$ ps lU 1000
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4  1000 22450     1  20   0  34048  4624 ep_pol Ss   ?          0:00
/usr/lib/systemd/systemd --user
5  1000 22455 22450  20   0 105628  1984 -      S    ?          0:00 (sd-pam)
4  1000 22460 22443  20   0  16696  4672 wait   Ss   tty1       0:00 -bash
0  1000 22501 22450  20   0  32956  3968 ep_pol Ss   ?          0:00
/usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile
--systemd-activation
0  1000 22579 22450  20   0 478892 13260 poll_s Sl   ?          0:00
/usr/lib/telepathy/mission-control-5
0  1000 22621 22450  20   0 176596  4996 poll_s Sl   ?          0:00
/usr/lib/dconf/dconf-service
0  1000 22629 22450  20   0 747796 32172 poll_s Sl   ?          0:00
/usr/lib/gnome-online-accounts/goa-daemon
0  1000 22678 22450  20   0 270808  5528 poll_s Ssl  ?          0:00
/usr/lib/gvfs/gvfsd
0  1000 22684 22450  20   0 404444  7364 futex_ Sl   ?          0:00
/usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
0  1000 22689 22450  20   0 280960  6096 poll_s Sl   ?          0:00
/usr/lib/gnome-online-accounts/goa-identity-service
0  1000 22791 22450  20   0  60676  5588 poll_s S    ?          0:00
/usr/lib/GConf/gconfd-2
0  1000 23027 22450  20   0 339876  5812 poll_s Ssl  ?          0:00
/usr/lib/at-spi2-core/at-spi-bus-launcher
0  1000 23051 23027  20   0  32576  3132 ep_pol S    ?          0:00
/usr/bin/dbus-daemon
--config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork
--print-address 3
1  1000 26669     1  20   0 165076   856 poll_s Ss   ?          0:00 gpg-agent
--homedir /home/james/.gnupg --use-standard-socket --daemon
0  1000 27759 22450   9 -11 436200 11684 poll_s S<sl ?          0:00
/usr/bin/pulseaudio --daemonize=no
0  1000 27777 27759  20   0  81868  3460 poll_s S    ?          0:00
/usr/lib/pulse/gconf-helper
1  1000 27829     1  20   0  32836  2724 ep_pol Ss   ?          0:00
/usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
0  1000 27929     1  20   0 478896 13440 poll_s Sl   ?          0:00
/usr/lib/telepathy/mission-control-5
0  1000 27938     1  20   0 747796 32272 poll_s Sl   ?          0:00
/usr/lib/gnome-online-accounts/goa-daemon
0  1000 27944     1  20   0 270808  5948 poll_s Sl   ?          0:00
/usr/lib/gvfs/gvfsd
0  1000 27957     1  20   0 280960  6276 poll_s Sl   ?          0:00
/usr/lib/gnome-online-accounts/goa-identity-service
0  1000 28089 22460  20   0  34440  3068 -      R+   tty1       0:00 ps lU 1000

Then, startx with startkde, and run plasmashell manually from konsole:
$ plasmashell
Couldn't start kglobalaccel from org.kde.kglobalaccel.service:
QDBusError("org.freedesktop.DBus.Error.Spawn.ChildExited", "Process
org.kde.kglobalaccel exited with status 1")
Failed to connect to the kglobalaccel daemon
QDBusError("org.freedesktop.DBus.Error.Spawn.ChildExited", "Process
org.kde.kglobalaccel exited with status 1")
Failed to connect to the kglobalaccel daemon
QDBusError("org.freedesktop.DBus.Error.Spawn.ChildExited", "Process
org.kde.kglobalaccel exited with status 1")
Failed to connect to the kglobalaccel daemon
QDBusError("org.freedesktop.DBus.Error.Spawn.ChildExited", "Process
org.kde.kglobalaccel exited with status 1")
kscreen: starting external backend launcher for ""
kscreen: Failed to request backend:
"org.freedesktop.DBus.Error.Spawn.ChildExited" : "Process org.kde.KScreen
exited with status 1"
Error found while setting up ShellCorona's KScreen:  "Failed to prepare
backend"

Desktop is "black" and unresponsive, even though plasmashell is running.  So
then try:

^C
$ kglobalaccel5 
And, in another terminal:
$ plasmashell
kscreen: starting external backend launcher for ""
kscreen: Failed to request backend:
"org.freedesktop.DBus.Error.Spawn.ChildExited" : "Process org.kde.KScreen
exited with status 1"
Error found while setting up ShellCorona's KScreen:  "Failed to prepare
backend"

Desktop is still "black" and unresponsive while plasmashell is running.

So, "export $(dbus-launch)" before startplasmacompositor has made no
difference.

BTW, I see that /usr/bin/startkde has:
XDG_DATA_DIRS="/usr/share:/usr/share:/usr/local/share"

which looks like a typo, especially where the comments says:
# Make sure that the KDE prefix is first in XDG_DATA_DIRS

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to