You are not logged in.

#1 2013-02-14 16:37:00

captainju
Member
Registered: 2012-08-01
Posts: 38

[SOLVED] [awesome] Dbus error

Hi guys,

my newly configured awesome desktop got this issue when I try to start an application using d-bus :

(terminator:947): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Failed to connect to socket /tmp/dbus-5AMlNl46V1: Connection refused

But systemctl status dbus.service says dbus is active and running.

I don't know what's wrong, do you have any idea ?

Thanks

Last edited by captainju (2013-02-18 11:44:56)

Offline

#2 2013-02-15 15:33:06

captainju
Member
Registered: 2012-08-01
Posts: 38

Re: [SOLVED] [awesome] Dbus error

no one ?
not even a clue ?

Offline

#3 2013-02-15 16:14:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,810

Re: [SOLVED] [awesome] Dbus error

I don't use Awesome myself.  But, lets look at a couple things.

First, how - specifically- are you starting awesome?
Also, use loginctl to find your session number, then post the output of loginctl -no-pager -session-status your_session_number  (where, obviously, you replace your_session_number with your session number smile )


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2013-02-15 16:27:19

captainju
Member
Registered: 2012-08-01
Posts: 38

Re: [SOLVED] [awesome] Dbus error

im starting awesome from slim
with exec awesome in my ~/.xinitrc

loginctl gives me that :

3 - mylogin (1000)
           Since: ven. 2013-02-15 17:19:11 CET; 3min 4s ago
          Leader: 339 (slim)
            Seat: seat0; vc7
         Display: :0.0
          Remote: user root
         Service: slim; type x11; class user
           State: active
          CGroup: name=systemd:/user/mylogin/3
                  ├─  339 /usr/bin/slim -nodaemon
                  ├─14882 awesome
                  ├─14893 xterm
                  ├─14895 zsh
                  └─15349 loginctl --no-pager session-status 3

Offline

#5 2013-02-15 17:51:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,810

Re: [SOLVED] [awesome] Dbus error

State: active

  That is what I was looking for.  Unfortunately, it is correct (it would have been an easy fix).

Can you verify that you've polkit installed?

Edit: Also, can you post your .xinitrc file?

Last edited by ewaller (2013-02-15 17:57:22)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2013-02-18 07:57:56

captainju
Member
Registered: 2012-08-01
Posts: 38

Re: [SOLVED] [awesome] Dbus error

Yes, polkit is installed and active (running)

here is my .xinitrc file :

DEFAULT_SESSION=startxfce4

case $1 in
xfce4)
        exec startxfce4
        ;;
openbox)
        exec openbox-session
        ;;
awesome)
        exec awesome
        ;;
*)
        exec $DEFAULT_SESSION
        ;;
esac

Offline

#7 2013-02-18 08:01:00

captainju
Member
Registered: 2012-08-01
Posts: 38

Re: [SOLVED] [awesome] Dbus error

After further tests, it may not be related to Awesome, because it's doing the same with openbox.

It's only working in xfce4...

Offline

#8 2013-02-18 11:44:19

captainju
Member
Registered: 2012-08-01
Posts: 38

Re: [SOLVED] [awesome] Dbus error

I got the solution
and i feel a bit dumb about it tongue

My ~/.dbus folder was owned by root ...

Thx ewaller for your help wink

Offline

Board footer

Powered by FluxBB