You are not logged in.

#1 2014-06-19 18:52:12

srae
Member
Registered: 2014-06-19
Posts: 4

Using Cinnamon in Virtualbox

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

#2 2014-06-19 18:58:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Using Cinnamon in Virtualbox

Have you tried setting XDG_RUNTIME_DIR?
https://wiki.archlinux.org/index.php/Xd … irectories

Offline

#3 2014-06-19 19:15:25

srae
Member
Registered: 2014-06-19
Posts: 4

Re: Using Cinnamon in Virtualbox

I'm new to arch. didn't know I needed this package. I'll see what I can do. Thank you.

Offline

#4 2014-06-19 20:19:14

srae
Member
Registered: 2014-06-19
Posts: 4

Re: Using Cinnamon in Virtualbox

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

#5 2014-06-19 21:48:26

Ekkoria
Member
From: Florida
Registered: 2014-05-25
Posts: 20

Re: Using Cinnamon in Virtualbox

srae wrote:

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 cinnamon

to 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

#6 2014-06-19 21:56:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Using Cinnamon in Virtualbox

I'm not using cinnamon, but

$ echo $XDG_RUNTIME_DIR
/run/user/1000

Offline

#7 2014-06-19 21:59:40

Ekkoria
Member
From: Florida
Registered: 2014-05-25
Posts: 20

Re: Using Cinnamon in Virtualbox

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 yourusername

Offline

#8 2014-06-20 05:42:49

srae
Member
Registered: 2014-06-19
Posts: 4

Re: Using Cinnamon in Virtualbox

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

Board footer

Powered by FluxBB