View previous topic :: View next topic |
Author |
Message |
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Sun Aug 31, 2014 6:15 am Post subject: systemd can start gnome only with root |
|
|
I can startx only with root, with normal user no, I have this error
Code: | dconf-CRITICAL **: unable to create directory '/run/user/1000/dconf': Permission denied. dconf will not work properly. |
I search for solution but nothing...
I tried also to add this code in .bash_profile
Code: | export XDG_RUNTIME_DIR=/run/user/$(id -u luna80) |
but doesn't works
can somebody help me please? thanks in advance _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Sun Aug 31, 2014 3:03 pm Post subject: |
|
|
Was /run/user/1000 created?
This should have been created by systemd itself...
Found this: https://www.nomachine.com/TR01L04202 - does this workaround fix the problem?
Did you update to systemd recently, when did it break? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Sun Aug 31, 2014 3:32 pm Post subject: |
|
|
I'm in a fresh installation, it's not an update
the problem is strange, if I start gdm and I log with the luna80 user all works fine but not if try to launch directly startx from luna80 (that is what I need) _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
|
Leio Developer
Joined: 27 Feb 2003 Posts: 494 Location: Estonia
|
Posted: Tue Sep 02, 2014 6:12 am Post subject: |
|
|
Maybe it's an issue of launching it from the terminal without systemd, whose logind takes care of the /run/user stuff for you? If you don't use systemd, you'd probably need to take care of all that yourself. Or just use a login manager, as it's more secure anyway. _________________ GNOME team lead; GStreamer; MIPS/ARM64 |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Tue Sep 02, 2014 3:23 pm Post subject: |
|
|
I think there's something wrong with the OP's logind, it was mentioned that systemd was being used. I figure a console session somehow wasn't created by login and thus subsequent directory is not created.
I should see if I can reproduce this behavior on a working systemd box that has console working... my main systemd machine's fglrx causes a lot of problems and can't use the console (ctrl-alt-fX) once graphics mode gets initialized...
EDIT
I tried playing with my systemd box that has gdm working.
If I login from the console by ctrl-alt-f1 to it before logging in via gdm, I still see a /run/user/xxxx directory created and owned by xxxx. This is also created by logging in through gdm.
A session is shown by "loginctl" by either method of login. Do you see different login sessions created? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|