At Sat, 7 Mar 2009 23:02:01 -0800 Daniel Goldin wrote: > On Sun, 08 Mar 2009, Johan Dobbelstein wrote: > > > On Sat, 7 Mar 2009 17:16:58 -0800 > > Daniel Goldin <[email protected]> wrote: > > > > > On Sun, 08 Mar 2009, Gregor Best wrote: > > > > > > > At Sat, 7 Mar 2009 13:12:25 -0800 > > > > Daniel Goldin wrote: > > > > > > > > Could you start awesome from a terminal and paste its output? If > > > > you are in an X11 session and have a terminal open, you can do > > > > sleep 1; X :1 & > > > > DISPLAY=:1.0 awesome > > > > to start a second X server with awesome running on it. > > > > > > When I run the sleep commands, I get a message: > > > > > > "X: user not authorized to run x server, aborting." > > > > > > I tried running the second part, and I get: > > > > > > "E: awesome:main:428: Cannot open display" > > > > > > Thanks so much for your help. > > > > > > daniel > > > > Hi Daniel, > > > > the error is very common if you work on a Debian system (or Ubuntu). To > > launch a second X server, either log in via a tty console (Ctrl+Alt+F[1-6]) > > and then run $> startx /usr/bin/awesome > > or change your X wrapper settings with > > $> dpkg-reconfigure x11-common > > and choose Users allowed = anybody. After that the script from Gregor > > should work. > > > > Johan > > > > P.S.: you can also use Xephyr to easily "debug" awesome if you prefer : > > http://awesome.naquadah.org/wiki/index.php?title=Using_Xephyr > > (big thanks to Dante4d ,) > > > > I used Xephyr and got the following output: > > ---- snip ----- > > Could not init font path element /usr/share/fonts/X11/cyrillic, removing from > list! unrecognised device identifier! > (EE) config/hal: NewInputDeviceRequest failed > unrecognised device identifier! > (EE) config/hal: NewInputDeviceRequest failed > unrecognised device identifier! > (EE) config/hal: NewInputDeviceRequest failed > unrecognised device identifier! > (EE) config/hal: NewInputDeviceRequest failed > unrecognised device identifier! > (EE) config/hal: NewInputDeviceRequest failed > unrecognised device identifier! > (EE) config/hal: NewInputDeviceRequest failed > unrecognised device identifier! > (EE) config/hal: NewInputDeviceRequest failed > unrecognised device identifier! > (EE) config/hal: NewInputDeviceRequest failed > /home/daniel/.config/awesome/rc.lua:33: attempt to index field 'suit' (a nil > value) > > --- snip --- > > Here is line 30-34 of my rc.lua : > > --- snip --- > > " -- Table of layouts to cover with awful.layout.inc, order matters. > layouts = > { > awful.layout.suit.tile," > > --- snip --- > > d. >
That should be easily solvable. Just remove lib/awful/layout.lua from your
awesome directory (usually /usr/local/share/awesome if you installed from git).
That's because layouts were transferred to lua and the old layout.lua has been
split into a directory, but the remaining layout.lua from an older installation
overshadows it, so the .lua file is used instead of the directory.
--
GCS/IT/M d- s+:- a--- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- O M-- V PS+ PE- Y+ PGP+++ t+ 5 X+ R tv+ b++ DI+++ D+++ G+
e- h! r y+
Gregor Best
signature.asc
Description: PGP signature
