SSH
/etc/ssh/sshd_config
If you’re running Sun’s bundled SSH then ensure these options are available in the configuration file of the sshd daemon:
AllowTcpForwarding yes
GatewayPorts yes
X11Forwarding yes
X11DisplayOffset 10
PAMAuthenticationViaKBDInt yes
PasswordAuthentication yes