I'm not sure what you mean by *wrap it in dbus-run-session*.
I use SDDM as my display manager and I start Sway from there.
My sway config also contains this line, as previously mentioned:

*# Enable screen sharingexec --no-startup-id
dbus-update-activation-environment --all*

However, I noticed that if I try running this line by itself in a terminal,
I get this output:


*jamie@localhost ~ $ exec --no-startup-id
dbus-update-activation-environment --allbash: exec: --: invalid optionexec:
usage: exec [-cl] [-a name] [command [argument ...]] [redirection ...]*

On Sun, Nov 26, 2023 at 11:37 PM Arsen Arsenović <[email protected]> wrote:

> Hi Jamie,
>
> Jamie Getty <[email protected]> writes:
>
> > How do I ensure I have a dbus user session running? Those links just lead
> > to forum posts with varying issues and I'm not sure which to follow.
> > Here are the dbus-related process I have running:
>
> Make sure to wrap it in dbus-run-session.  See
> https://wiki.gentoo.org/wiki/Sway#Starting_Sway
>
> Then add the
>
>   exec --no-startup-id dbus-update-activation-environment --all
>
> ... line from the screen sharing troubleshooting entry.
> --
> Arsen Arsenović
>


-- 
Sincerely,
Jamie

Reply via email to