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:
2024-04-15 16:08:23 dpchrist@laalaa ~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 (!).
...
$ 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)"
which shows a tooltip of "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
-------- 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:OK. You may have checked this already, but in case not, if I
On 16 Apr 2024, at 00:18, David Christensen <dpchrist@holgerdanske.com> wrote:
On 4/15/24 09:21, Gareth Evans wrote:
2024-04-15 16:08:23 dpchrist@laalaa ~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 (!).
...
$ 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.
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.
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.
-------- 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:
2024-04-15 16:08:23 dpchrist@laalaa ~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 (!).
...
$ 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.
$ ps aux | grep nm-applet
dpchrist 1518 0.1 0.2 426500 35380 ? Sl 16:06 0:00 nm-applet
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?
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.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 (!).
...
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
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 timeago.
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.
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
Move aside the ~/.config/xfce4 directory:
...
Restart -- screen with wallpaper alone.
...
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.
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?
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?
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% /
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (1 / 15) |
Uptime: | 160:38:08 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,056 |
Messages: | 6,416,493 |