public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jamie Getty <jamiegetty1@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cannot share screen via google meet with Firefox and Sway
Date: Tue, 26 Dec 2023 21:16:21 +1300	[thread overview]
Message-ID: <CALS0B-Qa8v6AkuC2FLoOTQJEbJNMEUDnHUAmGArpqsXTyL8tkw@mail.gmail.com> (raw)
In-Reply-To: <86a5qzbfhb.fsf@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 6385 bytes --]

I have tried running *dbus-run-session sway* manually (sway is already
running when I ran this but I wanted to see what errors I got regarding
xdg-desktop-portal) and here is what I get as output:

jamie@localhost ~ $ dbus-run-session sway




*amdgpu: amdgpu_cs_ctx_create2 failed. (-13)00:00:00.025 [wlr]
[types/wlr_drm_lease_v1.c:715] No DRM backend supplied, failed to create
wlr_drm_lease_v1_manager2023-12-26 21:10:39 - [swaybg-1.2.0/main.c:582]
wl_display_roundtrip failed00:00:00.034 [wlr] [xwayland/sockets.c:63]
Failed to bind socket @/tmp/.X11-unix/X0: Address already in use2023-12-26
21:10:39 - [swaybg-1.2.0/main.c:289] Could not find config for output WL-1
((null))*
PipeWire already running, exiting.
(Use 'gentoo-pipewire-launcher restart' to restart PipeWire and
WirePlumber.)
dbus-daemon[4539]: [session uid=1000 pid=4539] Activating service
name='org.a11y.Bus' requested by ':1.2' (uid=1000 pid=4563 comm="waybar -b
bar-0")
dbus-daemon[4539]: [session uid=1000 pid=4539] Successfully activated
service 'org.a11y.Bus'
[2023-12-26 21:10:39.717] [info] Using configuration file
/home/jamie/.config/waybar/config
[2023-12-26 21:10:39.717] [info] Using CSS file
/home/jamie/.config/waybar/style.css
dbus-daemon[4539]: [session uid=1000 pid=4539] Activating service
name='org.freedesktop.portal.Desktop' requested by ':1.1' (uid=1000
pid=4563 comm="waybar -b bar-0")
dbus-daemon[4539]: [session uid=1000 pid=4539] Activating service
name='org.freedesktop.portal.Documents' requested by ':1.4' (uid=1000
pid=4583 comm="/usr/libexec/xdg-desktop-portal")
dbus-daemon[4539]: [session uid=1000 pid=4539] Activating service
name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.5'
(uid=1000 pid=4589 comm="/usr/libexec/xdg-document-portal")
dbus-daemon[4539]: [session uid=1000 pid=4539] Successfully activated
service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[4539]: [session uid=1000 pid=4539] Successfully activated
service 'org.freedesktop.portal.Documents'
fusermount3: failed to access mountpoint /run/user/1000/doc: Permission
denied












*error: fuse init failed: Can't mount path
/run/user/1000/doc(/usr/libexec/xdg-desktop-portal:4583):
xdg-desktop-portal-WARNING **: 21:10:39.742: Failed to load RealtimeKit
property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.RealtimeKit1 was not provided by any .service
files(/usr/libexec/xdg-desktop-portal:4583): xdg-desktop-portal-WARNING **:
21:10:39.742: Failed to load RealtimeKit property:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.RealtimeKit1 was not provided by any .service
files(/usr/libexec/xdg-desktop-portal:4583): xdg-desktop-portal-WARNING **:
21:10:39.742: Failed to load RealtimeKit property:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.RealtimeKit1 was not provided by any .service
files(/usr/libexec/xdg-desktop-portal:4583): xdg-desktop-portal-WARNING **:
21:10:39.742: No skeleton to export(/usr/libexec/xdg-desktop-portal:4583):
xdg-desktop-portal-WARNING **: 21:10:39.742: Choosing wlr.portal for
org.freedesktop.impl.portal.ScreenCast via the deprecated UseIn
key(/usr/libexec/xdg-desktop-portal:4583): xdg-desktop-portal-WARNING **:
21:10:39.742: The preferred method to match portal implementations to
desktop environments is to use the portals.conf(5) configuration file*
dbus-daemon[4539]: [session uid=1000 pid=4539] Activating service
name='org.freedesktop.impl.portal.desktop.wlr' requested by ':1.4'
(uid=1000 pid=4583 comm="/usr/libexec/xdg-desktop-portal")
*2023/12/26 21:10:39 [ERROR] - config: no config file found*
dbus-daemon[4539]: [session uid=1000 pid=4539] Successfully activated
service 'org.freedesktop.impl.portal.desktop.wlr'
dbus-daemon[4539]: [session uid=1000 pid=4539] Successfully activated
service 'org.freedesktop.portal.Desktop'
dbus-daemon[4581]: Activating service name='org.a11y.atspi.Registry'
requested by ':1.0' (uid=1000 pid=4563 comm="waybar -b bar-0")
basic_string::_M_create
dbus-daemon[4581]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
[2023-12-26 21:10:39.746] [warning] Waybar has been built without rfkill
support.
[2023-12-26 21:10:39.860] [info] Bar configured (width: 1920, height: 26)
for output: WL-1


On Tue, Nov 28, 2023 at 12:31 AM Arsen Arsenović <arsen@gentoo.org> wrote:

>
> Jamie Getty <jamiegetty1@gmail.com> writes:
>
> > 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 ...]*
>
> Sway configs aren't shells scripts.  In shell, you'd run
> 'dbus-update-activation-environment --all' alone.  Does qdbus --session
> output any errors or just a bunch of names and numbers?
>
> SDDM should set up a D-Bus session bus, I believe.
>
> I'm quite sure that your D-Bus session bus is not working properly
> because of the error you initially posted.
>
> > On Sun, Nov 26, 2023 at 11:37 PM Arsen Arsenović <arsen@gentoo.org>
> wrote:
> >
> >> Hi Jamie,
> >>
> >> Jamie Getty <jamiegetty1@gmail.com> 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ć
> >>
>
>
> --
> Arsen Arsenović
>


-- 
Sincerely,
Jamie

[-- Attachment #2: Type: text/html, Size: 7746 bytes --]

  reply	other threads:[~2023-12-26  8:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-26  9:55 [gentoo-user] Cannot share screen via google meet with Firefox and Sway Jamie Getty
2023-11-26 10:01 ` Arsen Arsenović
2023-11-26 10:28   ` Jamie Getty
2023-11-26 10:35     ` Arsen Arsenović
2023-11-26 11:10       ` Jamie Getty
2023-11-27 11:21         ` Arsen Arsenović
2023-12-26  8:16           ` Jamie Getty [this message]
2023-12-26 11:22             ` Jamie Getty
2023-12-26 11:57               ` Jamie Getty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALS0B-Qa8v6AkuC2FLoOTQJEbJNMEUDnHUAmGArpqsXTyL8tkw@mail.gmail.com \
    --to=jamiegetty1@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox