Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Closed Thread
  Search this Thread
Old 04-17-2013, 10:23 PM   #1
LQ Newbie
Registered: Apr 2013
Posts: 21

Rep: Reputation: Disabled
how to run weston compositor??

I'm using ubuntu guest on virtualbox.

follwing this tutorial

when I command $weston, respond is

fatal: environment variable XDG_RUNTIME_DIR is not set.

But in tutorial say this


Weston creates its unix socket file (for example, wayland-0) in the directory specified by the required environment variable $XDG_RUNTIME_DIR . Clients use the same variable to find that socket. This is provided by Fedora using systemd. Ubuntu began providing it in Quantal. Arch began providing it with systemd in June 2012. It is not provided by Gentoo. If you are using a distro that does not set $XDG_RUNTIME_DIR for you, do:

$ mkdir /tmp/wayland
$ chmod 0700 /tmp/wayland
$ su -c 'echo XDG_RUNTIME_DIR=/tmp/wayland >> /etc/environment'

So I doesn't command $ su -c 'echo XDG_RUNTIME_DIR=/tmp/wayland >> /etc/environment' because I'm using ubuntu 12.10
As a result is fatal: environment variable XDG_RUNTIME_DIR is not set.

what am I supposed to do? thanks.

Oh I got new error
initializing x11backend
error: failed to add default include path /usr/share/x11/xkb

How can I slove this error? thanks

Last edited by kjg0508; 04-17-2013 at 10:29 PM.
Old 04-18-2013, 03:35 PM   #2
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
$ su -c 'echo XDG_RUNTIME_DIR=/tmp/wayland >> /etc/environment'
Old 04-21-2013, 03:51 PM   #3
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate. Please follow discussion here:

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run weston compositor?? kjg0508 Ubuntu 2 04-17-2013 08:31 PM
Compositor & Thunderbird. cwizardone Slackware 4 10-07-2010 04:29 PM
XFCE Compositor mlpa Slackware 10 07-06-2010 07:48 PM
Fast Way to Toggle Compositor on Xfce 4.4.2 cram869 Linux - Desktop 0 04-06-2008 11:33 AM
Linux Compositor linuxpyro Linux - Software 1 08-08-2004 01:04 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration