On 2017-03-25 07:50, Andrei Borzenkov wrote:
Also happens when you try to save new connection with "All users may connect to this network" enabled or actually running any other NM toosl (nmcli, nmtui).
I'm not familiar with nmcli, but it appears to work: cer@minas-tirith:~> nmcli g STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN connected full enabled enabled enabled disabled cer@minas-tirith:~> nmcli d DEVICE TYPE STATE CONNECTION wlan0 wifi connected Minhiriath2 eth0 ethernet unavailable -- lo loopback unmanaged -- cer@minas-tirith:~> nmcli n enabled cer@minas-tirith:~> nmcli r WIFI-HW WIFI WWAN-HW WWAN enabled enabled enabled disabled cer@minas-tirith:~> nmcli a nmcli successfully registered as a NetworkManager's secret agent. nmcli successfully registered as a polkit agent. [hangs here] ^C Error: nmcli terminated by signal Interrupt (2)
You need polkit authentication agent running as part of your login session. XFCE should use gnome-polkit (/usr/lib/polkit-gnome-authentication-agent-1). If you start it, you will get authentication request.
cer@minas-tirith:~> ps afxu | grep polkit cer 951 0.0 0.0 10544 1640 pts/23 S+ 14:14 0:00 | | \_ grep --color=auto polkit polkitd 3682 0.0 0.3 529800 14292 ? Ssl Mar14 1:56 /usr/lib/polkit-1/polkitd --no-debug It is not that one? I see in Settings/Session and Startup, tab Application autostart, a line: [ ] PolicyKit Authentication Agent (PolicyKit Authentication Agent) So I'll mark that one and restart the session. [...] YES! Thank you, good catch! nmcli changed: cer@minas-tirith:~/Compilaciones> nmcli a nmcli successfully registered as a NetworkManager's secret agent. ** (process:3408): WARNING **: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject ^C Error: nmcli terminated by signal Interrupt (2) cer@minas-tirith:~/Compilaciones>
Related bug reports
https://bbs.archlinux.org/viewtopic.php?id=201439 https://bugs.freedesktop.org/show_bug.cgi?id=97445
Did it work for you in the past? The first thread indicates that autostart desktop file was dropped by gnome-polkit, so XFCE needs to make sure it starts it.
Yes, sure it did work. I created those network configs on XFCE, possible on 13.1 :-) If there is no bug report on our bugzilla I can create one. Unless a new install/user works (my machine is upgraded from 13.1) I'll see if I can test a new user. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))