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 ,)

-- 
To unsubscribe, send mail to [email protected].

Reply via email to