Restrict XWindows Server Access by IP Address

We want to disable graphical logins on our Solaris 10(64bit sparc )boxes, but I haven't found any information on how to do it via google. Most likely I am using the wrong search terms (i've been looking for "xdmcp" and "x11" "disable") .

While looking through the output of "svcs -a | grep online", I found a service called "graphical-login" that looks like what I need.

Is there definitive way to disable graphical logins?

If there are exceptions, is there a way to restrict graphical logins to specific IP addresses?

we want to leave SSH access open to all systems.

perhaps you could do it by blocking some ports for those IP addresses with firewall.

From the man page of xhost.

You can disable all XDMCP connections by editing /etc/dt/config/Xaccess

#
# Xaccess - disable all XDMCP connections
#
!*