Cum ii zic unul RedHat sa faca "xhost + 127.0.0.1" la startup? Ma intereseaza
o solutie "in the distro way", nu cu toporul.

de exemplu, echo "127.0.0.1" >> /etc/X0.hosts

The X server also uses a host-based access control list for deciding whether or not to accept connections from clients on a particu- lar machine. If no other authorization mechanism is being used, this list initially consists of the host on which the server is running as well as any machines listed in the file /etc/Xn.hosts, where n is the display number of the server. Each line of the file should contain either an Internet hostname (e.g. expo.lcs.mit.edu) or a DECnet hostname in double colon format (e.g. hydra::) or a complete name in the format family:name as described in the xhost(1) manual page. There should be no leading or trailing
      spaces on any lines.  For example:

              joesworkstation
              corporate.company.com
              star::
              inet:bigcpu
              local:

Users can add or remove hosts from this list and enable or disable access control using the xhost command from the same machine as
      the server.

man Xserver , search "GRANTING".



_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui