gnome-extra/nm-applet-0.8 (and also the 0.7.2 when i tried some days ago) doesn't let me to make system connections since the checkbox "available to all users" is grey. There is no output if i start nm-applet from the shell and no output in the syslog too. I applied the policy specified in the warning of the networkmanager ebuild of course. I don't know if this makes some difference but i run nm-applet in KDE i don't have gnome installed. Reproducible: Always Steps to Reproduce: 1. Start nm-applet 2. make a new connection (a wireless or wired one for example) 3. notice that the checkbox "available to all users" is not clickable so it cannot be selected
Created attachment 226273 [details] a screenshot of the grey checkbox Here is a screenshot to better explain the problem. Btw i've forgotten to say: i don't know if this bug might be related to bug 250860 .. i don't think so but i mention it just in case....
No, this is not gnome.
(In reply to comment #2) > No, this is not gnome. > I'm sorry it is in the gnome-extra category this mislead me. I apologyse
(In reply to comment #3) > (In reply to comment #2) > > No, this is not gnome. > I'm sorry it is in the gnome-extra category this mislead me. I apologyse > See metadata.xml; re-assigning to correct maintainers. Also, check if you have the polkit authentication agent in your startup applications list [/usr/libexec/polkit-gnome-authentication-agent-1]
You are right polkit-gnome-authentication-agent-1 is not running. I tried to start it but i get this error (polkit-gnome-authentication-agent-1:3876): polkit-gnome-1-WARNING **: Unable to determine the session we are in: Remote Exception invoking org.freedesktop.ConsoleKit.Manager.GetSessionForUnixProcess() on /org/freedesktop/ConsoleKit/Manager at name org.freedesktop.ConsoleKit: org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '3876' org.freedesktop.ConsoleKit.Manager.GeneralError Unable%20to%20lookup%20session%20information%20for%20process%20%273876%27 console-kit-daemon is running
(In reply to comment #5) > You are right polkit-gnome-authentication-agent-1 is not running. I tried to > start it but i get this error What are the use-flags on pambase and consolekit for you; and which versions of those do you have? What groups are you in?
(In reply to comment #6) > What are the use-flags on pambase and consolekit for you; and which versions of > those do you have? What groups are you in? > sys-auth/pambase-20100310 cracklib sha512 -consolekit -debug -gnome-keyring -mktemp -passwdqc -selinux -ssh sys-auth/consolekit-0.4.1 pam policykit -debug -doc uid=1000(enrico) gid=1000(enrico) gruppi=0(root),6(disk),10(wheel),18(audio),19(cdrom),27(video),35(games),85(usb),100(users),250(portage),1000(enrico),1006(wireshark),1007(kvm),1010(plugdev),1011(polkituser) i guess i may need to compile pambase with consolekit enabled at this point
Sorry for the late i was busy. I compiled sys-auth/pambase with consolekit and gnome-keyworing. same result as before
ehm i meant gnome-keyring of course :)
A little update. I added consolekit and policykit USEs to my make.conf. Now /usr/libexec/polkit-gnome-authentication-agent-1 starts with (polkit-gnome-authentication-agent-1:4766): GLib-GObject-WARNING **: cannot register existing type `_PolkitError' (polkit-gnome-authentication-agent-1:4766): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed but this seems harmless to me. But this is not started by any program, i have to start it manually. Anyway started or not, nm-applet still doesn't let me to create system connections
This is odd, now it seems to work, the the checkbox "available to all users" is no more grey. i've not tested if it really works, but i will. The only thing i changed is the connection-sharing USE flag which is now enabled so i recompiled networkmanager (today). a note: /usr/libexec/polkit-gnome-authentication-agent-1 is not started so this seems to not be related.
Ok it seems to work, but i have to start /usr/libexec/polkit-gnome-authentication-agent-1 manually to be able to make the connection a system connection, otherwise the authentication dialog will not appear. I think a wiki page or an official gentoo guide should be written for networkmanager, it is not trivial to use it full featured, and fooding with ewarn is not a big deal eheh :)
Can you please try version 0.8.1-r3? It adds Gentoo specific plugin. Right now NM should be able to fully understand your Gentoo configuration and allow you to modify /etc/conf.d/net connections. I'm going to close this bug now. If you need any more help please re-open.
(In reply to comment #13) > Can you please try version 0.8.1-r3? It adds Gentoo specific plugin. Right now > NM should be able to fully understand your Gentoo configuration and allow you > to modify /etc/conf.d/net connections. > > I'm going to close this bug now. If you need any more help please re-open. > It is fixed with 0.8.0 too since i updated to kde-4.4, and i think this is becouse kde 4.4 has more support for polkit (polkit-kde-authentication-agent-1 is the winner) and more nm integration. Anyway i updated to nm 0.8.1 and it works except nm doesn't respect my hostname set in conf.d/hostname , it ask to the dhcp server for an hostname (but it also send the current hostname to the dhcp server and the dhcp server register it for the dns, but this is another bug and if you want i can open another entry for this if you want). Anyway i think i should check better something before (like my conf.d/net settings that might be out of date). Thank you very much :)