LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 04-17-2013, 08:07 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'
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 08:51 PM. Reason: new error
 
Old 04-17-2013, 08:21 PM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 870
Blog Entries: 2

Rep: Reputation: 219Reputation: 219Reputation: 219
Did you follow the instructions you quoted?
And log out and log in again before the next attempt at running it?
 
Old 04-17-2013, 08:31 PM   #3
kjg0508
LQ Newbie
 
Registered: Apr 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by linosaurusroot View Post
Did you follow the instructions you quoted?
And log out and log in again before the next attempt at running it?
I just command first and second line here

$ mkdir /tmp/wayland
$ chmod 0700 /tmp/wayland


doesn't command
$ su -c 'echo XDG_RUNTIME_DIR=/tmp/wayland >> /etc/environment'
because tutorial said If you are using a distro that does not set $XDG_RUNTIME_DIR for you

is it right?
 
  


Reply


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
[SOLVED] Trouble with xfce compositor on Slackware 13.1 Totoro-kun Slackware 3 04-03-2011 09:45 AM
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


All times are GMT -5. The time now is 04:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration