View previous topic :: View next topic |
Author |
Message |
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Fri Dec 24, 2021 12:09 am Post subject: [SOLVED] unable to create file '/run/user/1000/dconf/user' |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Fri Dec 24, 2021 2:17 am Post subject: |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Fri Dec 24, 2021 2:29 am Post subject: |
|
|
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 |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Fri Dec 24, 2021 2:29 am Post subject: |
|
|
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 |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Fri Dec 24, 2021 3:00 am Post subject: |
|
|
Solved "evince" was missing postscript support. |
|
Back to top |
|
|
|