For installing on Redhat 9 you will need:
glibc-2.3.5-5, glibc-common-2.3.5-5, glibc-devel-2.3.2-5 (otherwise cannot relink)
openmotif21-2.1.30-8 (otherwise segmentation fault during startup of f90desm.sh or window system failure)
log in with SSH as a non-root user, then
vncserver -geometry 1024x768 :1
If not yet exists, it will create $HOME/.vnc/xstartup where you should uncomment the followings for a normal desktop:
Then you can connect to <your_ip_number>:1
After finished, simply
vncserver -kill :1
There is a very nice description how to tunnel VNC through SSH here.
"So, imagine you had a VNC server running as display :1 on machine snoopy, and you wanted a secure connection to it from your local machine. You could start the ssh session using:
ssh -L 5902:localhost:5901 snoopy
and any references to display :2 on your local machine would actually connect to display :1 on snoopy."