• Debian 11 Xfce panel Network Manager applet has disappeared

    From David Christensen@21:1/5 to All on Sun Apr 14 14:30:01 2024
    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 (!).


    But, the machine is connected to my LAN:

    2024-04-14 05:24:10 root@laalaa ~
    # ifconfig wlp3s0
    wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.REDACTED netmask 255.255.255.0 broadcast 192.168.REDACTED
    inet6 REDACTED prefixlen 64 scopeid 0x20<link>
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gareth Evans@21:1/5 to David Christensen on Mon Apr 15 18:30:01 2024
    On Sun 14/04/2024 at 13:29, David Christensen <dpchrist@holgerdanske.com> 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 (!).


    But, the machine is connected to my LAN:

    2024-04-14 05:24:10 root@laalaa ~
    # ifconfig wlp3s0
    wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.REDACTED netmask 255.255.255.0 broadcast 192.168.REDACTED
    inet6 REDACTED prefixlen 64 scopeid 0x20<link>
    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

    ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Christensen@21:1/5 to Gareth Evans on Tue Apr 16 01:20:01 2024
    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
    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


    David

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to David Christensen on Wed Apr 17 21:10:01 2024
    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/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Christensen@21:1/5 to Charles Curley on Thu Apr 18 12:10:01 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Christensen@21:1/5 to David Christensen on Sat Apr 20 17:50:01 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gareth Evans@21:1/5 to All on Sun Apr 21 10:10:01 2024
    On 20 Apr 2024, at 16:49, David Christensen <dpchrist@holgerdanske.com> 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 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

    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!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)