Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #268916 > unrolled thread

Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

Started byDavid Christensen <dpchrist@holgerdanske.com>
First post2024-04-17 20:50 +0200
Last post2024-04-18 20:00 +0200
Articles 17 — 7 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Fwd: Debian 11 Xfce panel Network Manager applet has disappeared David Christensen <dpchrist@holgerdanske.com> - 2024-04-17 20:50 +0200
    Re: Debian 11 Xfce panel Network Manager applet has disappeared Charles Curley <charlescurley@charlescurley.com> - 2024-04-17 21:10 +0200
      Re: Debian 11 Xfce panel Network Manager applet has disappeared David Christensen <dpchrist@holgerdanske.com> - 2024-04-18 12:10 +0200
    Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared Richmond <dnomhcir@gmx.com> - 2024-04-17 21:50 +0200
      Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared eben@gmx.us - 2024-04-17 23:00 +0200
        Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared David Christensen <dpchrist@holgerdanske.com> - 2024-04-18 11:40 +0200
          Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared Florent Rougon <f.rougon@free.fr> - 2024-04-19 09:20 +0200
            Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared David Christensen <dpchrist@holgerdanske.com> - 2024-04-19 21:30 +0200
      Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared David Christensen <dpchrist@holgerdanske.com> - 2024-04-18 11:30 +0200
        Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared eben@gmx.us - 2024-04-18 14:40 +0200
          Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared David Christensen <dpchrist@holgerdanske.com> - 2024-04-18 19:40 +0200
    Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared "Gareth Evans" <donotspam@fastmail.fm> - 2024-04-18 04:50 +0200
      Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared David Christensen <dpchrist@holgerdanske.com> - 2024-04-18 12:10 +0200
        Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared Max Nikulin <manikulin@gmail.com> - 2024-04-18 16:30 +0200
          Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared David Christensen <dpchrist@holgerdanske.com> - 2024-04-18 19:50 +0200
        Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared "Gareth Evans" <donotspam@fastmail.fm> - 2024-04-18 18:50 +0200
          Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared David Christensen <dpchrist@holgerdanske.com> - 2024-04-18 20:00 +0200

#268916 — Fwd: Debian 11 Xfce panel Network Manager applet has disappeared

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-04-17 20:50 +0200
SubjectFwd: Debian 11 Xfce panel Network Manager applet has disappeared
Message-ID<Iuiw2-6WWR-9@gated-at.bofh.it>
-------- 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 <dpchrist@holgerdanske.com>
To: Gareth Evans <donotspam@fastmail.fm>

On 4/17/24 03:47, Gareth Evans wrote:
> On Wed 17/04/2024 at 09:18, David Christensen <dpchrist@holgerdanske.com> wrote:
>> On 4/16/24 08:56, Gareth Evans wrote:
>>> On 16 Apr 2024, at 00:18, David Christensen <dpchrist@holgerdanske.com> 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
>>>> dpchrist    1518  0.1  0.2 426500 35380 ?        Sl   16:06   0:00 nm-applet
>>>> dpchrist    1940  0.0  0.0   3240   644 pts/0    S+   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
>>>> dpchrist    1518  0.1  0.2 426500 35380 ?        Sl   16:06   0:00 nm-applet
>>>> dpchrist    1952  0.0  0.0   3240   644 pts/0    S+   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

[toc] | [next] | [standalone]


#268919

FromCharles Curley <charlescurley@charlescurley.com>
Date2024-04-17 21:10 +0200
Message-ID<IuiPn-6Xj8-11@gated-at.bofh.it>
In reply to#268916
On Wed, 17 Apr 2024 11:41:24 -0700
David Christensen <dpchrist@holgerdanske.com> 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]: <info>  [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/

[toc] | [prev] | [next] | [standalone]


#268934

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-04-18 12:10 +0200
Message-ID<IuwSl-76hh-13@gated-at.bofh.it>
In reply to#268919
On 4/17/24 12:07, Charles Curley wrote:
> On Wed, 17 Apr 2024 11:41:24 -0700
> David Christensen <dpchrist@holgerdanske.com> 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]: <info>  [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]: <info>  [1713434499.3660] 
agent-manager: 
agent[2a08cda7fa35849b,:1.48/org.freedesktop.nm-applet/13250]: agent 
registered


David

[toc] | [prev] | [next] | [standalone]


#268920

FromRichmond <dnomhcir@gmx.com>
Date2024-04-17 21:50 +0200
Message-ID<Iujs6-6Xyb-11@gated-at.bofh.it>
In reply to#268916
David Christensen <dpchrist@holgerdanske.com> 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 <dpchrist@holgerdanske.com>
> To: Gareth Evans <donotspam@fastmail.fm>
>
> On 4/17/24 03:47, Gareth Evans wrote:
>> On Wed 17/04/2024 at 09:18, David Christensen <dpchrist@holgerdanske.com> wrote:
>>> On 4/16/24 08:56, Gareth Evans wrote:
>>>> On 16 Apr 2024, at 00:18, David Christensen <dpchrist@holgerdanske.com> 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
>>>>> dpchrist    1518  0.1  0.2 426500 35380 ?        Sl   16:06   0:00 nm-applet
>>>>> dpchrist    1940  0.0  0.0   3240   644 pts/0    S+   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
>>>>> dpchrist    1518  0.1  0.2 426500 35380 ?        Sl   16:06   0:00 nm-applet
>>>>> dpchrist    1952  0.0  0.0   3240   644 pts/0    S+   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.

[toc] | [prev] | [next] | [standalone]


#268921

Fromeben@gmx.us
Date2024-04-17 23:00 +0200
Message-ID<IukxP-6Y9N-1@gated-at.bofh.it>
In reply to#268920
On 4/17/24 15:37, Richmond wrote:> David Christensen
<dpchrist@holgerdanske.com> 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

[toc] | [prev] | [next] | [standalone]


#268930

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-04-18 11:40 +0200
Message-ID<Iuwpj-75KC-1@gated-at.bofh.it>
In reply to#268921
On 4/17/24 13:56, eben@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_crypt    12084M 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

[toc] | [prev] | [next] | [standalone]


#268964

FromFlorent Rougon <f.rougon@free.fr>
Date2024-04-19 09:20 +0200
Message-ID<IuQHo-7jLV-1@gated-at.bofh.it>
In reply to#268930
Hi,

Le 18/04/2024, David Christensen <dpchrist@holgerdanske.com> 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_crypt    12084M 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

[toc] | [prev] | [next] | [standalone]


#268969

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-04-19 21:30 +0200
Message-ID<Iv25P-7rjJ-13@gated-at.bofh.it>
In reply to#268964

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [prev] | [next] | [standalone]


#268929

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-04-18 11:30 +0200
Message-ID<IuwfD-75EX-1@gated-at.bofh.it>
In reply to#268920
On 4/17/24 12:37, Richmond wrote:
> David Christensen <dpchrist@holgerdanske.com> 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

[toc] | [prev] | [next] | [standalone]


#268942

Fromeben@gmx.us
Date2024-04-18 14:40 +0200
Message-ID<Iuzdv-78a3-3@gated-at.bofh.it>
In reply to#268929
On 4/18/24 05:27, David Christensen wrote:
> On 4/17/24 12:37, Richmond wrote:
>> David Christensen <dpchrist@holgerdanske.com> 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

[toc] | [prev] | [next] | [standalone]


#268957

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-04-18 19:40 +0200
Message-ID<IuDTP-7bw1-3@gated-at.bofh.it>
In reply to#268942
On 4/18/24 05:34, eben@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
    1530    1379 nm-applet
    3937    3865 grep nm-applet

2024-04-18 10:27:44 dpchrist@laalaa ~
$ ps -Ao "%p %P %a" | grep 1379
    1379    1344 xfce4-session
    1421    1379 /usr/bin/ssh-agent x-session-manager
    1458    1379 xfwm4 --display :0.0 --sm-client-id 
2d1bdc0a5-06f2-4835-944e-7e402203bd9f
    1471    1379 xfsettingsd --display :0.0 --sm-client-id 
29896f657-477c-498a-8156-db9d51f74bcf
    1497    1379 xfce4-panel --display :0.0 --sm-client-id 
23fd394e3-a4ee-485b-b43c-38bf845d6699
    1501    1379 xfdesktop --display :0.0 --sm-client-id 
2c913de99-acac-4d70-b6e9-8eda44b6f6da
    1506    1379 xfce4-power-manager --restart --sm-client-id 
24cebdb39-bdc2-496f-aab0-7b11397b48d3
    1513    1379 /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd
    1515    1379 light-locker
    1516    1379 /usr/bin/python3 /usr/share/system-config-printer/applet.py
    1517    1379 
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
    1524    1379 xiccd
    1530    1379 nm-applet
    3940    3865 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

[toc] | [prev] | [next] | [standalone]


#268924

From"Gareth Evans" <donotspam@fastmail.fm>
Date2024-04-18 04:50 +0200
Message-ID<Iuq0x-71EB-3@gated-at.bofh.it>
In reply to#268916
On Wed 17/04/2024 at 19:41, David Christensen <dpchrist@holgerdanske.com> 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 <dpchrist@holgerdanske.com>
> To: Gareth Evans <donotspam@fastmail.fm>
>
> On 4/17/24 03:47, Gareth Evans wrote:
>> On Wed 17/04/2024 at 09:18, David Christensen <dpchrist@holgerdanske.com> wrote:
>>> On 4/16/24 08:56, Gareth Evans wrote:
>>>> On 16 Apr 2024, at 00:18, David Christensen <dpchrist@holgerdanske.com> 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
>>>>> dpchrist    1518  0.1  0.2 426500 35380 ?        Sl   16:06   0:00 nm-applet
>>>>> dpchrist    1940  0.0  0.0   3240   644 pts/0    S+   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
>>>>> dpchrist    1518  0.1  0.2 426500 35380 ?        Sl   16:06   0:00 nm-applet
>>>>> dpchrist    1952  0.0  0.0   3240   644 pts/0    S+   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
>>>>> dpchrist    1518  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

[toc] | [prev] | [next] | [standalone]


#268933

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-04-18 12:10 +0200
Message-ID<IuwSl-76hh-11@gated-at.bofh.it>
In reply to#268924
On 4/17/24 19:41, Gareth Evans wrote:
> On Wed 17/04/2024 at 19:41, David Christensen <dpchrist@holgerdanske.com> wrote:
>> On 4/17/24 03:47, Gareth Evans wrote:
>>> On Wed 17/04/2024 at 09:18, David Christensen <dpchrist@holgerdanske.com> wrote:
>>>> On 4/16/24 08:56, Gareth Evans wrote:
>>>>> On 16 Apr 2024, at 00:18, David Christensen <dpchrist@holgerdanske.com> 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
>>>>>> dpchrist    1518  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
dpchrist    1526  0.1  0.2 426484 35256 ?        Sl   02:44   0:00 nm-applet
dpchrist    1869  0.0  0.0   3240   712 pts/0    S+   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/: xfce4-taskmanager.rc
Files 
.config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/displays.xml 
and .config/xfce4/xfconf/xfce-perchannel-xml/displays.xml differ
Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: 
keyboards.xml
Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: parole.xml
Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: 
pointers.xml
Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: 
ristretto.xml
Files 
.config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/thunar.xml and 
.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml differ
Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: 
xfce4-appfinder.xml
Files 
.config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/xfce4-desktop.xml 
and .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml differ
Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: 
xfce4-notifyd.xml
Files 
.config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/xfce4-panel.xml 
and .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml differ
Files 
.config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml 
and .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml differ
Files 
.config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/xfce4-session.xml 
and .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml differ
Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: 
xfce4-settings-manager.xml
Files .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml/xfwm4.xml 
and .config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml differ
Only in .config/xfce4-20240418-180045/xfconf/xfce-perchannel-xml: 
xsettings.xml


Move the old directory back:

2024-04-18 02:59:28 dpchrist@laalaa ~
$ mv .config/xfce4 .config/xfce4-20240418-0257

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


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


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


Agreed.


David

[toc] | [prev] | [next] | [standalone]


#268945

FromMax Nikulin <manikulin@gmail.com>
Date2024-04-18 16:30 +0200
Message-ID<IuAVX-79xK-1@gated-at.bofh.it>
In reply to#268933
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?

[toc] | [prev] | [next] | [standalone]


#268958

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-04-18 19:50 +0200
Message-ID<IuE3y-7bzO-7@gated-at.bofh.it>
In reply to#268945
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

[toc] | [prev] | [next] | [standalone]


#268955

From"Gareth Evans" <donotspam@fastmail.fm>
Date2024-04-18 18:50 +0200
Message-ID<IuD7r-7b0f-1@gated-at.bofh.it>
In reply to#268933
On Thu 18/04/2024 at 11:05, David Christensen <dpchrist@holgerdanske.com> 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

[toc] | [prev] | [next] | [standalone]


#268959

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-04-18 20:00 +0200
Message-ID<IuEdb-7bDg-1@gated-at.bofh.it>
In reply to#268955
On 4/18/24 09:46, Gareth Evans wrote:
> On Thu 18/04/2024 at 11:05, David Christensen <dpchrist@holgerdanske.com> 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web