[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xnest and fonts



On Fri, 25 Oct 2002 12:50:42 +0100
Rupert <rupert.debian@hotpop.com> wrote:

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

Should have tested that first. Ion still dies because Xnest hasn't had
time to set up the display. An ugly workaround is to insert "sleep n"
(where n is a sufficiently large number to account for the slowness of
your machine) after the Xnest line. n = 1 seems to work on my box when
unloaded.

Rupert



Reply to: