You are not logged in.

#1 2015-07-30 16:33:46

dancer69
Banned
Registered: 2011-08-05
Posts: 66

X Session freezes because of dconf user

I have a very annoying issue from the day I installed arch linux. The desktop freezes  very often and usually when editing a file(so I loose changes), or writing something in firefox. The cursor can move around but nothing is clickable and also keyboard doesn't respond on X. I can change another VT vi ctrl+alt+F... though. The reason seems that is the file /run/user/1000/dconf/user, which changes ownership to root user. The only way to have a running desktop again is to kill X and manually change the ownership of this file to my username. If I don't when I try to run X I get a black screen only. If I reboot, I can run X normally though.
Please help me to fix it because it happens quite often.

Offline

#2 2015-07-30 16:45:57

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: X Session freezes because of dconf user

Are you running applications that use DConf as root by any chance?

* https://bugs.mageia.org/show_bug.cgi?id=11643
* http://forums.linuxmint.com/viewtopic.p … 9&t=197157

Edit: if that is indeed the problem, a solution suggested in the Mint forums is to use gksudo.
Edit2: In a VM, I tried running GNOME apps as root and it didn't change the permissions on that file so that probably isn't the problem. I also tried using chown to change the owner on that file to root:root. It didn't cause a lockup and the ownership had reverted to my user on the next login so I'm not really sure why your machine is behaving differently.

Last edited by Chazza (2015-07-30 17:18:52)

Offline

#3 2015-07-30 17:51:39

dancer69
Banned
Registered: 2011-08-05
Posts: 66

Re: X Session freezes because of dconf user

I run commands with sudo and gksu very often, but this doesn't happen everytime, and not immediately after run a sudo/gksu command. And yes the ownership reverts to user after a reboot. Also I found that there is also a user file in /home/username/.config/dconf/. So maybe(I didn't test it) and changes to root too. I'm using gksudo now, which I read somewhere that doesn't have this problem. So will see if the issue appears again.

Offline

Board footer

Powered by FluxBB