Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
weston-launch complains about XDG_RUNTIME_DIR when it is set
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
k0nstant
n00b
n00b


Joined: 29 Apr 2010
Posts: 3

PostPosted: Tue Sep 24, 2013 6:42 pm    Post subject: weston-launch complains about XDG_RUNTIME_DIR when it is set Reply with quote

I decided I would start testing Wayland and my machine. I used the script at [url]wayland.freedesktop.org/building.html[/url] in the XDG_RUNTIME_DIR section, putting it in my bashrc to set the environment variable. However, I still get an error message saying that it is unset. Any ideas? I've included the error message printout and my check that the variable is in fact set and the directory exists/has the right permissions.

Code:

$ weston-launch
Date: 2013-09-24 CDT
[13:32:54.315] weston 1.2.1
               http://wayland.freedesktop.org/
               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.2.1
               Build: 
[13:32:54.315] OS: Linux, 3.10.7-gentoo, #2 SMP Mon Sep 23 11:10:52 CDT 2013, x86_64
[13:32:54.315] fatal: environment variable XDG_RUNTIME_DIR is not set.
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.

$ echo $XDG_RUNTIME_DIR
/tmp/1000-runtime-dir
$ ls -l /tmp
drwx------ 3 dave dave 4096 Sep 24 13:00 1000-runtime-dir/
Back to top
View user's profile Send private message
k0nstant
n00b
n00b


Joined: 29 Apr 2010
Posts: 3

PostPosted: Thu Sep 26, 2013 6:06 pm    Post subject: Reply with quote

Thought I would add that I've been able to run it by switching to root and just running 'weston'.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum