From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5369A158015 for ; Tue, 26 Dec 2023 08:16:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 047722BC02E; Tue, 26 Dec 2023 08:16:34 +0000 (UTC) Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D0052BC017 for ; Tue, 26 Dec 2023 08:16:33 +0000 (UTC) Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-6dbef8420aaso574973a34.3 for ; Tue, 26 Dec 2023 00:16:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703578592; x=1704183392; darn=lists.gentoo.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=MeOI9UdB0GREUGSK1/WjuOIVv2RjH9f785IpvSqml3s=; b=LFVAPcjlsHIrWJ3B8CK1NYNfvHyDigf5WNhFAnJyzQWugFMoOaB4NMqXQNgzuUYjF3 1KuopZ48RmcLpAov8X6KobJpcBPr3nCDTyHI3oQ5ZykYEwInbBcqq50i6ZpeZhdf5bPJ VT8/GmlOO3ZPXCDz0HuOn3CzdqP6k1tLJfkm9zXG/6Kzy/0rsxOv+VAVvdW3gk2NUKO9 4viKpFEZaJUO/MJtj5hl1VWlb4WI75Q1x6zKqt45qX8K9YEIx+EehVY/QuKBYsjEaPGy gfIM22fPI2wBi8NcqqYPTKwgViUqW0ImyL4pFEQvwGGbnDAm3UGB9w3wsxGwF76J8K5T zg8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703578592; x=1704183392; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MeOI9UdB0GREUGSK1/WjuOIVv2RjH9f785IpvSqml3s=; b=A29zGUxN8RR3Rhz9IaSW3K7pC6eUGgM+e/Wj8CXMXE+Qso5Olh/m1V+flF9yHDwNIi 72IlHfYi5rHGMrHdm7zf4XisnHIcRBRc3F0/4bwWnBqMPSMEyuP+8edMi5S11PRrkyO7 cLuvUWszReT10BACA6fxVsCdscfFk+kO1qpqXKYSm0KPoB3ywwt4ORXixBou0dUnfC9f vHVwpTBtgD7HRHF+vY6oQtzZbAAdDpq37MuE5QD248uuYCEgT/slTHH6eNMi40TR0d4k 9XrQMYqL04QhdB4UN/hLb6IW+XyGyNmvr5IRDL8sF2OpL2aKmPexztc47yvYkK7JPS1W sBiA== X-Gm-Message-State: AOJu0YzQpV1qboH7qJdrQajZuWsq98lSYMUwDb4Ch3Og8asMpMW5g0Qp CqPNpjBM696bNGVLMiw9+WrVVsF2XT6oPum2h975JAUV5gM= X-Google-Smtp-Source: AGHT+IHVeThZg7Ur6hoKlxQ4+TLucleARwcU3pVIzbdvaJY/3M8/c/ywcOmUNuLXAV5VJ5TuIG/sls44iSl04Wkto/U= X-Received: by 2002:a9d:7e81:0:b0:6d9:deb0:d31f with SMTP id m1-20020a9d7e81000000b006d9deb0d31fmr5272091otp.15.1703578592326; Tue, 26 Dec 2023 00:16:32 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <87a5r0j0hh.fsf@gentoo.org> <871qcchkcp.fsf@gentoo.org> <86a5qzbfhb.fsf@gentoo.org> In-Reply-To: <86a5qzbfhb.fsf@gentoo.org> From: Jamie Getty Date: Tue, 26 Dec 2023 21:16:21 +1300 Message-ID: Subject: Re: [gentoo-user] Cannot share screen via google meet with Firefox and Sway To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="000000000000d7b6d2060d654c5f" X-Archives-Salt: 8b1214f0-d4db-4889-ba84-cc7b92bdeb5a X-Archives-Hash: 76a57b284627e567d185a390d385d3cf --000000000000d7b6d2060d654c5f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D1000 pid=3D4539] Activating service name=3D'org.a11y.Bus' requested by ':1.2' (uid=3D1000 pid=3D4563 comm=3D"wa= ybar -b bar-0") dbus-daemon[4539]: [session uid=3D1000 pid=3D4539] 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=3D1000 pid=3D4539] Activating service name=3D'org.freedesktop.portal.Desktop' requested by ':1.1' (uid=3D1000 pid=3D4563 comm=3D"waybar -b bar-0") dbus-daemon[4539]: [session uid=3D1000 pid=3D4539] Activating service name=3D'org.freedesktop.portal.Documents' requested by ':1.4' (uid=3D1000 pid=3D4583 comm=3D"/usr/libexec/xdg-desktop-portal") dbus-daemon[4539]: [session uid=3D1000 pid=3D4539] Activating service name=3D'org.freedesktop.impl.portal.PermissionStore' requested by ':1.5' (uid=3D1000 pid=3D4589 comm=3D"/usr/libexec/xdg-document-portal") dbus-daemon[4539]: [session uid=3D1000 pid=3D4539] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore' dbus-daemon[4539]: [session uid=3D1000 pid=3D4539] 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=3D1000 pid=3D4539] Activating service name=3D'org.freedesktop.impl.portal.desktop.wlr' requested by ':1.4' (uid=3D1000 pid=3D4583 comm=3D"/usr/libexec/xdg-desktop-portal") *2023/12/26 21:10:39 [ERROR] - config: no config file found* dbus-daemon[4539]: [session uid=3D1000 pid=3D4539] Successfully activated service 'org.freedesktop.impl.portal.desktop.wlr' dbus-daemon[4539]: [session uid=3D1000 pid=3D4539] Successfully activated service 'org.freedesktop.portal.Desktop' dbus-daemon[4581]: Activating service name=3D'org.a11y.atspi.Registry' requested by ':1.0' (uid=3D1000 pid=3D4563 comm=3D"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.Registr= y [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=E2=80=AFAM Arsen Arsenovi=C4=87 wrote: > > Jamie Getty 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=E2=80=AFPM Arsen Arsenovi=C4=87 > wrote: > > > >> Hi Jamie, > >> > >> Jamie Getty 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=C4=87 > >> > > > -- > Arsen Arsenovi=C4=87 > --=20 Sincerely, Jamie --000000000000d7b6d2060d654c5f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have tried runnin= g 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) a= nd here is what I get as output:

jamie@localhost ~= $ dbus-run-session sway
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)<= br>00:00:00.025 [wlr] [types/wlr_drm_lease_v1.c:715] No DRM backend supplie= d, failed to create wlr_drm_lease_v1_manager
2023-12-26 21:10:39 - [sway= bg-1.2.0/main.c:582] wl_display_roundtrip failed
00:00:00.034 [wlr] [xwa= yland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address alrea= dy in use
2023-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.<= br>(Use 'gentoo-pipewire-launcher restart' to restart PipeWire and = WirePlumber.)
dbus-daemon[4539]: [session uid=3D1000 pid=3D4539] Activat= ing service name=3D'org.a11y.Bus' requested by ':1.2' (uid= =3D1000 pid=3D4563 comm=3D"waybar -b bar-0")
dbus-daemon[4539]= : [session uid=3D1000 pid=3D4539] Successfully activated service 'org.a= 11y.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]: [sessio= n uid=3D1000 pid=3D4539] Activating service name=3D'org.freedesktop.por= tal.Desktop' requested by ':1.1' (uid=3D1000 pid=3D4563 comm=3D= "waybar -b bar-0")
dbus-daemon[4539]: [session uid=3D1000 pid= =3D4539] Activating service name=3D'org.freedesktop.portal.Documents= 9; requested by ':1.4' (uid=3D1000 pid=3D4583 comm=3D"/usr/lib= exec/xdg-desktop-portal")
dbus-daemon[4539]: [session uid=3D1000 pi= d=3D4539] Activating service name=3D'org.freedesktop.impl.portal.Permis= sionStore' requested by ':1.5' (uid=3D1000 pid=3D4589 comm=3D&q= uot;/usr/libexec/xdg-document-portal")
dbus-daemon[4539]: [session = uid=3D1000 pid=3D4539] Successfully activated service 'org.freedesktop.= impl.portal.PermissionStore'
dbus-daemon[4539]: [session uid=3D1000 = pid=3D4539] Successfully activated service 'org.freedesktop.portal.Docu= ments'
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-po= rtal-WARNING **: 21:10:39.742: Failed to load RealtimeKit property: GDBus.E= rror:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Re= altimeKit1 was not provided by any .service files

(/usr/libexec/xdg-= desktop-portal:4583): xdg-desktop-portal-WARNING **: 21:10:39.742: Failed t= o load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.Service= Unknown: The name org.freedesktop.RealtimeKit1 was not provided by any .ser= vice files

(/usr/libexec/xdg-desktop-portal:4583): xdg-desktop-porta= l-WARNING **: 21:10:39.742: Failed to load RealtimeKit property: GDBus.Erro= r:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Realt= imeKit1 was not provided by any .service files

(/usr/libexec/xdg-des= ktop-portal:4583): xdg-desktop-portal-WARNING **: 21:10:39.742: No skeleton= to export

(/usr/libexec/xdg-desktop-portal:4583): xdg-desktop-porta= l-WARNING **: 21:10:39.742: Choosing wlr.portal for org.freedesktop.impl.po= rtal.ScreenCast via the deprecated UseIn key

(/usr/libexec/xdg-deskt= op-portal:4583): xdg-desktop-portal-WARNING **: 21:10:39.742: The preferred= method to match portal implementations to desktop environments is to use t= he portals.conf(5) configuration file

dbus-daemon[4539]: [session ui= d=3D1000 pid=3D4539] Activating service name=3D'org.freedesktop.impl.po= rtal.desktop.wlr' requested by ':1.4' (uid=3D1000 pid=3D4583 co= mm=3D"/usr/libexec/xdg-desktop-portal")
2023/12/26 21:10:39= [ERROR] - config: no config file found
dbus-daemon[4539]: [session = uid=3D1000 pid=3D4539] Successfully activated service 'org.freedesktop.= impl.portal.desktop.wlr'
dbus-daemon[4539]: [session uid=3D1000 pid= =3D4539] Successfully activated service 'org.freedesktop.portal.Desktop= '
dbus-daemon[4581]: Activating service name=3D'org.a11y.atspi.R= egistry' requested by ':1.0' (uid=3D1000 pid=3D4563 comm=3D&quo= t;waybar -b bar-0")
basic_string::_M_create
dbus-daemon[4581]: S= uccessfully activated service 'org.a11y.atspi.Registry'
SpiRegis= try daemon is running with well-known name - org.a11y.atspi.Registry
[20= 23-12-26 21:10:39.746] [warning] Waybar has been built without rfkill suppo= rt.
[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=E2= =80=AFAM Arsen Arsenovi=C4=87 <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 term= inal,
> I get this output:
>
>
> *jamie@localhost ~ $ exec --no-startup-id
> dbus-update-activation-environment --allbash: exec: --: invalid option= exec:
> usage: exec [-cl] [-a name] [command [argument ...]] [redirection ...]= *

Sway configs aren't shells scripts.=C2=A0 In shell, you'd run
'dbus-update-activation-environment --all' alone.=C2=A0 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=E2=80=AFPM Arsen Arsenovi=C4=87 <arsen@gentoo.org> = wrote:
>
>> Hi Jamie,
>>
>> Jamie Getty <jamiegetty1@gmail.com> writes:
>>
>> > How do I ensure I have a dbus user session running? Those lin= ks 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.=C2=A0 See
>> https://wiki.gentoo.org/wiki/Sway#Starting_S= way
>>
>> Then add the
>>
>>=C2=A0 =C2=A0exec --no-startup-id dbus-update-activation-environmen= t --all
>>
>> ... line from the screen sharing troubleshooting entry.
>> --
>> Arsen Arsenovi=C4=87
>>


--
Arsen Arsenovi=C4=87


--
Sincerely,
Jamie
--000000000000d7b6d2060d654c5f--