This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: xhost problem :


This may be of help...

Did you know (or: Did you realize) that the X-Server performs a reset when
the
last client closes it's connection?

The repetition of the startup messages ("winDetect...") seems to indicate
that
the server is restarting.

IF there are no other X-clients running (like a x-term or window manager)
then
when the xhost program ends, the X-Serer resets and the authorizations are
lost.

If you are trying to set up permissions in your startxwin script, you need
to
re-arrange your client programs.
If you are trying to setup permissions for an XDM session, you need to:
	a) use xhost on the remote machine,
	b) use the -ac parameter on the XWin command, or
	c) use the $HOME/.Xauthority file

Good luck,
	-D.
---------------------
David Dawson
david.w.dawson@lmco.com
703-367-3885


> -----Original Message-----
> From:	Julien Vermillard [SMTP:jvermillard@technicoffice.fr]
> Sent:	Tuesday, December 11, 2001 12:19 PM
> To:	cygwin-xfree@xfree.cygwin.com
> Subject:	xhost problem :
> 
> Hi (again),
> 
> a bit more about my xhost problem :
> 
> 
> $ xhost
> access control enabled, only authorized clients can connect
> INET:localhost
> INET:jvd.univers
> INET:JVD
> LOCAL:
> 
> jvd@JVD /
> $ winDetectSupportedEngines () - Windows 95/98/Me
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Returning, supported engines 00000013
> winSetEngine () - Using Shadow DirectDraw
> winCreateBoundingWindowWindowed () - WindowClient w 1274 h 995 r 1274 l 0
> b
> 995
> t 0
> winInitVisualsShadowDD () - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24
> winCreateDefColormap () - Deferring to fbCreateDefColormap ()
> 
> --------------------------------------------------------------------------
> --
> -------
> 
> $ xhost +
> access control disabled, clients can connect from any host
> 
> jvd@JVD /
> $ winDetectSupportedEngines () - Windows 95/98/Me
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Returning, supported engines 00000013
> winSetEngine () - Using Shadow DirectDraw
> winCreateBoundingWindowWindowed () - WindowClient w 1274 h 995 r 1274 l 0
> b
> 995
> t 0
> winInitVisualsShadowDD () - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24
> winCreateDefColormap () - Deferring to fbCreateDefColormap ()
> 
> 
> --------------------------------------------------------------------------
> --
> --------
> Then xhost again for verify :
> 
> $ xhost
> access control enabled, only authorized clients can connect
> INET:localhost
> INET:jvd.univers
> INET:JVD
> LOCAL:
> 
> jvd@JVD /
> $ winDetectSupportedEngines () - Windows 95/98/Me
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Returning, supported engines 00000013
> winSetEngine () - Using Shadow DirectDraw
> winCreateBoundingWindowWindowed () - WindowClient w 1274 h 995 r 1274 l 0
> b
> 995
> t 0
> winInitVisualsShadowDD () - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24
> winCreateDefColormap () - Deferring to fbCreateDefColormap ()
> 
> --------------------------------------------------------------------------
> --
> ---
> 
> Apparently xhost is not writting the configuration :(
> 
> 
> Regards,
> 
> Julien


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]