I am using SSH to login into my Linux RedHat server from my Windows machine. I want to create a GUI in python on the server but I am not sure if there exists any Desktop environment on the server. I gave the command echo $DEKTOP_SESSION$DESKTOP_SESSION but it did not give any result. I am not sure if I was required to give that command but I just checked. Now
I would like to know, how do I check if there exists any desktop environment on the server or not.? I would also like to know if I can run a python file for GUI using command line or I will have to remotely access server's desktop environment using Virtual Network Computing (VNC) or something.
I am really new to most of these things so I might have made some mistake. Please comment if any other detail is required. Thanks!