Xfce 4 and/or Firefox strange system notification behaviour.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Xfce 4 and/or Firefox strange system notification behaviour.
Hi: When I am out of reach of the wi-fi modem, and hence working off line, I get interrupted every three minutes by a dialog box with title "Authenticate" and the following contents:
Code:
System policy prevents modification of network settings for all users.
An application is attempting to perform an action that requires privileges. Authentication as the superuser is required to perform this action.
An then the password for root is asked for. Clicking 'Details' gives
Desktop manager is Xfce 4.10, web browser Mozilla Firefox ESR 24.1.0. Having read this notification, and having seen NetworkManager is the name of an executable file in my system (slackware 14.1) and was shown by the ps command, I killed it and described behavior ceased. However what happens if I want to go back online? I would have to restart the system. Any other solution besides killing that process?
I thought maybe by killing NetworkManager
Seems that NetworkManager is configured with option 'all users may connect to this network' disabled, and option 'Automatically connect to this network when it is available' enabled.
If you want to get rid of the authenticate dialog box which comes every three minute, you can disable the option 'Automatically connect to this network when it is available'. In that case, you'll have to connect manually to the network.
If you want to be able to connect to the network without to have to enter root password, you can enable the option 'All users may connect to this network'.
To access these configuration options, click the network icon in the system-tray, and select the configuration icon (it looks like a 'tool' on 14.2, but I don't remember what it is on 14.1), select the connection, click edit, and select 'general configuration' tab.
I'll tell you what I can see, when I start X as root (Xfce 4.10, Firefox ESR 24.1. 0) On the right side of the clock there is a "Wi-Fi network connection" icon. On the right side of this, a battery icon". Mine is a notebook and I only use Wifi for internet. Clicking the second icon (Wifi) I can see no configuration icon. All of these three icons are on a bar on top of the screen, let us call it system-tray as phenixia does. So I think we are speakiing about different things. what else could the explanation be for this discrepancy?
try Left-click on the icon (screen-like when ethernet is connected; bunch of bars when wifi is connected), this would show available connections;
Right-click on the icon allows you to change settings; one of them to disable wifi, if needed.
At least this is on current (which changed from 14.1) and I just moved from wicd to networkmanager and am learning as well (especially linking scripts to particular connections via the dispatcher...)
I'll tell you what I can see, when I start X as root (Xfce 4.10, Firefox ESR 24.1. 0) On the right side of the clock there is a "Wi-Fi network connection" icon. On the right side of this, a battery icon". Mine is a notebook and I only use Wifi for internet. Clicking the second icon (Wifi) I can see no configuration icon. All of these three icons are on a bar on top of the screen, let us call it system-tray as phenixia does. So I think we are speakiing about different things. what else could the explanation be for this discrepancy?
nm-applet from 14.1 is a bit different from 14.2, that's certainly why you didn't' find the icon I talked about. Instead, run nm-connection-editor, select the connection you want to modify, click 'Edit', then, in tab 'General' you'll find the options 'Automatically connect to this network when it is available' and 'all users may connect to this network'.
Below is a screenshot of nm-connection-editor from 14.2. Things might be a bit different on 14.1.
Otherwise, you can do that on the command line using nmcli.
First, unless you know it, run nmcli to get your connection name :
Code:
$ nmcli con
NAME UUID TYPE DEVICE
my_connection_name f0620740-e2e2-dc43-a3af-8217e6b329ee 802-3-ethernet eth0
To get parameters of connection my_connection_name, run nmcli as below :
Code:
$ nmcli con show my_connection_name
connection.id: my_connection_name
connection.uuid: f0620740-e2e2-dc43-a3af-8217e6b329ee
connection.interface-name: --
connection.type: 802-3-ethernet
connection.autoconnect: yes
connection.autoconnect-priority: 0
connection.timestamp: 1503823093
connection.read-only: no
connection.permissions:
If you want to disable auto-connection, run nmcli as below :
Code:
$ nmcli con modify my_connection_name connection.autoconnect FALSE
if you want that only some users have access to my_connection_name, run nmcli as below :
Code:
$ nmcli con modify my_connection_name connection.permissions username[,username ...]
And, to allow access to this connection to all users, run nmcli as below :
Code:
$ nmcli con modify my_connection_name connection.permissions ""
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.