You are not logged in.
After downloading and installing the cinnamon package, I attempt to start cinnamon by running the 'cinnamon-session' command. Each time it returns the following error:
(cinnamon-session:1167): Gdk-ERROR **: error: XDG_RUNTIME_DIR not set in the environment.
Now am I attempting to use this in virtualbox which I havent ruled out being the issue. Has anyone else had this issue? Any Help is appreciated.
Thank you
Offline
Have you tried setting XDG_RUNTIME_DIR?
https://wiki.archlinux.org/index.php/Xd … irectories
Offline
I'm new to arch. didn't know I needed this package. I'll see what I can do. Thank you.
Offline
So I understand I need to set XDG_RUNTIME_DIR to the cinnamon runtime directory but I'm not sure which that is. Any ideas?
Offline
So I understand I need to set XDG_RUNTIME_DIR to the cinnamon runtime directory but I'm not sure which that is. Any ideas?
/usr/bin/ is where it's located on my system. Run
which cinnamonto find it on yours (ignore the "cinnamon" that it returns on the end as that is the name of the actual binary file)
Last edited by Ekkoria (2014-06-19 21:49:08)
Offline
I'm not using cinnamon, but
$ echo $XDG_RUNTIME_DIR
/run/user/1000Offline
I am using cinnamon and that's what my XDG_RUNTIME_DIR is, so I suppose try that one? I assume the 1000 is your UID, because that's what mine is, you can find it by running
id -u yourusernameOffline
I must seriously be missing something. The outout of $ echo $XDG_RUNTIME_DIR is /run/user/1000
I ran XDG_RUNTIME_DIR=/run/user/1000 still nothing
I'm confused as to what I have missed.
EDIT: After playing for a while, I ran xinit cinnamon and cinnamon started in software rendering mode. I guess I had the graphics drivers wrong. Still I'm not sure as to why cinnamon-session is causing that error.
Last edited by srae (2014-06-20 17:22:50)
Offline