Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared
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
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
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
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
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
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
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
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: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared
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
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
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
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
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
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.