On Wednesday 11 July 2007 22:40:40 Anders Johansson wrote:
> It also shows that it happens immediately after failing to read something
> from dbus
>
> This should be solvable

Well, I have the reason, but not a solution

root contacts the user's dbus session (since you did an su, instead of su -, 
the environment variables are still there).

dbus then does a getuid(), sees that someone other than the owner is trying to 
talk to it, and proceeds to ignore it

This is why it's hanging. Bad design in gtk if you ask me

But the workaround would be to go to root using su -, and then launch a new 
dbus using

eval `dbus-launch --auto-syntax`

After that, your gtk app will work as root as well as a user

...and all this just using strace :)
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to