Re: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-21 Thread Gareth Evans



> On 20 Apr 2024, at 16:49, David Christensen  wrote:
> 
> On 4/14/24 05:29, David Christensen wrote:
>> debian-user:
>> I have a Dell Latitude E6520:
>> 2024-04-14 04:28:39 dpchrist@laalaa ~
>> $ cat /etc/debian_version ; uname -a
>> 11.9
>> Linux laalaa 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 
>> GNU/Linux
>> 2024-04-14 04:34:40 dpchrist@laalaa ~
>> $ dpkg-query -l xfce4 network-manager network-manager-gnome
>> Desired=Unknown/Install/Remove/Purge/Hold
>> | 
>> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
>> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>> ||/ Name  Version  Architecture Description
>> +++-=---=
>> ii  network-manager   1.30.6-1+deb11u1 amd64network management 
>> framework (daemon and userspace tools)
>> ii  network-manager-gnome 1.20.0-3 amd64network management 
>> framework (GNOME frontend)
>> ii  xfce4 4.16 all  Meta-package for the 
>> Xfce Lightweight Desktop Environment
>> I have used the Xfce panel Network Manager applet for many years. Tonight, I 
>> noticed that it has disappeared (!).
> 
> 
> I compared the problem machine against another with a working Xfce panel 
> Network Manager applet, and discovered that the Status Tray Plugin was 
> missing.  I may have deleted Status Tray Plugin while cleaning, but did not 
> notice the change immediately (?).
> 
> 
> So, I added Status Tray Plugin and now Network Manager has returned

Glad you solved it and thanks for explaining how.  

I hadn't twigged that "status tray" was a separate thing to "notification 
plugin" in XFCE (hence my earlier nomenclature) though on inspection, there it 
is indeed!


Re: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-20 Thread David Christensen

On 4/14/24 05:29, David Christensen wrote:

debian-user:

I have a Dell Latitude E6520:

2024-04-14 04:28:39 dpchrist@laalaa ~
$ cat /etc/debian_version ; uname -a
11.9
Linux laalaa 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) 
x86_64 GNU/Linux


2024-04-14 04:34:40 dpchrist@laalaa ~
$ dpkg-query -l xfce4 network-manager network-manager-gnome
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version  Architecture Description
+++-=---=
ii  network-manager   1.30.6-1+deb11u1 amd64    network 
management framework (daemon and userspace tools)
ii  network-manager-gnome 1.20.0-3 amd64    network 
management framework (GNOME frontend)
ii  xfce4 4.16 all  Meta-package for 
the Xfce Lightweight Desktop Environment



I have used the Xfce panel Network Manager applet for many years. 
Tonight, I noticed that it has disappeared (!).



I compared the problem machine against another with a working Xfce panel 
Network Manager applet, and discovered that the Status Tray Plugin was 
missing.  I may have deleted Status Tray Plugin while cleaning, but did 
not notice the change immediately (?).



So, I added Status Tray Plugin and now Network Manager has returned.


David



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-19 Thread David Christensen

On 4/19/24 00:16, Florent Rougon wrote:

Another thing: did you look into ~/.xsession-errors?
(Sorry if this was already mentioned and I missed it.)



Please see attached copy of ~/.xsession-errors, taken immediately after 
system restart and login.



"nm-applet" does not appear in .xsession-errors, but there are plenty of 
other warnings and error messages.  Perhaps the failure of nm-applet is 
a symptom of a more fundamental failure (?).




More involved: if you can't find any trace of the applet doing
something, maybe rebuilding the package after adding a few fprintf()
calls would help.



I think it is time for a bug report.


David


.xsession-errors-20240419-121605.gz
Description: application/gzip


Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-19 Thread Florent Rougon
Hi,

Le 18/04/2024, David Christensen  a écrit:

> 2024-04-18 02:27:18 root@laalaa ~
> # df `which nm-applet`
> Filesystem 1M-blocks  Used Available Use% Mounted on
> /dev/mapper/sdb3_crypt12084M 8927M 2522M  78% /

Not sure this command is super-useful:

  % df $(which awk)
  Filesystem 1K-blocks Used Available Use% Mounted on
  /dev/md127  97399092 28350256  64055044  31% /
  % which awk
  /bin/awk
  % readlink -f /bin/awk
  /usr/bin/gawk

Another thing: did you look into ~/.xsession-errors?
(Sorry if this was already mentioned and I missed it.)

More involved: if you can't find any trace of the applet doing
something, maybe rebuilding the package after adding a few fprintf()
calls would help.

Regards

-- 
Florent



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-18 Thread David Christensen

On 4/18/24 09:46, Gareth Evans wrote:

On Thu 18/04/2024 at 11:05, David Christensen  wrote:


Move aside the ~/.config/xfce4 directory:
...
Restart -- screen with wallpaper alone.
...


Hi David,

Starting from Mate DE only and some old (bookworm) XFCE config files, if I:

$ sudo apt install task-xfce-desktop

then log out and into XFCE, I get an XFCE desktop with wallpaper, desktop 
icons, panel, main menu, launchers, window buttons, notification area.

Then I:

$ mv ~/.config/xfce4 ~/.config/xfce4.old

then logout and into XFCE again, I get wallpaper, desktop icons, panel, main 
menu, window buttons, notification area, but only non-functional launcher 
placeholder icons.

$ diff ~/.config/xfce4 ~/.config/xfce4.old
Common subdirectories: /home/user/.config/xfce4/desktop and 
/home/user/.config/xfce4.old/desktop
Only in /home/user/.config/xfce4.old: panel   }
Only in /home/user/.config/xfce4.old: src }  <-- these are 
subdirectories
Only in /home/user/.config/xfce4.old: terminal}
Common subdirectories: /home/user/.config/xfce4/xfconf and 
/home/user/.config/xfce4.old/xfconf
Common subdirectories: /home/user/.config/xfce4/xfwm4 and 
/home/user/.config/xfce4.old/xfwm4
$

(though there probably wasn't much there to start with)

I'm not sure what would cause this difference in behaviour (though wonder if 
this might suggest more amiss with your XFCE installation) and I will watch 
this thread with interest.

Also I just "rediscovered" that reinstalling task-xfce-desktop doesn't 
reinstall those packages which it brings in in the first place, though I'm sure you knew 
that :)

Sorry I couldn't be of more help.



Thanks for the suggestions.  We have more information now.  :-)


David



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-18 Thread David Christensen

On 4/18/24 07:28, Max Nikulin wrote:

On 18/04/2024 17:05, David Christensen wrote:

$ mv .config/xfce4-20240418-180045/ .config/xfce4

Restart -- back to Xfce panel with no Network Manager.


Try to create a new system user and log in. Is nm-applet present?



Logging in using another previously working account produces the same 
result -- Xfce Panel displays Notification Plugin (bell icon), but no 
Network Manager icon.



Creating a new account and logging in produces the same result.


David



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-18 Thread David Christensen

On 4/18/24 05:34, e...@gmx.us wrote:

On 4/18/24 05:27, David Christensen wrote:

On 4/17/24 12:37, Richmond wrote:

What are the permissions on the nm-applet binary? maybe it doesn't have
permission to execute, or the process which starts it doesn't have
permission.



2024-04-18 02:24:20 root@laalaa ~
# ls -l `which nm-applet`
-rwxr-xr-x 1 root root 250784 Feb 27  2021 /usr/bin/nm-applet


I do not know what binary starts nm-applet, but here is a WAG:

2024-04-18 02:27:13 root@laalaa ~
# ll -l `which xfce4-panel`
-rwxr-xr-x 1 root root 363328 2021-02-27 08:29:44 /usr/bin/xfce4-panel


Can PPID tell you?



Yes.  xfce4-session is the parent of nm-applet:

2024-04-18 10:27:32 dpchrist@laalaa ~
$ ps -Ao "%p %P %a" | grep nm-applet
   15301379 nm-applet
   39373865 grep nm-applet

2024-04-18 10:27:44 dpchrist@laalaa ~
$ ps -Ao "%p %P %a" | grep 1379
   13791344 xfce4-session
   14211379 /usr/bin/ssh-agent x-session-manager
   14581379 xfwm4 --display :0.0 --sm-client-id 
2d1bdc0a5-06f2-4835-944e-7e402203bd9f
   14711379 xfsettingsd --display :0.0 --sm-client-id 
29896f657-477c-498a-8156-db9d51f74bcf
   14971379 xfce4-panel --display :0.0 --sm-client-id 
23fd394e3-a4ee-485b-b43c-38bf845d6699
   15011379 xfdesktop --display :0.0 --sm-client-id 
2c913de99-acac-4d70-b6e9-8eda44b6f6da
   15061379 xfce4-power-manager --restart --sm-client-id 
24cebdb39-bdc2-496f-aab0-7b11397b48d3

   15131379 /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd
   15151379 light-locker
   15161379 /usr/bin/python3 /usr/share/system-config-printer/applet.py
   15171379 
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1

   15241379 xiccd
   15301379 nm-applet
   39403865 grep 1379

2024-04-18 10:29:20 dpchrist@laalaa ~
$ ls -l `which xfce4-session`
-rwxr-xr-x 1 root root 260496 Dec 23  2020 /usr/bin/xfce4-session


David



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-18 Thread Gareth Evans
On Thu 18/04/2024 at 11:05, David Christensen  wrote:

> Move aside the ~/.config/xfce4 directory:
> ...
> Restart -- screen with wallpaper alone.
> ...

Hi David,

Starting from Mate DE only and some old (bookworm) XFCE config files, if I:

$ sudo apt install task-xfce-desktop

then log out and into XFCE, I get an XFCE desktop with wallpaper, desktop 
icons, panel, main menu, launchers, window buttons, notification area.

Then I:

$ mv ~/.config/xfce4 ~/.config/xfce4.old

then logout and into XFCE again, I get wallpaper, desktop icons, panel, main 
menu, window buttons, notification area, but only non-functional launcher 
placeholder icons.

$ diff ~/.config/xfce4 ~/.config/xfce4.old
Common subdirectories: /home/user/.config/xfce4/desktop and 
/home/user/.config/xfce4.old/desktop
Only in /home/user/.config/xfce4.old: panel   }
Only in /home/user/.config/xfce4.old: src }  <-- these are 
subdirectories
Only in /home/user/.config/xfce4.old: terminal}
Common subdirectories: /home/user/.config/xfce4/xfconf and 
/home/user/.config/xfce4.old/xfconf
Common subdirectories: /home/user/.config/xfce4/xfwm4 and 
/home/user/.config/xfce4.old/xfwm4
$

(though there probably wasn't much there to start with)

I'm not sure what would cause this difference in behaviour (though wonder if 
this might suggest more amiss with your XFCE installation) and I will watch 
this thread with interest.

Also I just "rediscovered" that reinstalling task-xfce-desktop doesn't 
reinstall those packages which it brings in in the first place, though I'm sure 
you knew that :)

Sorry I couldn't be of more help.

Best wishes,
Gareth



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-18 Thread Max Nikulin

On 18/04/2024 17:05, David Christensen wrote:

$ mv .config/xfce4-20240418-180045/ .config/xfce4

Restart -- back to Xfce panel with no Network Manager.


Try to create a new system user and log in. Is nm-applet present?



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-18 Thread eben

On 4/18/24 05:27, David Christensen wrote:

On 4/17/24 12:37, Richmond wrote:

David Christensen  writes:



What are the permissions on the nm-applet binary? maybe it doesn't have
permission to execute, or the process which starts it doesn't have
permission.



2024-04-18 02:24:20 root@laalaa ~
# ls -l `which nm-applet`
-rwxr-xr-x 1 root root 250784 Feb 27  2021 /usr/bin/nm-applet


I do not know what binary starts nm-applet, but here is a WAG:

2024-04-18 02:27:13 root@laalaa ~
# ll -l `which xfce4-panel`
-rwxr-xr-x 1 root root 363328 2021-02-27 08:29:44 /usr/bin/xfce4-panel


Can PPID tell you?

--

  "I have 140,737,488,355,328* mb RAM." Case matters.

* Depending on how you interpret things



Re: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-18 Thread David Christensen

On 4/17/24 12:07, Charles Curley wrote:

On Wed, 17 Apr 2024 11:41:24 -0700
David Christensen  wrote:


My WAG is that nm-applet is failing to start, but I have been unable
to find if and where any error message is reported.


My instance of nm-applet does run, and I see this as part of the boot
process:

root@hawk:~# journalctl -b | grep nm-app
Apr 15 11:27:42 hawk NetworkManager[1354]:   [1713202062.7737] 
agent-manager: agent[108f011a1115d508,:1.131/org.freedesktop.nm-applet/1000]: agent 
registered
root@hawk:~#

I suspect that if nm-applet doesn't start, you won't see any output
from that command.



2024-04-18 03:07:20 root@laalaa ~
# journalctl -b | grep nm-app
Apr 18 03:01:39 laalaa NetworkManager[833]:   [1713434499.3660] 
agent-manager: 
agent[2a08cda7fa35849b,:1.48/org.freedesktop.nm-applet/13250]: agent 
registered



David



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-18 Thread David Christensen

On 4/17/24 19:41, Gareth Evans wrote:

On Wed 17/04/2024 at 19:41, David Christensen  wrote:

On 4/17/24 03:47, Gareth Evans wrote:

On Wed 17/04/2024 at 09:18, David Christensen  wrote:

On 4/16/24 08:56, Gareth Evans wrote:

On 16 Apr 2024, at 00:18, David Christensen  wrote:

On 4/15/24 09:21, Gareth Evans wrote:

On Sun 14/04/2024 at 13:29, David Christensen wrote:
...
I have used the Xfce panel Network Manager applet for many years.
Tonight, I noticed that it has disappeared (!).
...


There is apparently a long history of nm-applet/XFCE panel-related issues (and 
not many great answers), as evidenced by such as

https://bbs.archlinux.org/viewtopic.php?id=161998

https://forum.xfce.org/viewtopic.php?id=6105

https://superuser.com/questions/900490/networkmanager-icon-on-notification-area-is-not-present



I tried:

1.  Remove Notification applet, restart, add Notification applet, no 
Network Manager, restart -- no Network Manager.


2.  Look at /etc/NetworkManager/NetworkManager.conf

2024-04-18 02:40:49 dpchrist@laalaa ~
$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

Change it to:

2024-04-18 02:43:35 root@laalaa ~
# cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

Restart -- no Network Manager.

Verify /etc//NetworkManager/NetworkManager.conf:

2024-04-18 02:45:05 dpchrist@laalaa ~
$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true



If you get ps output like this directly after a reboot:


$ ps aux | grep nm-applet
dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 nm-applet



2024-04-18 02:45:10 dpchrist@laalaa ~
$ ps aux | grep nm-applet
dpchrist1526  0.1  0.2 426484 35256 ?Sl   02:44   0:00 nm-applet
dpchrist1869  0.0  0.0   3240   712 pts/0S+   02:47   0:00 grep 
nm-applet




then I don't think the issue is with the starting/running of nm-applet itself, 
but rather some issue with the notification plugin, which I'm not sure how to 
begin troubleshooting.  I reluctantly abandoned XFCE partly due to panel 
instability some time ago.

The advice in the final link to rm -rf  ~/.config/xfce* might be a bit extreme, 
but I might try renaming it to force a rebuild on next login, and possibly 
reinstall task-xfce-desktop (or selected packages)



Move aside the ~/.config/xfce4 directory:


2024-04-18 02:50:20 dpchrist@laalaa ~
$ ls -ld .config/xfce4/
drwxr-xr-x 8 dpchrist dpchrist 4096 Apr 18 00:45 .config/xfce4/

2024-04-18 02:50:23 dpchrist@laalaa ~
$ mv .config/xfce4/ .config/xfce4-20240418-180045


Restart -- screen with wallpaper alone.


Right-click on desktop -> Applications -> Settings -> Panel brings up 
the Panel Preferences application.  The Items tab shows my previous 
settings.  Fumbling around, I am unable to get that panel to display 
(?).  If I create a new panel, I am unable to get it to display (?).



Open a Terminal and look if Xfce created a new configuration directory:

2024-04-18 02:57:31 dpchrist@laalaa ~
$ ls -ld .config/xfce4*
drwxr-xr-x 7 dpchrist dpchrist 4096 Apr 18 02:57 .config/xfce4
drwxr-xr-x 8 dpchrist dpchrist 4096 Apr 18 00:45 
.config/xfce4-20240418-180045



Yes, it did.  Compare the old directory to the new directory:

2024-04-18 02:58:11 dpchrist@laalaa ~
$ diff -rq .config/xfce4-20240418-180045/ .config/xfce4
diff: .config/xfce4-20240418-180045/desktop/icons.screen.latest.rc: No 
such file or directory

Only in .config/xfce4-20240418-180045/desktop: icons.screen0-1008x725.rc
Only in .config/xfce4-20240418-180045/desktop: icons.screen0-1424x857.rc
Only in .config/xfce4-20240418-180045/desktop: icons.screen0-1664x1007.rc
Only in .config/xfce4-20240418-180045/desktop: icons.screen0-1904x1037.rc
Only in .config/xfce4-20240418-180045/desktop: icons.screen0-1904x1064.rc
Only in .config/xfce4-20240418-180045/desktop: icons.screen0-2928x1037.rc
Files .config/xfce4-20240418-180045/desktop/icons.screen0-3824x1037.rc 
and .config/xfce4/desktop/icons.screen0-3824x1037.rc differ

Only in .config/xfce4-20240418-180045/: help.rc
Only in .config/xfce4-20240418-180045/panel: launcher-15
Only in .config/xfce4/panel: launcher-17
Only in .config/xfce4/panel: launcher-18
Only in .config/xfce4/panel: launcher-19
Only in .config/xfce4/panel: launcher-20
Only in .config/xfce4-20240418-180045/panel: launcher-24
Only in .config/xfce4-20240418-180045/panel: launcher-28
Only in .config/xfce4-20240418-180045/panel: launcher-7
Only in .config/xfce4-20240418-180045/: src
Files .config/xfce4-20240418-180045/terminal/accels.scm and 
.config/xfce4/terminal/accels.scm differ

Only in .config/xfce4-20240418-180045/terminal: terminalrc
Only in .config/xfce4-20240418-180045/: xfce4-screenshooter
Only in .config/xfce4-20240418-180045/: 

Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-18 Thread David Christensen

On 4/17/24 13:56, e...@gmx.us wrote:

On 4/17/24 15:37, Richmond wrote:

David Christensen writes:

My WAG is that nm-applet is failing to start, but I have been unable to
find if and where any error message is reported.


What are the permissions on the nm-applet binary?


And is its filesystem mounted with noexec?



2024-04-18 02:27:18 root@laalaa ~
# df `which nm-applet`
Filesystem 1M-blocks  Used Available Use% Mounted on
/dev/mapper/sdb3_crypt12084M 8927M 2522M  78% /

2024-04-18 02:28:57 root@laalaa ~
# mount | grep sdb3
/dev/mapper/sdb3_crypt on / type ext4 (rw,relatime,errors=remount-ro)


David



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-18 Thread David Christensen

On 4/17/24 12:37, Richmond wrote:

David Christensen  writes:

On Sun 14/04/2024 at 13:29, David Christensen wrote:
...
I have used the Xfce panel Network Manager applet for many years.
Tonight, I noticed that it has disappeared (!).
...

What are the permissions on the nm-applet binary? maybe it doesn't have
permission to execute, or the process which starts it doesn't have
permission.



2024-04-18 02:24:20 root@laalaa ~
# ls -l `which nm-applet`
-rwxr-xr-x 1 root root 250784 Feb 27  2021 /usr/bin/nm-applet


I do not know what binary starts nm-applet, but here is a WAG:

2024-04-18 02:27:13 root@laalaa ~
# ll -l `which xfce4-panel`
-rwxr-xr-x 1 root root 363328 2021-02-27 08:29:44 /usr/bin/xfce4-panel


David



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-17 Thread Gareth Evans
On Wed 17/04/2024 at 19:41, David Christensen  wrote:
>  Forwarded Message 
> Subject: Re: Debian 11 Xfce panel Network Manager applet has disappeared
> Date: Wed, 17 Apr 2024 11:38:49 -0700
> From: David Christensen 
> To: Gareth Evans 
>
> On 4/17/24 03:47, Gareth Evans wrote:
>> On Wed 17/04/2024 at 09:18, David Christensen  
>> wrote:
>>> On 4/16/24 08:56, Gareth Evans wrote:
>>>> On 16 Apr 2024, at 00:18, David Christensen  
>>>> wrote:
>>>>> On 4/15/24 09:21, Gareth Evans wrote:
>>>>>>> On Sun 14/04/2024 at 13:29, David Christensen wrote:
>>>>>>> ...
>>>>>>> I have used the Xfce panel Network Manager applet for many years.
>>>>>>> Tonight, I noticed that it has disappeared (!).
>>>>>>> ...
>>>>> 2024-04-15 16:08:23 dpchrist@laalaa ~
>>>>> $ ps aux | grep nm-applet
>>>>> dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 
>>>>> nm-applet
>>>>> dpchrist1940  0.0  0.0   3240   644 pts/0S+   16:15   0:00 grep 
>>>>> nm-applet
>>>>>
>>>>> 2024-04-15 16:15:12 dpchrist@laalaa ~
>>>>> $ nm-applet
>>>>>
>>>>> 2024-04-15 16:15:31 dpchrist@laalaa ~
>>>>> $ ps aux | grep nm-applet
>>>>> dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 
>>>>> nm-applet
>>>>> dpchrist1952  0.0  0.0   3240   644 pts/0S+   16:15   0:00 grep 
>>>>> nm-applet
>>>>
>>>> That seems to show it's running from the outset, just not being displayed 
>>>> on the panel.
>>>>
>>>> Does rebooting (or logging out and in again) bring it back?
>>>
>>>
>>> No.
>> 
>> OK.  You may have checked this already, but in case not, if I install XFCE 
>> and go to
>> 
>> Settings > Session and Startup > Application Autostart
>> 
>> there is an entry in the list called
>> 
>> "Network (Manage your network connections)"
>
>
> It is checked.
>
>
>> which shows a tooltip of "command: nm-applet"
>
>
> Command: nm-applet
>
>
>> Might this somehow have become unset?
>> 
>> I'm not sure if it's possible for GUI config helpers to become detached from 
>> actual settings - this seems to describe the relevant locations:
>> 
>> https://unix.stackexchange.com/questions/669372/xfce4-session-and-startup-where-are-autostart-items-saved
>
>
> 2024-04-17 11:21:06 dpchrist@laalaa ~
> $ grep nm-applet ~/.config/autostart
> grep: /home/dpchrist/.config/autostart: No such file or directory
>
> 2024-04-17 11:33:11 dpchrist@laalaa ~
> $ find .config -name autostart
>
> 2024-04-17 11:33:22 dpchrist@laalaa ~
> $
>
>
> 2024-04-17 11:34:14 dpchrist@laalaa ~
> $ grep -r nm-applet /etc/xdg/autostart
> /etc/xdg/autostart/nm-applet.desktop:Exec=nm-applet
> /etc/xdg/autostart/nm-applet.desktop:X-GNOME-Bugzilla-Component=nm-applet
>
>
> My WAG is that nm-applet is failing to start, but I have been unable to 
> find if and where any error message is reported.

There is apparently a long history of nm-applet/XFCE panel-related issues (and 
not many great answers), as evidenced by such as

https://bbs.archlinux.org/viewtopic.php?id=161998

https://forum.xfce.org/viewtopic.php?id=6105

https://superuser.com/questions/900490/networkmanager-icon-on-notification-area-is-not-present

If you get ps output like this directly after a reboot:

>>>>> $ ps aux | grep nm-applet
>>>>> dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 
>>>>> nm-applet

then I don't think the issue is with the starting/running of nm-applet itself, 
but rather some issue with the notification plugin, which I'm not sure how to 
begin troubleshooting.  I reluctantly abandoned XFCE partly due to panel 
instability some time ago.

The advice in the final link to rm -rf  ~/.config/xfce* might be a bit extreme, 
but I might try renaming it to force a rebuild on next login, and possibly 
reinstall task-xfce-desktop (or selected packages)

Would be interesting to hear from anyone with XFCE panel troubleshooting 
experience.

Best wishes,
Gareth



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-17 Thread eben

On 4/17/24 15:37, Richmond wrote:> David Christensen
 writes:
>
>> My WAG is that nm-applet is failing to start, but I have been unable to
>> find if and where any error message is reported.
>
> What are the permissions on the nm-applet binary?

And is its filesystem mounted with noexec?

> maybe it doesn't have permission to execute, or the process which starts
> it doesn't have permission.

--
   When the mob and the press and the whole world tell you to move,
 your job is to plant yourself like a tree beside the river of truth,
and tell the whole world -- "No, YOU move." -- J. Michael Straczynski



Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-17 Thread Richmond
David Christensen  writes:

>  Forwarded Message 
> Subject: Re: Debian 11 Xfce panel Network Manager applet has disappeared
> Date: Wed, 17 Apr 2024 11:38:49 -0700
> From: David Christensen 
> To: Gareth Evans 
>
> On 4/17/24 03:47, Gareth Evans wrote:
>> On Wed 17/04/2024 at 09:18, David Christensen  
>> wrote:
>>> On 4/16/24 08:56, Gareth Evans wrote:
>>>> On 16 Apr 2024, at 00:18, David Christensen  
>>>> wrote:
>>>>> On 4/15/24 09:21, Gareth Evans wrote:
>>>>>>> On Sun 14/04/2024 at 13:29, David Christensen wrote:
>>>>>>> ...
>>>>>>> I have used the Xfce panel Network Manager applet for many years.
>>>>>>> Tonight, I noticed that it has disappeared (!).
>>>>>>> ...
>>>>> 2024-04-15 16:08:23 dpchrist@laalaa ~
>>>>> $ ps aux | grep nm-applet
>>>>> dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 
>>>>> nm-applet
>>>>> dpchrist1940  0.0  0.0   3240   644 pts/0S+   16:15   0:00 grep 
>>>>> nm-applet
>>>>>
>>>>> 2024-04-15 16:15:12 dpchrist@laalaa ~
>>>>> $ nm-applet
>>>>>
>>>>> 2024-04-15 16:15:31 dpchrist@laalaa ~
>>>>> $ ps aux | grep nm-applet
>>>>> dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 
>>>>> nm-applet
>>>>> dpchrist1952  0.0  0.0   3240   644 pts/0S+   16:15   0:00 grep 
>>>>> nm-applet
>>>>
>>>> That seems to show it's running from the outset, just not being displayed 
>>>> on the panel.
>>>>
>>>> Does rebooting (or logging out and in again) bring it back?
>>>
>>>
>>> No.
>> OK.  You may have checked this already, but in case not, if I
>> install XFCE and go to
>> Settings > Session and Startup > Application Autostart
>> there is an entry in the list called
>> "Network (Manage your network connections)"
>
>
> It is checked.
>
>
>> which shows a tooltip of "command: nm-applet"
>
>
> Command: nm-applet
>
>
>> Might this somehow have become unset?
>> I'm not sure if it's possible for GUI config helpers to become
>> detached from actual settings - this seems to describe the relevant
>> locations:
>> https://unix.stackexchange.com/questions/669372/xfce4-session-and-startup-where-are-autostart-items-saved
>
>
> 2024-04-17 11:21:06 dpchrist@laalaa ~
> $ grep nm-applet ~/.config/autostart
> grep: /home/dpchrist/.config/autostart: No such file or directory
>
> 2024-04-17 11:33:11 dpchrist@laalaa ~
> $ find .config -name autostart
>
> 2024-04-17 11:33:22 dpchrist@laalaa ~
> $
>
>
> 2024-04-17 11:34:14 dpchrist@laalaa ~
> $ grep -r nm-applet /etc/xdg/autostart
> /etc/xdg/autostart/nm-applet.desktop:Exec=nm-applet
> /etc/xdg/autostart/nm-applet.desktop:X-GNOME-Bugzilla-Component=nm-applet
>
>
> My WAG is that nm-applet is failing to start, but I have been unable
> to find if and where any error message is reported.
>

What are the permissions on the nm-applet binary? maybe it doesn't have
permission to execute, or the process which starts it doesn't have
permission.



Re: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-17 Thread Charles Curley
On Wed, 17 Apr 2024 11:41:24 -0700
David Christensen  wrote:

> My WAG is that nm-applet is failing to start, but I have been unable
> to find if and where any error message is reported.

My instance of nm-applet does run, and I see this as part of the boot
process:

root@hawk:~# journalctl -b | grep nm-app
Apr 15 11:27:42 hawk NetworkManager[1354]:   [1713202062.7737] 
agent-manager: agent[108f011a1115d508,:1.131/org.freedesktop.nm-applet/1000]: 
agent registered
root@hawk:~# 

I suspect that if nm-applet doesn't start, you won't see any output
from that command.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-17 Thread David Christensen

 Forwarded Message 
Subject: Re: Debian 11 Xfce panel Network Manager applet has disappeared
Date: Wed, 17 Apr 2024 01:18:34 -0700
From: David Christensen 
To: Gareth Evans 

On 4/16/24 08:56, Gareth Evans wrote:

On 16 Apr 2024, at 00:18, David Christensen  wrote:

On 4/15/24 09:21, Gareth Evans wrote:

On Sun 14/04/2024 at 13:29, David Christensen wrote:
...
I have used the Xfce panel Network Manager applet for many years.
Tonight, I noticed that it has disappeared (!).
...

2024-04-15 16:08:23 dpchrist@laalaa ~
$ ps aux | grep nm-applet
dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 nm-applet
dpchrist1940  0.0  0.0   3240   644 pts/0S+   16:15   0:00 grep 
nm-applet

2024-04-15 16:15:12 dpchrist@laalaa ~
$ nm-applet

2024-04-15 16:15:31 dpchrist@laalaa ~
$ ps aux | grep nm-applet
dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 nm-applet
dpchrist1952  0.0  0.0   3240   644 pts/0S+   16:15   0:00 grep 
nm-applet


That seems to show it's running from the outset, just not being displayed on 
the panel.

Does rebooting (or logging out and in again) bring it back?



No.


David



Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-17 Thread David Christensen

 Forwarded Message 
Subject: Re: Debian 11 Xfce panel Network Manager applet has disappeared
Date: Wed, 17 Apr 2024 11:38:49 -0700
From: David Christensen 
To: Gareth Evans 

On 4/17/24 03:47, Gareth Evans wrote:

On Wed 17/04/2024 at 09:18, David Christensen  wrote:

On 4/16/24 08:56, Gareth Evans wrote:

On 16 Apr 2024, at 00:18, David Christensen  wrote:

On 4/15/24 09:21, Gareth Evans wrote:

On Sun 14/04/2024 at 13:29, David Christensen wrote:
...
I have used the Xfce panel Network Manager applet for many years.
Tonight, I noticed that it has disappeared (!).
...

2024-04-15 16:08:23 dpchrist@laalaa ~
$ ps aux | grep nm-applet
dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 nm-applet
dpchrist1940  0.0  0.0   3240   644 pts/0S+   16:15   0:00 grep 
nm-applet

2024-04-15 16:15:12 dpchrist@laalaa ~
$ nm-applet

2024-04-15 16:15:31 dpchrist@laalaa ~
$ ps aux | grep nm-applet
dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 nm-applet
dpchrist1952  0.0  0.0   3240   644 pts/0S+   16:15   0:00 grep 
nm-applet


That seems to show it's running from the outset, just not being displayed on 
the panel.

Does rebooting (or logging out and in again) bring it back?



No.


OK.  You may have checked this already, but in case not, if I install XFCE and 
go to

Settings > Session and Startup > Application Autostart

there is an entry in the list called

"Network (Manage your network connections)"



It is checked.



which shows a tooltip of "command: nm-applet"



Command: nm-applet



Might this somehow have become unset?

I'm not sure if it's possible for GUI config helpers to become detached from 
actual settings - this seems to describe the relevant locations:

https://unix.stackexchange.com/questions/669372/xfce4-session-and-startup-where-are-autostart-items-saved



2024-04-17 11:21:06 dpchrist@laalaa ~
$ grep nm-applet ~/.config/autostart
grep: /home/dpchrist/.config/autostart: No such file or directory

2024-04-17 11:33:11 dpchrist@laalaa ~
$ find .config -name autostart

2024-04-17 11:33:22 dpchrist@laalaa ~
$


2024-04-17 11:34:14 dpchrist@laalaa ~
$ grep -r nm-applet /etc/xdg/autostart
/etc/xdg/autostart/nm-applet.desktop:Exec=nm-applet
/etc/xdg/autostart/nm-applet.desktop:X-GNOME-Bugzilla-Component=nm-applet


My WAG is that nm-applet is failing to start, but I have been unable to 
find if and where any error message is reported.



David



Re: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-15 Thread David Christensen

On 4/15/24 09:21, Gareth Evans wrote:

On Sun 14/04/2024 at 13:29, David Christensen wrote:

...
I have used the Xfce panel Network Manager applet for many years.
Tonight, I noticed that it has disappeared (!).
...

Hi David,

I can't speak for XFCE, but certainly for Mate there was a time when multiple 
notification area panel widgets were available, not all of which would show 
everything to be expected.  Is that a possibility?

Does

$ ps aux |grep nm-applet

show anything?  Before or after

$ nm-applet

?



2024-04-15 16:08:23 dpchrist@laalaa ~
$ ps aux | grep nm-applet
dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 nm-applet
dpchrist1940  0.0  0.0   3240   644 pts/0S+   16:15   0:00 grep 
nm-applet


2024-04-15 16:15:12 dpchrist@laalaa ~
$ nm-applet

2024-04-15 16:15:31 dpchrist@laalaa ~
$ ps aux | grep nm-applet
dpchrist1518  0.1  0.2 426500 35380 ?Sl   16:06   0:00 nm-applet
dpchrist1952  0.0  0.0   3240   644 pts/0S+   16:15   0:00 grep 
nm-applet



David



Re: Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-15 Thread Gareth Evans
On Sun 14/04/2024 at 13:29, David Christensen  wrote:
> debian-user:
>
> I have a Dell Latitude E6520:
>
> 2024-04-14 04:28:39 dpchrist@laalaa ~
> $ cat /etc/debian_version ; uname -a
> 11.9
> Linux laalaa 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) 
> x86_64 GNU/Linux
>
> 2024-04-14 04:34:40 dpchrist@laalaa ~
> $ dpkg-query -l xfce4 network-manager network-manager-gnome
> Desired=Unknown/Install/Remove/Purge/Hold
> | 
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name  Version  Architecture Description
> +++-=---=
> ii  network-manager   1.30.6-1+deb11u1 amd64network 
> management framework (daemon and userspace tools)
> ii  network-manager-gnome 1.20.0-3 amd64network 
> management framework (GNOME frontend)
> ii  xfce4 4.16 all  Meta-package 
> for 
> the Xfce Lightweight Desktop Environment
>
>
> I have used the Xfce panel Network Manager applet for many years. 
> Tonight, I noticed that it has disappeared (!).
>
>
> But, the machine is connected to my LAN:
>
> 2024-04-14 05:24:10 root@laalaa ~
> # ifconfig wlp3s0
> wlp3s0: flags=4163  mtu 1500
>  inet 192.168.REDACTED  netmask 255.255.255.0  broadcast 
> 192.168.REDACTED
>  inet6 REDACTED  prefixlen 64  scopeid 0x20
>  ether REDACTED  txqueuelen 1000  (Ethernet)
>  RX packets 5786  bytes 2830592 (2.6 MiB)
>  RX errors 0  dropped 119  overruns 0  frame 0
>  TX packets 3897  bytes 518278 (506.1 KiB)
>  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
>
> Looking in the the Xfce panel Application Menu, I am unable to find 
> Network Manager.
>
>
> Looking at the Debian WIKI page "NetworkManager":
>
> https://wiki.debian.org/NetworkManager
>
>
> It looks like the Network Manager daemon is running:
>
> 2024-04-14 04:32:49 dpchrist@laalaa ~
> $ ps -A | grep -i network
>  828 ?00:00:00 NetworkManager
>
>
> nm-applet(1) looks like the program I want (?).  Attempting to start it 
> via a terminal has no effect:
>
> 2024-04-14 04:40:25 dpchrist@laalaa ~
> $ which nm-applet
> /usr/bin/nm-applet
>
> 2024-04-14 05:27:05 dpchrist@laalaa ~
> $ nm-applet
>
> 2024-04-14 05:27:08 dpchrist@laalaa ~
> $
>
>
> RTFM nm-applet(1), it seems the desktop session manager is failing to 
> start nm-applet(1) (?):
>
> 2024-04-14 04:58:49 dpchrist@laalaa ~
> $ man nm-applet | cat
> ...
> DESCRIPTION
> nm-applet  is  a GTK-based GUI applet to monitor network status
> and devices and to start and stop network  connections  managed
> by  NetworkManager.   nm-applet is normally started at login by
> the desktop session manager and does not need to be  run  manu-
> ally.   nm-applet conforms to the XDG System Tray specification
> and requires that the desktop environment provide a System Tray
> implementation in which the applet will be embedded.
>
>
> I am unable to find relevant error messages under /var/log.
>
>
> The network Connection Editor can be run via a terminal:
>
> 2024-04-14 04:55:29 dpchrist@laalaa ~
> $ which nm-connection-editor
> /usr/bin/nm-connection-editor
>
> 2024-04-14 04:55:38 dpchrist@laalaa ~
> $ nm-connection-editor
>
>
> Does anyone know why the Network Manager Xfce panel applet is missing, 
> how to get it back, and/or how to start it some other way?
>
>
> David

Hi David,

I can't speak for XFCE, but certainly for Mate there was a time when multiple 
notification area panel widgets were available, not all of which would show 
everything to be expected.  Is that a possibility?

Does 

$ ps aux |grep nm-applet

show anything?  Before or after

$ nm-applet

?



Debian 11 Xfce panel Network Manager applet has disappeared

2024-04-14 Thread David Christensen

debian-user:

I have a Dell Latitude E6520:

2024-04-14 04:28:39 dpchrist@laalaa ~
$ cat /etc/debian_version ; uname -a
11.9
Linux laalaa 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) 
x86_64 GNU/Linux


2024-04-14 04:34:40 dpchrist@laalaa ~
$ dpkg-query -l xfce4 network-manager network-manager-gnome
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version  Architecture Description
+++-=---=
ii  network-manager   1.30.6-1+deb11u1 amd64network 
management framework (daemon and userspace tools)
ii  network-manager-gnome 1.20.0-3 amd64network 
management framework (GNOME frontend)
ii  xfce4 4.16 all  Meta-package for 
the Xfce Lightweight Desktop Environment



I have used the Xfce panel Network Manager applet for many years. 
Tonight, I noticed that it has disappeared (!).



But, the machine is connected to my LAN:

2024-04-14 05:24:10 root@laalaa ~
# ifconfig wlp3s0
wlp3s0: flags=4163  mtu 1500
inet 192.168.REDACTED  netmask 255.255.255.0  broadcast 
192.168.REDACTED

inet6 REDACTED  prefixlen 64  scopeid 0x20
ether REDACTED  txqueuelen 1000  (Ethernet)
RX packets 5786  bytes 2830592 (2.6 MiB)
RX errors 0  dropped 119  overruns 0  frame 0
TX packets 3897  bytes 518278 (506.1 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Looking in the the Xfce panel Application Menu, I am unable to find 
Network Manager.



Looking at the Debian WIKI page "NetworkManager":

https://wiki.debian.org/NetworkManager


It looks like the Network Manager daemon is running:

2024-04-14 04:32:49 dpchrist@laalaa ~
$ ps -A | grep -i network
828 ?00:00:00 NetworkManager


nm-applet(1) looks like the program I want (?).  Attempting to start it 
via a terminal has no effect:


2024-04-14 04:40:25 dpchrist@laalaa ~
$ which nm-applet
/usr/bin/nm-applet

2024-04-14 05:27:05 dpchrist@laalaa ~
$ nm-applet

2024-04-14 05:27:08 dpchrist@laalaa ~
$


RTFM nm-applet(1), it seems the desktop session manager is failing to 
start nm-applet(1) (?):


2024-04-14 04:58:49 dpchrist@laalaa ~
$ man nm-applet | cat
...
DESCRIPTION
   nm-applet  is  a GTK-based GUI applet to monitor network status
   and devices and to start and stop network  connections  managed
   by  NetworkManager.   nm-applet is normally started at login by
   the desktop session manager and does not need to be  run  manu-
   ally.   nm-applet conforms to the XDG System Tray specification
   and requires that the desktop environment provide a System Tray
   implementation in which the applet will be embedded.


I am unable to find relevant error messages under /var/log.


The network Connection Editor can be run via a terminal:

2024-04-14 04:55:29 dpchrist@laalaa ~
$ which nm-connection-editor
/usr/bin/nm-connection-editor

2024-04-14 04:55:38 dpchrist@laalaa ~
$ nm-connection-editor


Does anyone know why the Network Manager Xfce panel applet is missing, 
how to get it back, and/or how to start it some other way?



David