You are not logged in.

#1 2013-05-01 11:39:11

roastymctoasty
Member
Registered: 2013-05-01
Posts: 5

Could not connect to wicd's D-Bus interface. Check the wicd log for er

Having issues getting wireless to work on Acer V3 551.  Wired works great.  I'm new to Arch from Ubuntu, so please be nice to me smile

On startup, I get two error dialog boxes:
#1: Could not connect to wicd's D-Bus interface. Check the wicd log for error messages.
#2: The wicd daemon has shut down. The UI will not function properly until it is restarted.

Network info:
23:01:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)
24:02:00.0 Network controller: Atheros Communications Inc. AR9462 Wireless Network Adapter (rev 01)

wicd-curses terminal output:
wicd-curses
Can't connect to the daemon, trying to start it automatically...
Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 1043, in <module>
    setup_dbus()
  File "/usr/share/wicd/curses/wicd-curses.py", line 1031, in setup_dbus
    dbus_ifaces = dbusmanager.get_dbus_ifaces()
  File "/usr/lib/python2.7/site-packages/wicd/dbusmanager.py", line 36, in get_dbus_ifaces
    return DBUS_MANAGER.get_dbus_ifaces()
  File "/usr/lib/python2.7/site-packages/wicd/dbusmanager.py", line 62, in get_dbus_ifaces
    if not self._dbus_ifaces: connect_to_dbus()
  File "/usr/lib/python2.7/site-packages/wicd/dbusmanager.py", line 48, in connect_to_dbus
    return DBUS_MANAGER.connect_to_dbus()
  File "/usr/lib/python2.7/site-packages/wicd/dbusmanager.py", line 79, in connect_to_dbus
    proxy_obj = self._bus.get_object("org.wicd.daemon", '/org/wicd/daemon')
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.systemd1.LoadFailed: Unit dbus-org.wicd.daemon.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.wicd.daemon.service' for details.

systemctl status dbus-org.wicd.daemon.service terminal output:
dbus-org.wicd.daemon.service
   Loaded: error (Reason: No such file or directory)
   Active: inactive (dead)

I've tried:
- beginners install suggestions
- arch wicd suggestions
- unin/re-installing wicd
- google research to no avail

Offline

#2 2013-05-01 12:09:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Could not connect to wicd's D-Bus interface. Check the wicd log for er

Is dbus running with three processes: 2 dbus-daemon and one dbus-launch?

If not, you should be using dbus-launch in your session initialization somewhere, ~/.xinitrc is common.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#3 2013-05-01 12:58:15

roastymctoasty
Member
Registered: 2013-05-01
Posts: 5

Re: Could not connect to wicd's D-Bus interface. Check the wicd log for er

Contents of ~/.xinitrc:

#!/bin/sh
#
#~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/x11/xinit/xinitrc.d; then
    for f in /etc/x11/xinit/xinitrc.d/#; do
        [ -x "$f" ] && . "$f"
    done
    unset f
fi

exec gnome-session
#exec startkde
#exec startxfce4
# ... or the window manager of your choice

Should I append something here?

Also - what best command can I issue to see if dbus is running three processes?

Last edited by roastymctoasty (2013-05-01 13:02:20)

Offline

#4 2013-05-01 13:33:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Could not connect to wicd's D-Bus interface. Check the wicd log for er

pstree, top, or htop will verify that you have not launched dbus-launch which is required for many tools including wicd.

I tend to avoid that recommended monstrosity at the top of xinitrc and I just control things myself by launching my window manager with

exec dbus-launch --exit-with-session <windowmanagername>

But that block of code at the top of your xinitrc *should* start a dbus session.  It fails because there is a typo - two actually: there is no /etc/x11 folder, it is /etc/X11.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#5 2013-05-01 14:17:00

roastymctoasty
Member
Registered: 2013-05-01
Posts: 5

Re: Could not connect to wicd's D-Bus interface. Check the wicd log for er

Two things:

Sincere apologies.  I manually typed in the results of ~/.xinitrc (at work, on another computer).  It does actually say /X11/xinit/... and /X11/xinit/ between the if and do - with a capital X instead of lowercase x.

I ran pstree, and I'm able to see dbus-daemon and dbus-launch in the tree.

2*[dbus-daemon]
dbus-launch

So the typos are not a problem, and I appear to have 3 dbus processes.

Any thoughts on additional steps I can take?

Also - can I replace the if / fi code block with the code you recommended in your previous post?

Last edited by roastymctoasty (2013-05-01 14:18:33)

Offline

#6 2013-05-01 15:00:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Could not connect to wicd's D-Bus interface. Check the wicd log for er

So dbus is not the issue - sorry for the misdirection.  It may be a permissions issue - but I don't have any great next recommendations.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#7 2013-05-01 15:03:17

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: Could not connect to wicd's D-Bus interface. Check the wicd log for er

Is wicd.service enabled and running?

systemctl status wicd.service

Also, please use [ code ] tags to post output and config files.

Last edited by WorMzy (2013-05-01 15:04:17)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2013-05-01 15:24:49

roastymctoasty
Member
Registered: 2013-05-01
Posts: 5

Re: Could not connect to wicd's D-Bus interface. Check the wicd log for er

Apologies. First post to the board - will keep post within bracket tags. Sorry for being such a noob.

Input

$ systemctl status wicd.service

Output

wicd.service - Wicd a wireless and wired network manager for Linux
  Loaded: loaded (/usr/lib/systemd/system/wicd.service; disabled)
  Active: failed (Result: exit-code) since Wed 2013-05-01...
  Process: 972 ExecStart=/usr/sbin/wicd --no-daemon (code=exited, status=1/FAILURE)

Starting Wicd a wireless and wired network manager for Linux
It seems like the daemon is already running
If it is not, please remove /var/run/wicd/wicd.pid and try again.
wicd.service: main process exited, code=exited, status=1/FAILURE
Failed to start Wicd a wireless and wired network manager for linux.
MESSAGE=Unit wicd.service entered a failed state.

Any thoughts?

Last edited by roastymctoasty (2013-05-01 15:58:17)

Offline

#9 2013-05-01 16:01:18

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: Could not connect to wicd's D-Bus interface. Check the wicd log for er

Loaded: loaded (/usr/lib/systemd/system/wicd.service; disabled)

This shows that it is currently disabled, which means that it isn't automatically started at boot time. To fix that, you just need to enable it, using systemctl.

That status message may be problematic though, unless you've manually started wicd as root in the meantime? Could you check whether wicd is currently running?

ps aux | grep wicd

If it is, you should be able to use wicd-curses now. If not, follow the advice the status message gave you and remove the stale pid file, you should then be able to "start" the wicd.service.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#10 2013-05-01 17:08:41

roastymctoasty
Member
Registered: 2013-05-01
Posts: 5

Re: Could not connect to wicd's D-Bus interface. Check the wicd log for er

Seems to be fixed! Thanks for helping a newbie out!

Now I just need to figure out how to connect it to my offices WPA2 Enterprise network, which may be another project entirely...

Offline

Board footer

Powered by FluxBB