How to Enable X11 Forwarding Over SSH on Oracle Linux 6 and 7
The following instructions demonstrate how to enable X11 forwarding over SSH on systems running Oracle Linux 6 and 7, to display an X11 window on a different server.
To enable X11 Forwarding on a system running Oracle Linux (OL) 6 or 7, check if the xorg-x11-xauth package is installed. If it is not installed, run the following command to install it:
# yum install xorg-x11-xauth
Edit the file "/etc/ssh/ssh_config" and on the SSH server edit the file "/etc/ssh/sshd_config" and perform the following respective configuration changes.
For OL 6
X11 Forwarding:
- Uncomment the line "# ForwardX11".
- Change "ForwardX11 no" to "ForwardX11 yes.
Tagged:
0