Xorg fails to start on :1 with -nolisten tcp

Julien Cristau jcristau at debian.org
Sun Jun 28 07:55:13 PDT 2009


On Sun, Jun 28, 2009 at 16:12:46 +0300, Sergei Trofimovich wrote:

> I usually start xorg as:
> $ xinit -- -nolisten tcp
> 
> Sometimes I need to start another instance:
> $ xinit -- -nolisten tcp :2
> But it didn't work: looks like all OK except all programs
> started there have DISLPAY=:0 (not :1). And I see
> all shanges they perform on :0. It is seen in linux console when
> my scripts start different bits of my desktop:
>     Xlib:  extension "XFree86-Misc" missing on display ":0.0".
>     xmonad: X11 error: BadAccess (attempt to access private resource denied), request code=2, error code=10
>     xmonad: X11 error: BadAccess (attempt to access private resource denied), request code=28, error code=10
>     ...
> (xmonad is my WM)
> 
> However,
> $ xinit -- :2
> works as expected. Second xmonad instance runs correctly on :1
> 
use xinit -- :2 -nolisten tcp
display number has to be the first server argument.

Cheers,
Julien


More information about the xorg-devel mailing list