LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Closed Thread
  Search this Thread
Old 04-17-2013, 10:23 PM   #1
kjg0508
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 http://wayland.freedesktop.org/building.html

when I command $weston, respond is

fatal: environment variable XDG_RUNTIME_DIR is not set.

But in tutorial say this

$XDG_RUNTIME_DIR

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
Habitual
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
colucix
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: http://www.linuxquestions.org/questi...or-4175458544/
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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