In RHEL 5.1 unchecking "Deny TCP connections to Xserver" doesn't work
I would like to allow X connections and in RHEL 4.4 editing the /etc/X11/gdm/gdm.conf file to DisallowTCP=false did the trick.
But in RHEL 5.1, I can't seem to get the same result. Editing the /etc/gdm/custom.conf file under [security] and adding DisallowTCP=false doesn't work. Also going to gdmsetup -> security -> unchecking "Deny TCP connections to Xserver", which basically is the same thing, doesn't work.
When I test it out as a user with "xclock -display <ip address>:0.0"
I get the error:
Xlib: connection to "<ip address>:0.0" refused by server
Xlib: No protocol specified
Error: Can't open display "<ip address>:0.0"
I know xhost + is a solution, but because of security concerns, we are not allowed to use that.