I've installed flatpak and then Slack because the one from kcp is rather old, version 4.9.
However, on starting Slack, I get the following error:
❯ flatpak run com.slack.Slack
F: Can't get document portal: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[3 zypak-helper] Portal does not support expose-pids
Initializing local storage instance
(electron) Sending uncompressed crash reports is deprecated and will be removed in a future version of Electron. Set { compress: true } to opt-in to the new behavior. Crash reports will be uploaded gzipped, which most crash reporting servers support.
[3:0823/113914.908187:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0823/113914.908264:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gkr-Message: 11:39:14.960: secret service operation failed: org.freedesktop.DBus.Error.ServiceUnknown
LaunchProcess: failed to execvp:
xdg-settings
[3:0823/113915.077001:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0823/113915.077052:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0823/113915.077085:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0823/113916.216789:ERROR:browser_main_loop.cc(271)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[0823/113916.388419:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (2)
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed
at n.send (node:electron/js2c/browser_init:165:417)
at b.send (node:electron/js2c/browser_init:161:2494)
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:286:6544
at Array.forEach (<anonymous>)
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:286:6522
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:125:7146
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:112:21573
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:287:922
at dispatch (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:112:18475)
at Object.next (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:342:86970)
Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed
at n.send (node:electron/js2c/browser_init:165:417)
at b.send (node:electron/js2c/browser_init:161:2494)
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:286:6544
at Array.forEach (<anonymous>)
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:286:6522
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:125:7146
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:112:21573
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:287:922
at dispatch (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:112:18475)
at Object.next (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:342:86970)
Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed
at n.send (node:electron/js2c/browser_init:165:417)
at b.send (node:electron/js2c/browser_init:161:2494)
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:286:6544
at Array.forEach (<anonymous>)
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:286:6522
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:125:7146
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:112:21573
at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:287:922
at dispatch (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:112:18475)
at Object.next (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:342:86970)

Can I please get some help in resolving this? Thank you.

  • demm replied to this.

    I have already tried some fixes found via internet search such as:

    • adding export $(dbus-launch) to .xprofile
    • adding export $(dbus-launch) to .xinitrc

    Same result, same error.

      plaken

      Hi there, plaken.

      I've just updated Slack to the latest available version on KCP.
      Check it out.

      Cheers.