You are not logged in.

#1 2012-07-25 15:27:54

Mocco
Member
Registered: 2012-07-12
Posts: 53

nm-applet not starting

Hi to everyone, I just installed arch x86_64 on my notebook with EFI, I am using also multilib and the xf86-video-intel driver. I installed gnome but not able to use networkmanager correctly, the applet is not starting even if it seems the daemon is running network settings says that net services are not compatible with this version. I followed the wiki about networkmanager and searched trough the forum and google to find a solution but I wasn't able to find one. Here is my ~/.xsession-errors:

 /etc/gdm/Xsession: Beginning session setup...
localuser:marco being added to access control list
/etc/gdm/Xsession: ssh-agent not found!
/etc/gdm/Xsession: Setup done, will execute: gnome-session
GNOME_KEYRING_CONTROL=/home/marco/.cache/keyring-7Vgwek
GNOME_KEYRING_CONTROL=/home/marco/.cache/keyring-7Vgwek
SSH_AUTH_SOCK=/home/marco/.cache/keyring-7Vgwek/ssh
GNOME_KEYRING_CONTROL=/home/marco/.cache/keyring-7Vgwek
SSH_AUTH_SOCK=/home/marco/.cache/keyring-7Vgwek/ssh
GPG_AGENT_INFO=/home/marco/.cache/keyring-7Vgwek/gpg:0:1
GNOME_KEYRING_CONTROL=/home/marco/.cache/keyring-7Vgwek
SSH_AUTH_SOCK=/home/marco/.cache/keyring-7Vgwek/ssh
Failed to play sound: File or data not found
Initializing tracker-store...
Tracker-Message: Setting up monitor for changes to config file:'/home/marco/.config/tracker/tracker-store.cfg'
Initializing tracker-miner-fs...
Tracker-Message: Setting up monitor for changes to config file:'/home/marco/.config/tracker/tracker-miner-fs.cfg'
Starting log:
  File:'/home/marco/.local/share/tracker/tracker-miner-fs.log'
Tracker-Message: Setting up monitor for changes to config file:'/home/marco/.config/tracker/tracker-store.cfg'
Starting log:
  File:'/home/marco/.local/share/tracker/tracker-store.log'

** (nm-applet:855): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Rejected send message, 2 matched rules; type="method_call", sender=":1.44" (uid=1000 pid=855 comm="nm-applet ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=500 comm="/usr/sbin/NetworkManager ")
** Message: applet now removed from the notification area
Avviso del window manager: Log level 16: Could not initialize NMClient /org/freedesktop/NetworkManager: Rejected send message, 2 matched rules; type="method_call", sender=":1.43" (uid=1000 pid=840 comm="/usr/bin/gnome-shell ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=500 comm="/usr/sbin/NetworkManager ")
** Message: applet now embedded in the notification area
Avviso del window manager: CurrentTime used to choose focus window; focus window may not be correct.
Avviso del window manager: Got a request to focus the no_focus_window with a timestamp of 0.  This shouldn't happen!
Avviso del window manager: Log level 16: _nm_remote_settings_ensure_inited: (NMRemoteSettings) error initializing: Rejected send message, 2 matched rules; type="method_call", sender=":1.43" (uid=1000 pid=840 comm="/usr/bin/gnome-shell ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=500 comm="/usr/sbin/NetworkManager ")


(gnome-shell:840): folks-WARNING **: Failed to find primary PersonaStore with type ID 'eds' and ID 'system'.
Individuals will not be linked properly and creating new links between Personas will not work.
The configured primary PersonaStore's backend may not be installed. If you are unsure, check with your distribution.

(gcm-calibrate:998): Gcm-WARNING **: La richiesta non è riuscita: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files


(gcm-calibrate:998): GLib-CRITICAL **: g_variant_unref: assertion `value->ref_count > 0' failed

(gcm-calibrate:998): Gcm-WARNING **: failed to calibrate: could not get calibration target image

(gcm-viewer:1008): Gcm-WARNING **: Error reading 'x' of 'vertex' number 0
Avviso del window manager: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1e0000b (SVS13A1C5E)
Avviso del window manager: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Avviso del window manager: CurrentTime used to choose focus window; focus window may not be correct.
Avviso del window manager: Got a request to focus the no_focus_window with a timestamp of 0.  This shouldn't happen!
Avviso del window manager: CurrentTime used to choose focus window; focus window may not be correct.
Avviso del window manager: Got a request to focus the no_focus_window with a timestamp of 0.  This shouldn't happen!

(gnome-control-center:1055): Gtk-WARNING **: Overriding tab label for notebook

(gnome-control-center:1055): Gtk-WARNING **: Overriding tab label for notebook

(gnome-control-center:1055): Gtk-WARNING **: Overriding tab label for notebook

** (gnome-control-center:1055): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Rejected send message, 2 matched rules; type="method_call", sender=":1.57" (uid=1000 pid=1055 comm="gnome-control-center --overview ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=500 comm="/usr/sbin/NetworkManager ")

(gnome-control-center:1055): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

** (gnome-control-center:1055): WARNING **: _nm_remote_settings_ensure_inited: (NMRemoteSettings) error initializing: Rejected send message, 2 matched rules; type="method_call", sender=":1.57" (uid=1000 pid=1055 comm="gnome-control-center --overview ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=500 comm="/usr/sbin/NetworkManager ")

Avviso del window manager: Got a request to focus 0x2000003 (Home) with a timestamp of 0.  This shouldn't happen! 

and here my rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
#   Note: Using "localtime" is discouraged, using "" makes hwclock fall back
#   to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
#   Note: if unset, the value in /etc/localtime is used unchanged
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="it_IT.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Rome"
KEYMAP="it"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
#   Replace every !module by an entry as on the following line in a file in
#   /etc/modprobe.d:
#     blacklist module
#   See "man modprobe.conf" for details.
#
MODULES=()

# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30

# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"

# Scan for BTRFS volumes at startup
USEBTRFS="no"

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="ArchOnVAIO"

# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
#   - interface: name of device (required)
#   - address: IP address (leave blank for DHCP)
#   - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
#   - broadcast: broadcast address (ignored for DHCP) (optional)
#   - gateway: default route (ignored for DHCP)
# 
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=

INTERFACES=(!eth0 !wlan0)
#interface=eth0
#address=
#netmask=
#broadcast=
#gateway=

# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(hwclock syslog-ng dbus netfs crond acpid networkmanager) 

Thank you very much for your answers!

Offline

#2 2012-07-26 12:45:58

Mocco
Member
Registered: 2012-07-12
Posts: 53

Re: nm-applet not starting

Suggestions? Even if I can give more informations about the error.....

Offline

#3 2012-07-27 21:04:40

Mocco
Member
Registered: 2012-07-12
Posts: 53

Re: nm-applet not starting

Any hints? It seems that the icon is on the panel with a red sign on a corner but when I log-in it disappears. The user is in groups networkmanager and network, what should I do? It seems that the daemon is running also because if I plug in the ethernet cable it connects to internet automatically.

Offline

#4 2012-09-13 21:37:49

jpwhiting
Member
Registered: 2012-09-13
Posts: 1

Re: nm-applet not starting

There are some workarounds for the problem here: https://bbs.archlinux.org/viewtopic.php?id=143640 I had the same problem and editing the dbus file fixed it here.

Offline

#5 2012-09-13 22:05:54

natestar13
Member
From: Tampa, FL
Registered: 2012-01-16
Posts: 55

Re: nm-applet not starting

INTERFACES=(!eth0 !wlan0)

Why do you have this line in your rc.conf?!

It seems that the daemon is running also because if I plug in the ethernet cable it connects to internet automatically

Have you done a pgrep for network manager to see if the daemon is running?  Are you using any other networking tool on the system?  If you're trying to use NetworkManager, you shouldn't have any networking setup in your rc.conf or anywhere else other than in NetworkManager

Last edited by natestar13 (2012-09-13 22:06:16)


Machine:  Lenovo ThinkCenter M92 (M3209) - Inte i7-3770 CPU

Offline

#6 2012-09-14 08:50:40

Mocco
Member
Registered: 2012-07-12
Posts: 53

Re: nm-applet not starting

natestar13 wrote:
INTERFACES=(!eth0 !wlan0)

Why do you have this line in your rc.conf?!

Because it says to do that in the wiki: https://wiki.archlinux.org/index.php/Ne … work_setup

natestar13 wrote:

If you're trying to use NetworkManager, you shouldn't have any networking setup in your rc.conf or anywhere else other than in NetworkManager

I am not. The daemon is running, it's just about the applet. Anyway, I fixed the problem following another thread (that I'm not able to find anymore) and changing all "deny" occurrences to "allow" in

/etc/dbus-1/system.d/org.freedesktop.NetworkManager.conf

I'm sure this is not the right solution anyway, just a workaround. Plus, when I update NetworkManager that file is updated and I have to change it again.

Offline

#7 2012-09-22 16:33:10

Mocco
Member
Registered: 2012-07-12
Posts: 53

Re: nm-applet not starting

Changing periodically this file is REALLY upsetting.... Does anyone know a solution for this?

Offline

#8 2012-09-22 16:53:23

Flemur
Member
Registered: 2012-05-24
Posts: 72

Re: nm-applet not starting

Perhaps not a real solution, but network-manager was causing grief at shutdown, so I replaced it with "wicd" and "wicd-gtk" (the icon/notification gizmo).

fluxbox startup file:
...
# nm-applet        &
#
volumeicon         &
wicd-gtk -t        &   # replace network manager.
#
...

/etc/rc.conf file:
DAEMONS=(syslog-ng network @wicd @alsa @dbus)


"If you do not change direction, you may end up where you are heading." -- L.T.

Offline

#9 2012-09-24 11:46:52

pgserious
Member
Registered: 2011-12-03
Posts: 4

Re: nm-applet not starting

Flemur wrote:

Perhaps not a real solution, but network-manager was causing grief at shutdown, so I replaced it with "wicd" and "wicd-gtk" (the icon/notification gizmo).

fluxbox startup file:
...
# nm-applet        &
#
volumeicon         &
wicd-gtk -t        &   # replace network manager.
#
...

/etc/rc.conf file:
DAEMONS=(syslog-ng network @wicd @alsa @dbus)

Why network daemon is in DAEMONS, if you use wicd?

Offline

#10 2012-09-24 12:17:03

Mocco
Member
Registered: 2012-07-12
Posts: 53

Re: nm-applet not starting

You're OT

Offline

Board footer

Powered by FluxBB