Configure X11 Forwarding in CentOS/RHEL 6/7/8 and Fedora 28/29

X11 Forwarding will help you to run some GUI applications on a remote Sever. Like Firefox of Oracle installation of configuration and many other X11 apps. i will explain how to configure these settings from Windows Putty Client.

This Tutorials should work on all Centos/RHEL 7 and Fedora 28/29

Step 1: Install Required Packages
install all dependencies needed to run X11 applications

# yum install  xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-apps -y


Step 2: Enable X11 Fowarding Settings
This is an option to configure inside your SSHD Deamon settings.

# vim /etc/ssh/sshd_config
X11Forwarding yes

save and exit
Step 3: Restart SSH Service

The SSH service should be restarted to apply the change configuration.

For CentOS/RHEL 7/Fedora 28/29

# systemctl restart sshd

For CentOS/RHEL 6

# service sshd restart