X11 Forwarding
In remote host (server, X11 client) enough(?):
yum install xauth
in /etc/ssh/sshd_config:
X11Forwarding yes
and .Xauthority file existing in user's home
But if there are problems with autogenerating .Xauthority file then set these parameters:
X11DisplayOffset 10
X11UseLocalhost no
maybe need:
yum install xorg-x11-apps or yum install xclock (when installing ora_db via ssh x11 does not work for 'oracle' user until installing xclock)
In mac OS X (client, X11 server) there is:
/etc/ssh/sshd_config:
# XAuthLocation added by XQuartz (http://xquartz.macosforge.org)
XAuthLocation /opt/X11/bin/xauth
/etc/ssh/ssh_config:
# XAuthLocation added by XQuartz (http://www.xquartz.org)
Host *
XAuthLocation /opt/X11/bin/xauth
echo $DISPLAY:
/private/tmp/com.apple.launchd.uWIthx5xdu/org.macosforge.xquartz:0
echo $DISPLAY in Linux Client:
:0
XQuartz security settings:
(may be need to toggle off selinux and firewall for .Xauthority generation; also check $DISPLAY environment variable; uncomment X11Forwarding in ssh_config; and something else operations of this mind...)
(somewhere on forums takes place this solution:
in /etc/ssh/ssh_config add/uncomment:
XAuthLocation /usr/bin/xauth
ForwardX11 yes
ForwardX11Trusted yes
)