Hi,
This post is about how to use Graphical application in Linux server environment.
And cover the basic concept of X11 forwarding, Xming server, DISPLAY variable in Linux and Graphical application on Linux.
So to get the Graphical access to any GUI based application we need to follow below listed steps:
1. While logging into the server, Enable the X11 forwarding in Putty Setting.
2. After Login into the Linux machine you need run X11 forwarding server which is "xming" on window machine, which you are using to get access to the Linux server.
3. The xming can be downloaded from google and very easy to install. To launch Xming just click on "Xming Launch" icon and provide the port number where you want to run the xming server and finish the setup.
4. Once Xming is successfully launched on window machine. Just go to the Linux server and set the DISPLAY environment variable using the command "export DISPLAY=Window machine IP : Port of Xming server" i.e. "export DISPLAY=10.66.12.249:7.0" (Refer video for more clarity).
5. You can launch any Graphical application now. Test using "xclock" command.
Also check the IPTABLES & SELINUX status at your Linux machine, both should be turned off.
We are focusing on the basic problems, which we are facing during the installation or implementation of any application and due to unavailability of related content, it took large amount of time.
Hope this will help you and you will not lose your continuity during the activity.
Or you can also refer below video to see a live demo:
https://www.youtube.com/watch?v=fS7vqBmxG4w