LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How to run browser for remote server (https://www.linuxquestions.org/questions/red-hat-31/how-to-run-browser-for-remote-server-4175632762/)

sub320 06-27-2018 05:36 AM

How to run browser for remote server
 
I have a linux web server ( redhat 7 ) in data center , the GUI desktop is installed , the apache is started , I would like to use the GUI to test the web page .

As the server is not in my local office , I can't use the console by wired cable with monitor .

I can access the server with VNC , but it do not have function in vnc console .

would advise how to use the GUI interface ?

thanks

Turbocapitalist 06-27-2018 06:02 AM

If that VNC is not tunneled over SSH, please disable it so that no one takes over your remote machine and locks you out while using it for mischief.

If you have a SSH connection you can use application level port-forwarding with a built-in SOCKS5 proxy.

Code:

ssh -D 5555 -l sub320 server.example.com
Then you can point your web browser to the SOCKS5 proxy on port 5555 on 127.0.0.1 which will connect to the server. If you need access outside as well, then set up a separate browser profile and run that in a separate instance.

Once you've figured out how to do the connection you can also consider adding in the -N and -f options.

See "man ssh" for more.

scasey 06-28-2018 02:41 AM

And, again, please contact Red Hat support. You're paying for it (aren't you?) so use it.


All times are GMT -5. The time now is 07:15 PM.