Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box fire up its own firefox session even if I was running firefox on the system from I which I sshed. Those days seem to be gone. No matter what I try, if I've got firefox running on my local desktop, the remote firefox command just fires off another instance of the local firefox session.
I've got several boxes running monitoring daemons reporting via http only to the localhost, so this was a handy feature for me. Is there any official way to get it back? If not, I guess I'll have to hack a 'localfirefox' script that doesn't do the nasty mozilla-xremote-client trick.
Ah, progress... *sigh*
On Friday 11 August 2006 22:15, Joshua Baker-LePain wrote:
Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box fire
hmm.. -no-xshm works for me, never heard of -local :-)
/Peter
up its own firefox session even if I was running firefox on the system from I which I sshed. Those days seem to be gone. No matter what I try, if I've got firefox running on my local desktop, the remote firefox command just fires off another instance of the local firefox session.
I've got several boxes running monitoring daemons reporting via http only to the localhost, so this was a handy feature for me. Is there any official way to get it back? If not, I guess I'll have to hack a 'localfirefox' script that doesn't do the nasty mozilla-xremote-client trick.
Ah, progress... *sigh*
On Mon, 14 Aug 2006 at 9:07am, Peter Kjellström wrote
On Friday 11 August 2006 22:15, Joshua Baker-LePain wrote:
Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box fire
hmm.. -no-xshm works for me, never heard of -local :-)
Really? It doesn't work for me. I still get another instance of the local firefox session. Ditto for --no-xshm, --noshm, and -noshm.
On 8/14/06, Joshua Baker-LePain jlb17@duke.edu wrote:
On Mon, 14 Aug 2006 at 9:07am, Peter Kjellström wrote
On Friday 11 August 2006 22:15, Joshua Baker-LePain wrote:
Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box
fire
hmm.. -no-xshm works for me, never heard of -local :-)
Really? It doesn't work for me. I still get another instance of the local firefox session. Ditto for --no-xshm, --noshm, and -noshm.
I may be missing something here but all I do is ssh -X remote.domain
John M
On Mon, 14 Aug 2006 at 9:25pm, John Masters wrote
On 8/14/06, Joshua Baker-LePain jlb17@duke.edu wrote:
On Mon, 14 Aug 2006 at 9:07am, Peter Kjellström wrote
On Friday 11 August 2006 22:15, Joshua Baker-LePain wrote:
Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box
fire
hmm.. -no-xshm works for me, never heard of -local :-)
Really? It doesn't work for me. I still get another instance of the local firefox session. Ditto for --no-xshm, --noshm, and -noshm.
I may be missing something here but all I do is ssh -X remote.domain
Oh, I've got remote X working just fine. It's just getting firefox to actually run on the remote box that's the issue.
On 8/14/06, Joshua Baker-LePain jlb17@duke.edu wrote:
On Mon, 14 Aug 2006 at 9:25pm, John Masters wrote
On 8/14/06, Joshua Baker-LePain jlb17@duke.edu wrote:
On Mon, 14 Aug 2006 at 9:07am, Peter Kjellström wrote
On Friday 11 August 2006 22:15, Joshua Baker-LePain wrote:
Back in the day (read: before the latest firefox update), I used to
be
able to ssh to a remote box, run 'firefox -local', and have that box
fire
hmm.. -no-xshm works for me, never heard of -local :-)
Really? It doesn't work for me. I still get another instance of the local firefox session. Ditto for --no-xshm, --noshm, and -noshm.
I may be missing something here but all I do is ssh -X remote.domain
Oh, I've got remote X working just fine. It's just getting firefox to actually run on the remote box that's the issue.
Sorry, I'm not a Linux guru and I may be off centre here, but ssh -X
remote.domain then at command prompt firefox opens up firefox on my remote machine or gedit opens gedit or xxxx opens whatever X app. Running bog standard CentOS 4.3 with no extra repos and all updates.
John
On Mon, 14 Aug 2006 at 10:05pm, John Masters wrote
On 8/14/06, Joshua Baker-LePain jlb17@duke.edu wrote:
Oh, I've got remote X working just fine. It's just getting firefox to actually run on the remote box that's the issue.
Sorry, I'm not a Linux guru and I may be off centre here, but ssh -X remote.domain then at command prompt firefox opens up firefox on my remote machine or gedit opens gedit or xxxx opens whatever X app. Running bog standard CentOS 4.3 with no extra repos and all updates.
But what if you've already got firefox running on the local host, then you ssh to a remote host and try to run firefox there? For me, that just spawns another window of the local firefox session.
On 8/14/06, Joshua Baker-LePain jlb17@duke.edu wrote:
On Mon, 14 Aug 2006 at 10:05pm, John Masters wrote
On 8/14/06, Joshua Baker-LePain jlb17@duke.edu wrote:
Oh, I've got remote X working just fine. It's just getting firefox to actually run on the remote box that's the issue.
Sorry, I'm not a Linux guru and I may be off centre here, but ssh -X remote.domain then at command prompt firefox opens up firefox on my
remote
machine or gedit opens gedit or xxxx opens whatever X app. Running bog standard CentOS 4.3 with no extra repos and all updates.
But what if you've already got firefox running on the local host, then you ssh to a remote host and try to run firefox there? For me, that just spawns another window of the local firefox session.
Ahh! I'm with you now. Didn't notice it was running a local copy. Sorry!
I've tried the --no-xshm et al and, like you, just get a local copy. Googling didn't give me any relevant results either.
John
ssh -Y user@remotecomputer then run firefox
From man ssh -Y Enables trusted X11 forwarding.
John Masters wrote:
On 8/14/06, *Joshua Baker-LePain* <jlb17@duke.edu mailto:jlb17@duke.edu> wrote:
On Mon, 14 Aug 2006 at 10:05pm, John Masters wrote > On 8/14/06, Joshua Baker-LePain <jlb17@duke.edu <mailto:jlb17@duke.edu>> wrote: >> >> Oh, I've got remote X working just fine. It's just getting firefox to >> actually run on the remote box that's the issue. >> > Sorry, I'm not a Linux guru and I may be off centre here, but ssh -X > remote.domain then at command prompt firefox opens up firefox on my remote > machine or gedit opens gedit or xxxx opens whatever X app. Running bog > standard CentOS 4.3 with no extra repos and all updates. But what if you've already got firefox running on the local host, then you ssh to a remote host and try to run firefox there? For me, that just spawns another window of the local firefox session.
Ahh! I'm with you now. Didn't notice it was running a local copy. Sorry! I've tried the --no-xshm et al and, like you, just get a local copy. Googling didn't give me any relevant results either.
John
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 8/14/06, Jean Figarella jfigarella@vecna.com wrote:
ssh -Y user@remotecomputer then run firefox
From man ssh -Y Enables trusted X11 forwarding.
That still runs a local firefox rather than from the remote box.
John
John Masters wrote:
On 8/14/06, *Joshua Baker-LePain* <jlb17@duke.edu mailto:jlb17@duke.edu> wrote:
On Mon, 14 Aug 2006 at 9:25pm, John Masters wrote > On 8/14/06, Joshua Baker-LePain <jlb17@duke.edu <mailto:jlb17@duke.edu>> wrote: >> >> On Mon, 14 Aug 2006 at 9:07am, Peter Kjellström wrote >> >> > On Friday 11 August 2006 22:15, Joshua Baker-LePain wrote: >> >> Back in the day (read: before the latest firefox update), I used to be >> >> able to ssh to a remote box, run 'firefox -local', and have that box >> fire >> > >> > hmm.. -no-xshm works for me, never heard of -local :-) >> >> Really? It doesn't work for me. I still get another instance of the >> local firefox session. Ditto for --no-xshm, --noshm, and -noshm. >> > I may be missing something here but all I do is ssh -X remote.domain Oh, I've got remote X working just fine. It's just getting firefox to actually run on the remote box that's the issue.
Sorry, I'm not a Linux guru and I may be off centre here, but ssh -X remote.domain then at command prompt firefox opens up firefox on my remote machine or gedit opens gedit or xxxx opens whatever X app. Running bog standard CentOS 4.3 with no extra repos and all updates.
John
Try ssh into the remote machine. Open an xterm as with "xterm -display <your localhost:0> . At that point, you can open any X based application from the remote machine you wish from that xterm. You must enable the local machine in the remote host's xhost file, and it has to be done from local. You cannot add an xhost via remote. This has worked for me with no issues at all.
Sam
Joshua Baker-LePain wrote:
Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box fire up its own firefox session even if I was running firefox on the system from I which I sshed. Those days seem to be gone. No matter what I try, if I've got firefox running on my local desktop, the remote firefox command just fires off another instance of the local firefox session.
I've got several boxes running monitoring daemons reporting via http only to the localhost, so this was a handy feature for me. Is there any official way to get it back? If not, I guess I'll have to hack a 'localfirefox' script that doesn't do the nasty mozilla-xremote-client trick.
Ah, progress... *sigh*
As an alternative solution, why don't you take advantage of ssh's port forwarding ability and use just your local copy of firefox to access the web server as if you were local to the box. When you connect to the remote box, use something like:
ssh -L 8080:localhost:80 remotebox
Then on your local box's copy of firefox point the url to:
This should (assuming the network is slower than gigabit) provide you with the fastest firefox response and use less resources on the remote systems. There are other possible benefits such as, with multiple ssh sessions and different port redirects (8081, 8082, ...) you could monitor daemons (different boxes) from different tabs in a single firefox window.
The one caveat with this is if you are using virtual hosts on the web server, further tweaks to the local hosts file and the local firefox url will be required.
Erik
On Mon, 14 Aug 2006, Erik Laxdal wrote:
Joshua Baker-LePain wrote:
Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box fire up its own firefox session even if I was running firefox on the system from I which I sshed. Those days seem to be gone. No matter what I try, if I've got firefox running on my local desktop, the remote firefox command just fires off another instance of the local firefox session.
I've got several boxes running monitoring daemons reporting via http only to the localhost, so this was a handy feature for me. Is there any official way to get it back? If not, I guess I'll have to hack a 'localfirefox' script that doesn't do the nasty mozilla-xremote-client trick.
Ah, progress... *sigh*
As an alternative solution, why don't you take advantage of ssh's port forwarding ability and use just your local copy of firefox to access the web server as if you were local to the box. When you connect to the remote box, use something like:
ssh -L 8080:localhost:80 remotebox
Then on your local box's copy of firefox point the url to:
http://localhost:8080/
This should (assuming the network is slower than gigabit) provide you with the fastest firefox response and use less resources on the remote systems. There are other possible benefits such as, with multiple ssh sessions and different port redirects (8081, 8082, ...) you could monitor daemons (different boxes) from different tabs in a single firefox window.
The one caveat with this is if you are using virtual hosts on the web server, further tweaks to the local hosts file and the local firefox url will be required.
It's probably easier to use
ssh -D 1080 remotebox
and then configure localhost:1080 as your Socks server in firefox. Or you could use proxy extension that allows you to switch from proxy server with a single click.
This allows you to use different Socks servers on different ports and switch between them using an extension.
Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box fire up its own firefox session even if I was running firefox on the system from I which I sshed. Those days seem to be gone. No matter what I try, if I've got firefox running on my local desktop, the remote firefox command just fires off another instance of the local firefox session.
This is relied to the problem I have using "firefox -P" on my local centos to try to start a new instance of firefox with a different profile.
My solution is to start env MOZ_NO_REMOTE=1 firefox -P
Could you try that? I checked it through ssh and it works. Just that you have to chose the profile at start.
Anne
On Wed, 16 Aug 2006 at 2:53am, Anne Possoz wrote
Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box fire up its own firefox session even if I was running firefox on the system from I which I sshed. Those days seem to be gone. No matter what I try, if I've got firefox running on my local desktop, the remote firefox command just fires off another instance of the local firefox session.
This is relied to the problem I have using "firefox -P" on my local centos to try to start a new instance of firefox with a different profile.
My solution is to start env MOZ_NO_REMOTE=1 firefox -P
Could you try that? I checked it through ssh and it works. Just that you have to chose the profile at start.
That works! Yes, it requires an extra click. But it does actually work. Thanks!
Joshua Baker-LePain wrote:
On Wed, 16 Aug 2006 at 2:53am, Anne Possoz wrote
Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box fire up its own firefox session even if I was running firefox on the system from I which I sshed. Those days seem to be gone. No matter what I try, if I've got firefox running on my local desktop, the remote firefox command just fires off another instance of the local firefox session.
This is relied to the problem I have using "firefox -P" on my local centos to try to start a new instance of firefox with a different profile.
My solution is to start env MOZ_NO_REMOTE=1 firefox -P
Could you try that? I checked it through ssh and it works. Just that you have to chose the profile at start.
That works! Yes, it requires an extra click. But it does actually work. Thanks!
I've been silently wanting this ability as well. I tried Anne Possoz's solution, and I can't thank her enough.
Also, I dropped the '-P' switch and firefox still loads on the remote boxen but without the profile selector.
Either way, thank you for the solution!
Andrew
Joshua Baker-LePain wrote:
Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box fire up its own firefox session even if I was running firefox on the system from I which I sshed. Those days seem to be gone. No matter what I try, if I've got firefox running on my local desktop, the remote firefox command just fires off another instance of the local firefox session.
I've got several boxes running monitoring daemons reporting via http only to the localhost, so this was a handy feature for me. Is there any official way to get it back? If not, I guess I'll have to hack a 'localfirefox' script that doesn't do the nasty mozilla-xremote-client trick.
Ah, progress... *sigh*
Did you try this in your X-forwarded ssh session?
firefox -display $DISPLAY
On Wed, 16 Aug 2006 at 2:47pm, José Traver wrote
Joshua Baker-LePain wrote:
Back in the day (read: before the latest firefox update), I used to be able to ssh to a remote box, run 'firefox -local', and have that box fire up its own firefox session even if I was running firefox on the system from I which I sshed. Those days seem to be gone. No matter what I try, if I've got firefox running on my local desktop, the remote firefox command just fires off another instance of the local firefox session.
I've got several boxes running monitoring daemons reporting via http only to the localhost, so this was a handy feature for me. Is there any official way to get it back? If not, I guess I'll have to hack a 'localfirefox' script that doesn't do the nasty mozilla-xremote-client trick.
Ah, progress... *sigh*
Did you try this in your X-forwarded ssh session?
firefox -display $DISPLAY
That still opens another window of the local instance.