REMOVE_XHOSTS(1)

Name

remove_xhosts - Remove all hosts from access control list

Synopsis

remove_xhosts

Description

The remove_xhosts program will attempt to enable access control and remove all hosts from access control list. If it fails, it will reliably produce an eror report. This isn't as trivial as it might sound. Xlib caches changes to the access control list so that if you remove all hosts and query the access control list, you get an empty list. Meanwhile, the X server is saying "yes, I've removed that host" when in fact it has done no such thing. The workaround is to tell close and reopen the connection to the Xserver to stop Xlib caching incorrect values.

Environment

DISPLAY to get name of the display to use.

Author

Peter Benie, Unix Support, Computing Service, University of Cambridge (UK)

Source

remove_xhosts.tar.gz
  • INSTALL
  • Imakefile
  • remove_xhosts.c
  • remove_xhosts.h
  • display.c
  • error.c
  • hosts.c

  • Peter Benie <pjb1008@cam.ac.uk>