On 02:49:32 Nov 23, David H. Lynch Jr. wrote:
>     I have been trying to establish an Xnest connection to an OpenBSD
> 4.2 machine without success.  
>     I do not care about security - in this particular application.
> 
>     4.2 is using a newer Gnome and the config files are reorganized.
>     But they do not appear to be the names/locations as newer Gnome faqs
> indicate either.
> 
>     With comments snipped my /etc/X11/gdm/custom.conf is below. Yet my
> Xnest never gets past the grey  checked background screen.
>      I have no problem Xnest'ing to other systems.
> 
> [daemon]
> RemoteGreeter=/usr/local/libexec/gdmlogin
> [security]
> AllowRemoteRoot=true
> RelaxPermissions=2
> DisallowTCP=false
> [xdmcp]
> Enable=true
> 

I know what you are talking.

You have to set the MAGIC COOKIE field manually. 

For instance,

$ Xnest :2&

   And it will give you a root weave pattern on a separate window. Now
you
   can run any application inside this X server like this.
$ xclock -display :2

   will display an xclock inside the nested Xserver.

   This did not work for me until I used this script. Perhaps you might
   find it useful.

MCOOKIE=875d5e5ed1dec9c5259dcc4239206f55
xauth add $(hostname)/unix$1 . $MCOOKIE
xauth add localhost/unix$1 . $MCOOKIE
Xnest "$@"
xauth remove $(hostname)/unix$1 localhost/unix$1
exit 0


The xauth authentication does not go thro' for some reason on OpenBSD
systems.

Then it will work.

Best of luck!

Of course you said you don't care about security. :)

Let me know if it works.

Thanks.

regards,
Girish

Reply via email to