Summary: | gnome-extra/nm-applet-0.7.2 not started in LXDE if login account is not root | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | CaptainBlood <luc_pierard_de_maujouy> |
Component: | Current packages | Assignee: | Nirbheek Chauhan (RETIRED) <nirbheek> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | dagger, steev |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
CaptainBlood
2010-03-03 08:37:02 UTC
just to clarify details about the involed logins --------------------------------------- =>User captainbloodm ~ $ groups lp wheel cron audio cdrom users portage --------------------------------------- =>Root captainblood@m ~ $ su - Mot de passe : m ~ # groups root bin daemon sys adm disk wheel floppy dialout tape video You should have read the message in pkg_postinst elog "To save system-wide settings as a user, that user needs to have the" elog "right policykit privileges. You can add them by running:" elog 'polkit-auth --grant org.freedesktop.network-manager-settings.system.modify --user "USERNAME"' Also, you need to be in the plugdev group. I added my user to plugdev: captainblood@m ~ $ groups lp wheel cron audio cdrom users portage plugdev polkit authorisation was already set: captainblood@m ~ $ polkit-auth --grant org.freedesktop.network-manager-settings.system.modify --user "captainblood" polkit-auth: AuthorizationAlreadyExists: An authorization for uid 1000 for the action org.freedesktop.network-manager-settings.system.modify with constraint '' already exists according to the following file : cat /etc/dbus-1/system.d/nm-applet.conf <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <busconfig> <policy user="root"> <allow own="org.freedesktop.NetworkManagerUserSettings"/> <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/> <!-- Only root can get secrets --> <allow send_destination="org.freedesktop.NetworkManagerUserSettings" send_interface="org.freedesktop.NetworkManagerSettings.Connection.Secrets"/> </policy> <policy at_console="true"> <allow own="org.freedesktop.NetworkManagerUserSettings"/> <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/> <!-- Only root can get secrets --> <deny send_destination="org.freedesktop.NetworkManagerUserSettings" send_interface="org.freedesktop.NetworkManagerSettings.Connection.Secrets"/> </policy> <policy context="default"> <deny send_destination="org.freedesktop.NetworkManagerUserSettings"/> <allow send_destination="org.freedesktop.NetworkManagerUserSettings" send_interface="org.freedesktop.DBus.Introspectable"/> </policy> <limit name="max_replies_per_connection">512</limit> </busconfig> it seems like "<policy at_console="true">" must be satisfied when user is not root. And I don't know how to do it. plugdev group seems involved in /etc/dbus-1/system.d/NetworkManager.conf which states: <policy group="plugdev"> <allow send_destination="org.freedesktop.NetworkManager"/> <deny send_destination="org.freedesktop.NetworkManager" send_interface="org.freedesktop.NetworkManager.PPP"/> </policy> Please excuse me reopening this bug in case of a misunderstanding. nm-applet is not available in LXDE under regular user account (not root). Thanks for your attention (In reply to comment #3) > it seems like "<policy at_console="true">" must be satisfied when user is not > root. And I don't know how to do it. > You don't have consolekit running? It's a dependency of polkit, and should be enabled in the default runlevel by the user. No I didn't have running nor installed either. Maybe because LXDE is the only WM installed, which doesn't automatically includes console-kit. I must admit I've skipped the /usr/bin/ck-launch/session thing in .xinitrc at initial setup. Sorry, So I feel a bit culprit I reopen this bug. Things are back to order now, and I'm not running WM as root anymore 8). Guess it is time to close it now. I leave it up to you. Thanks for your patience. |