Enabling X11Forwarding Remotely

When my developer installs a new build, all the servers have X11Forwarding turned off. I would like to write a script to execute from the main server in the suite and have it enable X11Forwarding on all the remote servers.

I created a script that I can execute as root to change the config file and restart the deamon. (The script is convieniently located in a directory that all the servers can mount to.) But... I need to log into 20 machines and su to root to execute it.

Is there a way I can ssh into each machine as root and execute the script?

I've tried something like...

foreach host ($hostlist)
ssh $host su - root -c /here/there/enable_X11script.sh
end

... and it complains about needing to execute in a standard tty.

Any help that would reduce the manual entry across 20 servers would be appreciated.

Scott E.