On Fri, 25 Oct 2002 07:10:35 -0400
Kevin Coyner <[EMAIL PROTECTED]> wrote:

>  I tried:
> 
>       Xnest :1&
>       ion -display :1&
> 
> and while I get the Xnest, I don't get the xterm to show up within the
> Xnest.  The err msg is ...
> 
> sakura:~$ ion -display :1&
> [2] 14609
> sakura:~$ AUDIT: Fri Oct 25 06:50:55 2002: 14577 Xnest: client 1
> rejected from local host
> Xlib: connection to ":1.0" refused by server
> Xlib: Client is not authorized to connect to Server
> ion: Could not connect to X display ':1'


See 

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=101921

This may work for you:

#!/bin/sh

MCOOKIE=3D$(mcookie)
xauth add $(hostname)/unix$1 . $MCOOKIE
xauth add localhost/unix$1 . $MCOOKIE
Xnest $1&
ion -display $1
xauth remove $(hostname)/unix$1 localhost/unix$1

exit 0


I don't know why, but I don't need to go through this xauth business for
low-numbered displays. 

Rupert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to