Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Evolution no longer starts
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1492
Location: Richmond Hill, Canada

PostPosted: Sat Feb 08, 2025 1:59 pm    Post subject: Reply with quote

Da51d wrote:
However, if I try to connect as an ordinary unprivileged user:
Code:
$ nc -U -z /run/user/134/at-spi/bus_0
nc: /run/user/134/at-spi/bus_0: Permission denied


Why is this being denied on a file with these permissions?


Which "user" issue the nc command? is it 134? I think the /run/user/134 directory does not allow other go in there for read/write.
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 541

PostPosted: Sat Feb 08, 2025 2:05 pm    Post subject: Reply with quote

Da51d wrote:
Why is this being denied on a file with these permissions?


I guess because of the permissions of /run/user/134.

What is the value of $XDG_RUNTIME_DIR?
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 61

PostPosted: Sat Feb 08, 2025 2:24 pm    Post subject: Reply with quote

OK, thanks both...its true /run/user/134 is rwx------ so stricter than the file itself.

And
Code:
# echo $XDG_RUNTIME_DIR
/run/user/1000


(which is me, 1000, the user)
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 541

PostPosted: Sat Feb 08, 2025 3:07 pm    Post subject: Reply with quote

Your XDG_RUNTIME_DIR looks correct.

Does the at-spi bus exist for your user?

Code:
ls -l $XDG_RUNTIME_DIR/at-spi
?
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 61

PostPosted: Sat Feb 08, 2025 3:11 pm    Post subject: Reply with quote

Quote:
Does the at-spi bus exist for your user?

No, it doesn't:
Code:
# ls -l $XDG_RUNTIME_DIR/at-spi
ls: cannot access '/run/user/1000/at-spi': No such file or directory

_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 541

PostPosted: Sat Feb 08, 2025 3:20 pm    Post subject: Reply with quote

Does it exist after executing (as normal user)
Code:
/usr/libexec/at-spi-bus-launcher --launch-immediately
?
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 61

PostPosted: Sat Feb 08, 2025 7:22 pm    Post subject: Reply with quote

Apologies for the delay...
Quote:
Does it exist after executing (as normal user)


No it doesn't
Code:
$ /usr/libexec/at-spi-bus-launcher --launch-immediately
$ ls -l $XDG_RUNTIME_DIR/at-spi
ls: cannot access '/run/user/1000/at-spi': No such file or directory

And thanks for your help...
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
dumi
n00b
n00b


Joined: 17 Mar 2004
Posts: 28
Location: Czech Republic

PostPosted: Sun Feb 09, 2025 12:17 pm    Post subject: Reply with quote

look at permissions for directories above.

/run/user/137 and /run/user/134/at-spi i think they have 700 permisions.
_________________
Software is like sex.
It's better when it's free.
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 61

PostPosted: Sun Feb 09, 2025 12:55 pm    Post subject: Reply with quote

Yes that's right (see about 6 comments back rwx------ =700).
I have set an environment variable NO_AT_BRIDGE=1. This stops the xsession errors. It may possibly solve the problem of evolution not working too, but I have uninstalled evolution, so can't check. But this seems more like a workaround than a solution.
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23097

PostPosted: Sun Feb 09, 2025 2:55 pm    Post subject: Reply with quote

I would expect that the /run/user/uid directories should be mode 700. The question then is why these programs are trying to poke around in run directories other than their own. This is probably due to an incorrect environment variable instructing them to look there.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum