LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2013, 09:58 PM   #1
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Rep: Reputation: Disabled
Running firefox browser from remote server but system always doesn't reflect the fact


I connected my remote server with
Code:
ssh -X 109.202.101.166
1)
1st I open firefox browser on my local machine.
I do
Code:
ps -e | grep firefox
and it outputs the firefox program which is fine.

Now, I open the browser on my remote server via terminal (running command)
Code:
$ firefox
. It takes more than 10 miniutes to come on my screen. And then the prompt comes back on the terminal so that I can run another command. Once browser comes, it works fine.
I run
Code:
ps -e | grep firefox
on remote machine but it doesn't
show the program.
(Later I concluded that this browser is running on my local box and not remote from where I ran)

2)
Now, what I do: I again disconnect from remote and reconnect.
And now rather than running the browser 1st from my local box, I ran from remote. This time (after 10 minutes) the browser appears on my screen but one can't work at all as it is too slow.
This time the prompt hasn't returned back. which returns if I run in my local box.
Now, running
Code:
ps -e | grep firefox
on my remote box (after opening a new terminal as former one hasn't returned prompt) outputs the firefox program. Note, earlier the command didn't give the output although I ran from remote.
After all this experiments, I concluded that at the 1st time, although I ran firefox from remote (which returned prompt), it was actually running on my local. And hence it was working fast. 2nd time it ran on my remote server and hence slow
(Just mentioning that my local internet speed is slow, while downloading I get a speed of 18 kb/s)
 
Old 09-09-2013, 05:30 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
When you start Firefox it checks if it can find an already running instance of it. If it finds one it does not start another one, but tells the already running instance to open a new tab and display the wanted content there. Since running Firefox remote seems not to be something the developers thought about (honestly, it doesn't make much sense to do that) this has the side effect that this does not work correctly.
Regarding the low speed, with a connection of only 18kb/s any application (except those running the very old Motif toolkit) will run slow. Modern applications will render the content of their Window and then send it over the network to the display server. In that case using VNC or NX might be a better option, since they use compression, but even then your connection bandwidth will seriously limit you.
 
Old 09-09-2013, 08:23 AM   #3
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
When you start Firefox it checks if it can find an already running instance of it. If it finds one it does not start another one, but tells the already running instance to open a new tab and display the wanted content there.
Thanks a lot for clarifying me. But one thing: rather than opening a new tab, it opens a new window.
 
Old 09-09-2013, 09:41 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by ravisingh1 View Post
Thanks a lot for clarifying me. But one thing: rather than opening a new tab, it opens a new window.
Possible, but you will still have only one Firefox instance running.
 
Old 09-09-2013, 09:47 AM   #5
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Original Poster
Rep: Reputation: Disabled
Right TobiSGD, thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
phpmyadmin interface thro' firefox browser not running. rssv Linux - Networking 1 07-05-2013 07:14 AM
Firefox browser is not responding or running azzbunni Linux - Laptop and Netbook 4 03-03-2011 06:45 AM
Applets not running in Fedora 7 ( FireFox browser) benji_charles Linux - Newbie 2 06-23-2007 12:33 PM
Mozilla Browser Works -- Firefox Doesn't intels_ss Linux - General 6 07-29-2005 08:42 AM
Suse 9.2 - Firefox - SSL (browser doesn't load secure pages) jclement30 SUSE / openSUSE 7 02-15-2005 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:22 PM.

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