RE: [gentoo-user] problem getting opendkim to insert header in messages I am sending

2023-11-26 Thread John Covici



-Original Message-
From: John Covici  
Sent: Sunday, November 26, 2023 1:33 PM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] problem getting opendkim to insert header in messages I 
am sending

Hi.  I have just started to use opendkim to verify the Email I am
sending, but I am running into a problem.  I have the line in
/etc/opendkim/opendkim.conf  which reads

 InternalHosts  localhost 192.168.0.0/16, 10.0.0.0/8,
 172.16.0.0/12 127.0.0.1

but when trying to send, I get
Nov 26 13:25:37 ccs.covici.com opendkim[1109594]: 3AQIPbgo1110107:
external host localhost attempted to send as ccs.covici.com

and so no dkim header is added.

Thanks in advance for any suggestions.

Fixed, had to add a comma after one of the internal hosts that did not have a 
comma.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com





[gentoo-user] problem getting opendkim to insert header in messages I am sending

2023-11-26 Thread John Covici
Hi.  I have just started to use opendkim to verify the Email I am
sending, but I am running into a problem.  I have the line in
/etc/opendkim/opendkim.conf  which reads

 InternalHosts  localhost 192.168.0.0/16, 10.0.0.0/8,
 172.16.0.0/12 127.0.0.1

but when trying to send, I get
Nov 26 13:25:37 ccs.covici.com opendkim[1109594]: 3AQIPbgo1110107:
external host localhost attempted to send as ccs.covici.com

and so no dkim header is added.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Cannot share screen via google meet with Firefox and Sway

2023-11-26 Thread Jamie Getty
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ć  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ć
>


-- 
Sincerely,
Jamie


Re: [gentoo-user] Cannot share screen via google meet with Firefox and Sway

2023-11-26 Thread Arsen Arsenović
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ć


signature.asc
Description: PGP signature


Re: [gentoo-user] Cannot share screen via google meet with Firefox and Sway

2023-11-26 Thread Jamie Getty
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:






*jamie@localhost ~ $ ps -elfww | grep -i dbus5 S message+  2244 1
 0  800 -  1248 -  22:37 ?00:00:00
/usr/bin/dbus-daemon --system1 S jamie  3062 1  0  69 -11 -
 1099 do_sel22:39 ?00:00:00 dbus-launch --autolaunch
d356cf66315c624d08f86cb063dc4f82 --binary-syntax --close-stderr1 S jamie
   3069 1  0  69 -11 -  1248 do_epo  22:39 ?00:00:00
/usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7
--session0 S jamie  3104  3099  0  69 -11 -  1186 do_epoc 22:39 ?
 00:00:00 /usr/bin/dbus-daemon
--config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork
--print-address 10 --address=unix:path=/run/user/1000/at-spi/bus_10 S jamie
 5251  3998  0  800 -  1683 pipe_r 23:15 pts/100:00:00
grep --colour=auto -i dbusjamie@localhost ~ $ *

On Sun, Nov 26, 2023 at 11:03 PM Arsen Arsenović  wrote:

> I suspect you're running into one (or both) of these two common
> problems:
>
> https://wiki.gentoo.org/wiki/Sway#Screen_sharing_does_not_work
> https://wiki.gentoo.org/wiki/Sway#Failed_to_connect_to_user_bus
>
> Please ensure you have a D-Bus user session.
>

-- 
Sincerely,
Jamie


Re: [gentoo-user] Cannot share screen via google meet with Firefox and Sway

2023-11-26 Thread Arsen Arsenović
Hi Jamie,

Jamie Getty  writes:

> Hey everyone. I am trying to share my screen via google meet in Firefox. I
> am running Sway as my window manager. I am also running pipewire instead of
> pulseaudio.
>
> Whenever I select the "Present now" option, the only option I can select is
> "Use operating system settings". If I click Allow, Meet will tell me I am
> sharing my screen, but I am given no indication that I am sharing
> successfully.
>
> I also tried to join the meeting from my phone to see what's on the other
> end, and my screen was not being shared to my phone.
>
> My sway configuration contains this line, which I am told is necessary for
> screen sharing:
> *exec --no-startup-id dbus-update-activation-environment --all*
>
> I also added these lines to my .bashrc:
> *export MOZ_ENABLE_WAYLAND=1*
> *export XDG_SESSION_TYPE=wayland*
> *export XDG_CURRENT_DESKTOP=sway*
>
> I even recompiled firefox with the *screencast* flag and rebooted my PC,
> but it still didn't help.
>
> However, one thing I did notice is that if I run *xdg-desktop-portal-wlr
> --loglevel=TRACE*, I get an error:
>
>
>
>
>
>
>
>
>
>
>
>
>
> *jamie@localhost ~ $ /usr/libexec/xdg-desktop-portal-wlr
> --loglevel=TRACE2023/11/26 22:48:19 [TRACE] - config: trying config file
> /home/jamie/.config/xdg-desktop-portal-wlr/sway2023/11/26 22:48:19 [TRACE]
> - config: trying config file
> /home/jamie/.config/xdg-desktop-portal-wlr/config2023/11/26 22:48:19
> [TRACE] - config: trying config file
> /etc/xdg/xdg-desktop-portal-wlr/sway2023/11/26 22:48:19 [TRACE] - config:
> trying config file /etc/xdg/xdg-desktop-portal-wlr/config2023/11/26
> 22:48:19 [ERROR] - config: no config file found2023/11/26 22:48:19 [DEBUG]
> - config: outputname:  (null)2023/11/26 22:48:19 [DEBUG] - config: max_fps:
>  0.002023/11/26 22:48:19 [DEBUG] - config: exec_before:
>  (null)2023/11/26 22:48:19 [DEBUG] - config: exec_after:  (null)2023/11/26
> 22:48:19 [DEBUG] - config: chooser_cmd: (null)2023/11/26 22:48:19 [DEBUG] -
> config: chooser_type: default2023/11/26 22:48:19 [ERROR] - dbus: failed to
> connect to user bus: No such file or directoryjamie@localhost ~ $*
>
> Also, while *xdg-desktop-portal-wlr* is not running, *xdg-desktop-portal*
> is:
>
>
>
>
>
>
> *jamie@localhost ~ $ ps -elfww | grep -i xdg0 S jamie 3089 1  0  69
> -11 - 76529 do_sys 22:39 ?00:00:00
> /usr/libexec/xdg-permission-store0 S jamie 3106 1  0  69 -11 -
> 95583 do_sys 22:39 ?00:00:00 /usr/libexec/xdg-desktop-portal0 S
> jamie 3112 1  0  69 -11 - 132469 do_sys 22:39 ?   00:00:00
> /usr/libexec/xdg-document-portal0 S jamie 4076  3998  0  80   0 -  1683
> pipe_r 22:49 pts/100:00:00 grep --colour=auto -i xdgjamie@localhost ~ $
> *
>
> I'm really at a loss here. I don't know what to check next. Lots of guides,
> suhc as the troubleshooting section of the *obs* package wiki page, mention
> a *screencast* flag as part of the xdg-desktop-portal package, but there's
> no such flag:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *jamie@localhost ~ $ sudo equery u xdg-desktop-portal[ Legend : U - final
> flag setting for installation][: I - package is installed with flag
> ][ Colors : set, unset ] * Found these USE
> flags for sys-apps/xdg-desktop-portal-1.18.0-r1: U I - - flatpak  :
> Enable sys-apps/flatpak integration - - geolocation : Enable physical
> position determination + + seccomp  : Use sys-apps/bubblewrap (which
> requires seccomp) to sandbox some functionality like icon handling - -
> systemd: Enable use of systemd-specific libraries and features like
> socket activation or session tracking - - test : Enable
> dependencies and/or preparations necessary to run tests (usually controlled
> by FEATURES=test but can be toggled
> independently)jamie@localhost ~ $ sudo equery u xdg-desktop-portal-wlr[
> Legend : U - final flag setting for installation][: I - package is
> installed with flag ][ Colors : set, unset
> ] * Found these USE flags for gui-libs/xdg-desktop-portal-wlr-0.5.0: U I +
> + elogind : Enable support for rootless session via elogind - - systemd :
> Enable use of systemd-specific libraries and features like socket
> activation or session trackingjamie@localhost ~ $*
>
> Any further help with this would be much appreciated.

I suspect you're running into one (or both) of these two common
problems:

https://wiki.gentoo.org/wiki/Sway#Screen_sharing_does_not_work
https://wiki.gentoo.org/wiki/Sway#Failed_to_connect_to_user_bus

Please ensure you have a D-Bus user session.

HTH, have a lovely day!
-- 
Arsen Arsenović


signature.asc
Description: PGP signature


[gentoo-user] Cannot share screen via google meet with Firefox and Sway

2023-11-26 Thread Jamie Getty
Hey everyone. I am trying to share my screen via google meet in Firefox. I
am running Sway as my window manager. I am also running pipewire instead of
pulseaudio.

Whenever I select the "Present now" option, the only option I can select is
"Use operating system settings". If I click Allow, Meet will tell me I am
sharing my screen, but I am given no indication that I am sharing
successfully.

I also tried to join the meeting from my phone to see what's on the other
end, and my screen was not being shared to my phone.

My sway configuration contains this line, which I am told is necessary for
screen sharing:
*exec --no-startup-id dbus-update-activation-environment --all*

I also added these lines to my .bashrc:
*export MOZ_ENABLE_WAYLAND=1*
*export XDG_SESSION_TYPE=wayland*
*export XDG_CURRENT_DESKTOP=sway*

I even recompiled firefox with the *screencast* flag and rebooted my PC,
but it still didn't help.

However, one thing I did notice is that if I run *xdg-desktop-portal-wlr
--loglevel=TRACE*, I get an error:













*jamie@localhost ~ $ /usr/libexec/xdg-desktop-portal-wlr
--loglevel=TRACE2023/11/26 22:48:19 [TRACE] - config: trying config file
/home/jamie/.config/xdg-desktop-portal-wlr/sway2023/11/26 22:48:19 [TRACE]
- config: trying config file
/home/jamie/.config/xdg-desktop-portal-wlr/config2023/11/26 22:48:19
[TRACE] - config: trying config file
/etc/xdg/xdg-desktop-portal-wlr/sway2023/11/26 22:48:19 [TRACE] - config:
trying config file /etc/xdg/xdg-desktop-portal-wlr/config2023/11/26
22:48:19 [ERROR] - config: no config file found2023/11/26 22:48:19 [DEBUG]
- config: outputname:  (null)2023/11/26 22:48:19 [DEBUG] - config: max_fps:
 0.002023/11/26 22:48:19 [DEBUG] - config: exec_before:
 (null)2023/11/26 22:48:19 [DEBUG] - config: exec_after:  (null)2023/11/26
22:48:19 [DEBUG] - config: chooser_cmd: (null)2023/11/26 22:48:19 [DEBUG] -
config: chooser_type: default2023/11/26 22:48:19 [ERROR] - dbus: failed to
connect to user bus: No such file or directoryjamie@localhost ~ $*

Also, while *xdg-desktop-portal-wlr* is not running, *xdg-desktop-portal*
is:






*jamie@localhost ~ $ ps -elfww | grep -i xdg0 S jamie 3089 1  0  69
-11 - 76529 do_sys 22:39 ?00:00:00
/usr/libexec/xdg-permission-store0 S jamie 3106 1  0  69 -11 -
95583 do_sys 22:39 ?00:00:00 /usr/libexec/xdg-desktop-portal0 S
jamie 3112 1  0  69 -11 - 132469 do_sys 22:39 ?   00:00:00
/usr/libexec/xdg-document-portal0 S jamie 4076  3998  0  80   0 -  1683
pipe_r 22:49 pts/100:00:00 grep --colour=auto -i xdgjamie@localhost ~ $
*

I'm really at a loss here. I don't know what to check next. Lots of guides,
suhc as the troubleshooting section of the *obs* package wiki page, mention
a *screencast* flag as part of the xdg-desktop-portal package, but there's
no such flag:




















*jamie@localhost ~ $ sudo equery u xdg-desktop-portal[ Legend : U - final
flag setting for installation][: I - package is installed with flag
][ Colors : set, unset ] * Found these USE
flags for sys-apps/xdg-desktop-portal-1.18.0-r1: U I - - flatpak  :
Enable sys-apps/flatpak integration - - geolocation : Enable physical
position determination + + seccomp  : Use sys-apps/bubblewrap (which
requires seccomp) to sandbox some functionality like icon handling - -
systemd: Enable use of systemd-specific libraries and features like
socket activation or session tracking - - test : Enable
dependencies and/or preparations necessary to run tests (usually controlled
by FEATURES=test but can be toggled
independently)jamie@localhost ~ $ sudo equery u xdg-desktop-portal-wlr[
Legend : U - final flag setting for installation][: I - package is
installed with flag ][ Colors : set, unset
] * Found these USE flags for gui-libs/xdg-desktop-portal-wlr-0.5.0: U I +
+ elogind : Enable support for rootless session via elogind - - systemd :
Enable use of systemd-specific libraries and features like socket
activation or session trackingjamie@localhost ~ $*

Any further help with this would be much appreciated.
-- 
Sincerely,
Jamie