How can I use the browser on dedicated server
I have a dedicated server and RHE installed. I want to browse website on my dedicated server whilst accessing it remotely.
Is that possible? Thanks & kind regards |
Quote:
From the terminal, connect using the following command replacing user with your username and dedicatedserver.com with the address of your server. Code:
ssh -X -c blowfish user@dedicatedserver.com Code:
firefox & You could also browse the web non-graphically using links or lynx. Also, it would probably be more ideal for you to setup a proxy on your server if the reason you want to run the browser on the server is privacy. |
Sorry for the delayed reply
[root@server ~]# firefox & [1] 6696 [root@server ~]# [root@server ~]# ssh -X -c blowfish zafar@207.62.77.34 zafar@207.62.77.34's password: Last login: Sat Oct 18 05:49:51 2008 from server.mydomain.com -bash-3.00$ firefox & [1] 10299 -bash-3.00$ -bash-3.00$ firefox & [2] 10597 [1] Exit 1 firefox -bash-3.00$ |
Any help will be highly appreciated
Thanks again |
I'm a bit confused as to what the problem is. What happens when you do this:
Code:
ssh -X -c blowfish zafar@207.62.77.34 |
If you don't have X installed, just ssh in and use elinks (or similar). elinks is a command line browser.
|
Quote:
-bash-3.00$ nothing happened Thanks again |
Might try ssh into the server and at the command prompt:
Code:
$ firefox localhost/yourwebsitename |
Quote:
-bash-3.00$ firefox www.yahoo.com -bash-3.00$ firefox & www.yahoo.com [1] 11142 -bash: www.yahoo.com: command not found -bash-3.00$ thanks again |
Perhaps your sshd isn't set up for it.
Set it up according to this link and that may solve the issue. http://www.cyberciti.biz/tips/runnin...h-session.html |
Quote:
I set it to yes and restarted but same position Code:
[root@server ~]# /etc/init.d/sshd restart |
Hmmm, I am pretty clueless. I don't know why it isn't working for you. Maybe someone else knows why (and I'm curious as to the answer). *Bump*
|
All times are GMT -5. The time now is 05:29 PM. |