FS#29819 - [kdeplasma-applets-networkmanagement] Cannot create/change into system connection

Attached to Project: Arch Linux
Opened by Yaohan Chen (hagabaka) - Wednesday, 09 May 2012, 19:03 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 26 June 2012, 17:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The Network Managment plasmoid provides the option to create a system WiFi connection, meaning it is connected as soon as NetworkManager runs at start up, without the user needing to log in. However, attempting to create a system WiFi connection gives the error "insufficient priviledges", and attempting to set an existing WiFi connection as system connection has no effect.

Additional info:
* kdeplasma-applets-networkmanagement 1:0.9.0.2-1

* Output in ~/.xsession-errors when adding a system WiFi connection
Adding key-mgmt: wpa-psk
plasma-desktop(1873)/Network Management (NetworkManager backend) NMDBusSettingsConnectionProvi
der::onConnectionAddArrived: Adding connection failed: "Insufficient privileges."

* Output in .xession-errors when setting an existing WiFi connection as system connection
QFSFileEngine::open: No file name specified
kded(1787)/Network Management (NetworkManager backend) ConnectionDbus::fromDbusMap: Setting "802-1x" not initialized
Adding key-mgmt: wpa-psk
plasma-desktop(1873)/Network Management (NetworkManager backend) ConnectionDbus::fromDbusMap: Setting "802-1x" not initialized

Steps to reproduce:
In Network Management plasmoid,
1. Click "Manage Connections..."
2. Switch to "Wireless" tab

- Add a system connection
3. Click "Add...", and choose "Wireless"
4. Enter a correct SSID, check "System connection", and enter the correct security information
5. Click OK, and a dialog pops up saying "Insufficient priviledges"

- Set an existing connection as system connection
3. Select an existing WiFi connection, and click "Edit..."
4. Check "System connection"
5. Click OK
6. Edit the same connection again, and the "System connection" checkbox becomes unchecked again
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 26 June 2012, 17:26 GMT
Reason for closing:  Not a bug
Additional comments about closing:  see comments
Comment by Andrea Scarpino (BaSh) - Thursday, 10 May 2012, 08:48 GMT
Works for me. How do you start KDE?
This seems to be a CK issue.
Comment by Yaohan Chen (hagabaka) - Thursday, 10 May 2012, 08:56 GMT
I start KDM with /etc/inittab
x:5:respawn:/usr/bin/kdm -nodaemon

ck-list-session outputs
Session1:
unix-user = '1000'
realname = 'Yaohan Chen'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2012-05-09T12:36:48.020319Z'
login-session-id = ''
Comment by Andrea Scarpino (BaSh) - Thursday, 10 May 2012, 08:57 GMT
uhm...login-session-id is empty

Did you edit kdm config in any way?
Comment by Yaohan Chen (hagabaka) - Thursday, 10 May 2012, 09:32 GMT
I changed the KDM theme to "Ariya" before, other than that no. I reinstalled kdebase-workspace and it didn't fix the problem. Where does KDM keep config files anyway?

Also I tried to change KDM settings in System Settings just now, and pressing OK gives me an error "Unable to authenticate/execute the action: (code 4)". Is that related?
Comment by Andrea Scarpino (BaSh) - Thursday, 10 May 2012, 09:36 GMT
Yes, that's related.

The configurations are stored in /usr/share/config/kdm/, check for any *.pacnew file and replace your files with the pacnews.
Then logout or reboot, and try to reproduce this bug.
Comment by Yaohan Chen (hagabaka) - Thursday, 10 May 2012, 19:33 GMT
There were no pacnews in /usr/share/config/kdm/. I removed the directory and /usr/share/config/kdm.knsrc, and reinstalled kdebase-workspace, and restarted, and still have the same problem.
Comment by Yaohan Chen (hagabaka) - Friday, 11 May 2012, 05:58 GMT
For some reason it allowed me to set system connection just now. The problem came back after a while, and now I get "insufficient previledges" when I try to edit the connection again, but as you suggested it's probably not a problem with the package. Thanks for your help!

Loading...