LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2008, 09:18 AM   #1
Raakh
Member
 
Registered: May 2007
Posts: 128

Rep: Reputation: 15
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
 
Old 10-14-2008, 11:54 AM   #2
Vasto
LQ Newbie
 
Registered: Oct 2008
Posts: 10

Rep: Reputation: 0
Quote:
Originally Posted by Raakh View Post
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
You should be able to do this using ssh.

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
Then you should be able to launch firefox with:
Code:
firefox &
The ampersand at the end allows you to continue using the terminal while firefox is launched. It is unnecessary if you don't plan to do this.

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.
 
Old 10-18-2008, 06:29 AM   #3
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
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$

Last edited by Raakh; 10-18-2008 at 06:48 AM.
 
Old 10-19-2008, 02:28 AM   #4
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
Any help will be highly appreciated

Thanks again
 
Old 10-19-2008, 11:13 PM   #5
Vasto
LQ Newbie
 
Registered: Oct 2008
Posts: 10

Rep: Reputation: 0
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
zafar@207.62.77.34's password:
-bash-3.00$ firefox &
[1] 10299
-bash-3.00$
Firefox should show up with a window on your desktop. Perhaps trying it without the "&" to see if any errors show up in the terminal.
 
Old 10-19-2008, 11:31 PM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If you don't have X installed, just ssh in and use elinks (or similar). elinks is a command line browser.
 
Old 10-20-2008, 11:11 AM   #7
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Vasto View Post
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
zafar@207.62.77.34's password:
-bash-3.00$ firefox &
[1] 10299
-bash-3.00$
Firefox should show up with a window on your desktop. Perhaps trying it without the "&" to see if any errors show up in the terminal.
-bash-3.00$ firefox
-bash-3.00$

nothing happened

Thanks again
 
Old 10-20-2008, 11:53 AM   #8
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Might try ssh into the server and at the command prompt:
Code:
$ firefox localhost/yourwebsitename

Last edited by john test; 10-20-2008 at 12:02 PM.
 
Old 10-20-2008, 12:06 PM   #9
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by john test View Post
Might try ssh into the server and at the command prompt:
Code:
$ firefox localhost/yourwebsitename
-bash-3.00$ firefox localhost/www.yahoo.com
-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
 
Old 10-20-2008, 03:51 PM   #10
Vasto
LQ Newbie
 
Registered: Oct 2008
Posts: 10

Rep: Reputation: 0
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
 
Old 10-23-2008, 08:10 AM   #11
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Vasto View Post
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
Thanks for your reply

I set it to yes and restarted but same position

Code:
[root@server ~]# /etc/init.d/sshd restart
Stopping sshd:                                             [  OK  ]
Starting sshd:                                             [  OK  ]
[root@server ~]# ssh -X -c blowfish zafar@myserver.com
zafar@globalsteelweb.com's password: 
Last login: Thu Oct 23 06:44:37 2008 from 78.110.110.118
-bash-3.00$ firefox &
[1] 9845
-bash-3.00$ firefox
 
Old 10-23-2008, 11:29 PM   #12
Vasto
LQ Newbie
 
Registered: Oct 2008
Posts: 10

Rep: Reputation: 0
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*
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Gutsy 32bit, Source Dedicated Server HL2MP & server UDP port not allocated rautamiekka Linux - Networking 1 10-29-2007 11:45 AM
Dedicated Server Raakh Linux - Newbie 2 07-12-2007 05:38 AM
Dedicated Server Distros (SME server and Censornet) Sugga Linux - General 2 09-22-2005 03:15 AM
Getting my first dedicated server Damainman Linux - Newbie 4 11-13-2003 04:48 PM
where to get UT dedicated server dkc_ace Linux - General 2 12-19-2002 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration