Daniel Pimentel <d...@openmailbox.org> writes:

> Guixs, I reconfigured my system with wicd. My config.scm (in
> /etc/config.scm):
> (use-modules (gnu))
> (use-service-modules xorg networking dbus avahi)
> (use-package-modules avahi wicd)
> ...
> (service (cons* (slim-service)
>                  (wicd-service)
>                  (dbus-service (list wicd))
> ...
>
> But, whem there is error when use wicd-gtk with my normal user or with
> root:
> Failed to connect to socket /var/run/dbus/system_dbus_socket:
> Connection refused

The most likely cause of this is that dbus-system was unable to start
because of a stale /var/run/dbus/pid file left over from a system crash
or improper shutdown.  IMO, we should add a service or two that clears
out /tmp and /var/run at early boot time as is normally done on other
systems.

For now, the solution is to run (as root):

  rm /var/run/dbus/pid
  deco enable dbus-system
  deco start dbus-system

I guess that 'wicd' should then start automatically, but if not you
could start it with "deco enable wicd" and "deco start wicd" as well.

     Mark

Reply via email to