Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] unable to create file '/run/user/1000/dconf/user'
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Fri Dec 24, 2021 12:09 am    Post subject: [SOLVED] unable to create file '/run/user/1000/dconf/user' Reply with quote

When I try to open "ps" file with evince I get an error:
Code:
evince W-9\ Form.ps

(evince:6866): dconf-CRITICAL **: 16:50:27.034: unable to create file '/run/user/1000/dconf/user': Permission denied.  dconf will not work properly.

ls /run/user/1000/dconf/user
-rw------- 1 root root 2 Dec 23 16:48 /run/user/1000/dconf/user


Last edited by Joseph_sys on Fri Dec 24, 2021 3:01 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Fri Dec 24, 2021 2:17 am    Post subject: Reply with quote

Why is there a 2 byte long root-owned file in your user's private dconf directory? What is in that file? If you remove that file, does evince work? If yes, under what circumstances does that file reappear?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Fri Dec 24, 2021 2:29 am    Post subject: Reply with quote

That file shouldn't be owned by root... did you use some dconf app earlier as root somehow like with sudo?

/run/user/$UID should be owned by the user with userid $UID as well as files underneath. It's generated when you login if you have elogind/consolekit/systemd-logind with polkit and pam set up. dconf by dbus will create dconf/user but this also should be as the user that's logged in.

Does it work if you logout and log back in? It should flush /run/user/$UID/ so hopefully it's cleaned up.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Fri Dec 24, 2021 2:29 am    Post subject: Reply with quote

Hu wrote:
Why is there a 2 byte long root-owned file in your user's private dconf directory? What is in that file? If you remove that file, does evince work? If yes, under what circumstances does that file reappear?


The file is empty.
I deleted the that file: /run/user/1000/dconf/user
Logout / Login and system recreated that file with my home user name.
But I still can not open "ps" file with evince. I'm getting an error message:
Code:
evince W-9\ Form.ps

(evince:19345): GLib-GObject-WARNING **: 19:26:40.904: invalid cast from 'GtkFileChooserNative' to 'GtkWidget'
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Fri Dec 24, 2021 3:00 am    Post subject: Reply with quote

Solved "evince" was missing postscript support.
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
Page 1 of 1

 
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