LightDM - insufficient privileges

I have four computers with Ubuntu 16.04, two have been updated from
15.10 to 16.04 and two were installed from scratch.

On machines that have been updated, you can select an already configured
connection (LightDM user can not create, change or remove connections)
before you log in. In the updated machine, an available connection is
automatically selected and so it is possible to ssh to the machine.

On machines that received the 16:04 version, LightDM user can not select
one of the connections previously created displaying the error
insufficient privileges.

After checking the logs and the differences in the configuration files
between the machines I realized that the files in /etc/NetworkManager
/system-connections/* had small differences!

Installed machines from scratch:

[Connection]
id=corona
uuid=4ce20be5-d5a0-41c5-820c-852136fade99
type=wifi
permissions=user:modolo:;
secondaries=

Updated machines:

[Connection]
id=corona
uuid=9bbd3c2b-295b-45e0-b1da-5c6b72e3734d
type=wifi
permissions=
secondaries=

What has changed, in my view, with the new NetworkManager is that even
when the connection is created and saved to ALL, permissions are created
only for the user who is editing the connection
(permissions=user:modolo:;).

After updating the permissions from "line=user:modolo:;" to
"permissions=" in all connections files you can select the same before
authentication and in addition, if any of the connections is active, it
is automatically selected.

I hope this helps and works for everyone.

Hugs,
Marcelo Modolo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574020

Title:
  Can't use networkmanager from lightdm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1574020/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to