Probably could have edited your question to be more clear instead of posting a completely separate question.
I am able see the desktop, but I cannot see Chrome, Firefox etc. How do I open a web browser on a VNC session?
If you can see the desktop via VNC, then you're probably just looking at a desktop environment that you're not familiar with... Try right clicking the desktop and see if "Xterm" or "Terminal" or something like that is an option.
Assuming Firefox is installed on that system (note - it's probably not)... You'll probably need to run
apt install firefox or use
dnf or some other packaging tool...
Once you have a remote terminal open, use
Also, after sometime, I get the following error message:
client_loop: send disconnect: Connection reset by peer
Your connection to that server isn't very good. One of the routers along the way is timing out your connection.
You can prove this to yourself by running
tightvnc in a VM on your local machine, connect to it, and you should be able to go for hours without having the connection reset.
Note, usually it will be painfully slow to run a browser remotely. If you're trying to access some http service on the remote system, just forward the port directly for that service rather than using vnc.