Thanks for the responses, all.
The reason we're trying to keep Xsun from listening to port 6000 is because we're trying to run software that is also designed to listen to port 6000 (imo, people who write software hardcoded to listen to ports that are known service ports should have their keyboards taken away).
We had made the change to /etc/dt/config/Xaccess to have it deny any connections made to the X Server, but the problem is that the X Server still listens to the port. The suggestion to block port 6000 with ipfilter is good, but presents the problem that the other software won't be able to communicate either.
Our goal was either to get Xsun to stop listening, or at the least get it to listen to another port. Xsun with Solaris 9 supports the '-nolisten tcp' flag to do this, but the Xsun with Solaris 8 seems to lack this function.
We've also tried adding the nearest flags to modifying the port that we could find: -pn and -port port_num. Our Xservers file looks like this now
:0 Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner -pn -port 6001
Still no effect. lsof -i shows it's still listening on 6000.
Upgrading to Solaris 9 or 10 would break the programs running on these machines, so that isn't an option for us. How hard is it to upgrade Xsun to a version that would support the -nolisten feature?
Thanks