LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-26-2017, 01:44 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
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
Code:
Action: org.freedesktop.NetworkManager.settings.modify.system
Vendor: NetworkManager
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
 
Old 08-26-2017, 02:05 PM   #2
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

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.

--
SeB
 
1 members found this post helpful.
Old 08-26-2017, 06:21 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks a lot for information so precise. Only I don't know what the system tray is. Anyway to access those config options through menus?

A further question: will these changes affect all users including root? Maybe it depends on who effects the changes, root or a regular user.
 
Old 08-26-2017, 10:46 PM   #4
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
The clock is in the tray. So are some other icons including Network Manager
 
Old 08-26-2017, 11:59 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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?
 
Old 08-27-2017, 05:07 AM   #6
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 977

Rep: Reputation: 239Reputation: 239Reputation: 239
It's possibly just not 'click':

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...)

hth
 
Old 08-27-2017, 05:17 AM   #7
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by stf92 View Post
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.

Click image for larger version

Name:	nm-connection-editor.jpg
Views:	18
Size:	52.6 KB
ID:	25789
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 ""


--
SeB
 
4 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Very strange browser behaviour (firefox) -- probably security related deleted23 Linux - General 11 03-24-2017 07:37 AM
Very strange browser behaviour (firefox) deleted23 Linux - General 1 03-18-2017 02:31 AM
Strange Firefox 3 behaviour with javascript search engine Gagarin Gambit Linux - Software 0 06-26-2008 06:43 PM
Strange behaviour in XFce when i enable glx and dri mr666white Linux - Software 3 02-21-2005 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration