You are not logged in.

#1 2009-04-05 18:54:21

Scattenlaeufer
Member
Registered: 2009-04-05
Posts: 17

Problems by starting x and awesome

Hello,

for a few days, I'm now using arch with awesome as wm, but it's only possible and awesome by root, otherwise I get the following error:

W: awesome: a_dbus_init:387: D-Bus system bus connection failed: failed to connect to socket /temp/dbus-lgy9oSvBJa: Connection refused
process 2833: argument to dbus_bus_request_name() were incorrect, assertion "connection != NULL" failed in file dbus-bus.c line 1061.

But I have no idea how to deal with it. After two days searching for a solution to start awesome as normal user I haven't got the slightest clue.

Is there anybody, who can tell me, what my problem is and how I can solve it?

Offline

#2 2009-04-05 21:57:48

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Problems by starting x and awesome

Did you start the 'dbus' daemon ? (hal depends on dbus so If hal is running then dbus is running) .
How do you start awesome ? xinit ?


English is not my native language .

Offline

#3 2009-04-05 22:51:25

Scattenlaeufer
Member
Registered: 2009-04-05
Posts: 17

Re: Problems by starting x and awesome

hal is running, so I think dbus runs too.
Yes, I start awesome by .xinitrc

Offline

#4 2009-04-06 09:01:10

Scattenlaeufer
Member
Registered: 2009-04-05
Posts: 17

Re: Problems by starting x and awesome

I solved the problem by adding the following lines to the .xinitrc:

if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi

Now I only have to find out, how I can use the firefox account, I used as root, as normal user.

Offline

Board footer

Powered by FluxBB