You are not logged in.

#1 2010-03-31 18:44:27

Anniekin
Member
Registered: 2010-03-23
Posts: 55

DBUS problem newbie newb noob [SOLVED[?]]

Update: if I use dbus-launch su or gksu the problem goes away.
So I guess my system is a-ok then... ?

Hi,

I did a fresh install of Arch, X11, nVidia drivers, XFCE, and Compiz as my base system.

I am getting consistent errors regarding Dbus. For example:

Failed to connect to the D-BUS session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Unable to register terminal service: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

This happens when running as a different user, for example administrative tasks,  su as root.

I also get an error message when logged in as root and launching for example firefox as a non-root user: "GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit"

Gconf I know is used by compiz.

Last edited by Anniekin (2010-04-07 05:23:34)

Offline

#2 2010-04-01 00:29:18

lamegaptop
Member
From: Orlando
Registered: 2009-05-10
Posts: 33

Re: DBUS problem newbie newb noob [SOLVED[?]]

http://bbs.archlinux.org/viewtopic.php?id=45553

talks about this.

I use

exec ck-launch-session startxfce4

in ~/.xinitrc to avoid this I think.

Are you using gdm, xdm, slim?


Don't break the silence unless you can improve upon it.

Offline

#3 2010-04-01 05:34:45

Anniekin
Member
Registered: 2010-03-23
Posts: 55

Re: DBUS problem newbie newb noob [SOLVED[?]]

Hey,

I've been using dbus-launch startxfce4.

We'll try your method and report back.

I haven't installed gdm, xdm, slim unless they come included with X11 or XFCE.

Last edited by Anniekin (2010-04-01 05:38:26)

Offline

#4 2010-04-02 02:38:16

Anniekin
Member
Registered: 2010-03-23
Posts: 55

Re: DBUS problem newbie newb noob [SOLVED[?]]

Using exec ck-launch-session startxfce4 did not solve the problem but it did make the desktop cease to update icons / files when they are changed or moved.

I do have gamin installed.

Offline

#5 2010-04-03 05:08:27

Anniekin
Member
Registered: 2010-03-23
Posts: 55

Re: DBUS problem newbie newb noob [SOLVED[?]]

I am also unable to play audio CDs.

please help

Offline

#6 2010-04-03 06:42:20

austin.rbn
Member
Registered: 2010-01-23
Posts: 77

Re: DBUS problem newbie newb noob [SOLVED[?]]

You're not being terribly specific, so it's difficult to guess what might be wrong. Perhaps you could post your "DAEMONS" line, and also what groups your user is a part of?


"Computer Science is embarrassed by the computer." -- Alan J. Perlis

Offline

#7 2010-04-03 06:46:29

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: DBUS problem newbie newb noob [SOLVED[?]]

Only audio cds? all your other audio works fine? eg. playing a firefox video or a music file?

If every other thing goes fine then maybe check if you ca reproduce sound SIMULTANEOUSLY, like open a youtube video and play a music file at the same time, if sound doesnt come out of the 2 places then read this wiki page and maybe that will help you get your cds working:
http://wiki.archlinux.org/index.php/All … Play_Sound

let mw know if it works.

also, which program are you using?


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#8 2010-04-03 07:39:12

Anniekin
Member
Registered: 2010-03-23
Posts: 55

Re: DBUS problem newbie newb noob [SOLVED[?]]

SIMULTANEOUSLY

this all working ok

alsa seems to be configured correctly

/dev/sr0 is not being mounted or detected properly

tried multiple variants in fstab such as /dev/cdrom etc.

I believe it is related to the dbus issue as things continue to misbehave

For example launching a media player as root will bring up said dbus error

and permissions / ownership will be reset to root in the users log file associated with the media application

Offline

#9 2010-04-03 08:19:10

jurkan
Member
From: Germany
Registered: 2010-04-03
Posts: 23

Re: DBUS problem newbie newb noob [SOLVED[?]]

Sorry, stupid question:
Did you install dbus and set it to start on boot in your DAEMONS array in /etc/rc.conf?

Offline

#10 2010-04-03 20:10:55

Anniekin
Member
Registered: 2010-03-23
Posts: 55

Re: DBUS problem newbie newb noob [SOLVED[?]]

yes

what does this mean?

if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
    eval `dbus-launch --sh-syntax --exit-with-session`
fi

should I use it?

should I have dBus enabled in the compiz settings manager as well?

/etc/groups shows "dbus:x:81"

I'm gonna append users,root to this

Should I append these to everything in groups?

I followed all the instructions in the related wiki entries its not fair

it not fair it not fair...

Last edited by Anniekin (2010-04-04 01:38:06)

Offline

#11 2010-04-04 01:57:50

Anniekin
Member
Registered: 2010-03-23
Posts: 55

Re: DBUS problem newbie newb noob [SOLVED[?]]

austin.rbn wrote:

You're not being terribly specific, so it's difficult to guess what might be wrong. Perhaps you could post your "DAEMONS" line, and also what groups your user is a part of?

Sorry, I missed this post before.

DAEMONS=(@syslog-ng dbus hal network netfs @crond @alsa)

bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin
adm::4:root,daemon
tty::5:
disk::6:root
lp::7:daemon
mem::8:
kmem::9:
wheel::10:root
ftp::11:
mail::12:
uucp::14:
log::19:root
locate::21:
smmsp::25:
http::33:
games::50:
network:x:90:
video:x:91:
audio::92:notroot
optical::93:hal,notroot,root
floppy:x:94:hal
storage:x:95:hal
scanner:x:96:
power:x:98:notroot,root
nobody::99:
users::100:
dbus:x:81:
rfkill:x:24:
hal:x:82:
mysql:x:89:
avahi:x:84:
camera:x:97:
privoxy:x:42:
tor:x:43:

Offline

#12 2010-04-05 11:23:05

Anniekin
Member
Registered: 2010-03-23
Posts: 55

Re: DBUS problem newbie newb noob [SOLVED[?]]

okay

i fixed the audio cd issue

culprit turned out was:     Option         "AutoAddDevices" "False"

but the larger problem of failing to connect to Dbus session or messaging (top) continues to occur every time I use the su command

the /dev/cdrom entry in fstab also returns "filesystem type must be specified" in the startup messages

so i can take it out? or will that make it impossible to mount data CDs later?

sorry to keep posting my findings here but this could be a potential hurdle to all new Arch users right? this is important data to have on this forum right? somebody is going to help me right?

i read the wiki

i followed all the instructions

sad

Offline

#13 2010-04-05 12:01:45

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: DBUS problem newbie newb noob [SOLVED[?]]

Did you follow the Beginner's Guide straight through from beginning to end or did you hop around abit? It seems like to me you are missing something... Most who follow the beginners guide have no major issues, but you seem to be having issues all over the place...

I'd suspect that you have either of the parts done wrong....

1.) user not added correctly or with correct user groups
2.) sudo not set up right
3.) hotplugging not set up right with xf86_evdev

But ofcourse I am guessing here. It is hard to tell excatly what problem you are having...


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#14 2010-04-06 02:51:49

Anniekin
Member
Registered: 2010-03-23
Posts: 55

Re: DBUS problem newbie newb noob [SOLVED[?]]

Sorry,

I should have been more specific.

The issue at this point boils down to Failed to connect to the D-BUS session bus messages above whenever I substitute user.

Offline

Board footer

Powered by FluxBB