[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remote X weirdness



On Mon, Oct 10, 2005 at 07:09:46AM +0100, Neil Youngman wrote:
> On Sunday 09 Oct 2005 22:18, Willie McKemie wrote:
> > I "ssh -XC <ip>", then "firefox" or "firefox&".  Sure enough, I get
> > Firefox on my local display.  But, it gives every indication that it is
> > a local Firefox, not Firefox on the remote box; the URL "file:///"
> > shows the local filesystem.  Other X apps run through the ssh ARE on
> > the remote box.
> >
> > What the heck is going on here?  And how to I fix it?
> 
> Unlike most other programs you'll use, "firefox" is a shell script wrapper, 
> not the actual binary that is run. I'm guessing that what's going in is that 
> the shell script wrapper is doing something "clever". My best guess at this 
> point is that an existing copy of firefox is running on your local host and 
> the shell script detects this and asks it to pop up a new window, instead of 
> starting a new instance.

As unlikely as it seems to me, you MUST be right!.  Giving firefox a 
"-width" parameter caused the remote's firefox to appear on my local 
display!  Amusingly, the width parameter did not influence the width of 
the firefox window.  Earlier, I tested remote display of an old mozilla 
browser; it behaved the same as firefox.

Next time I have a local Firefox down, I will test and see if the 
symptoms occur if and only if a local firefox is running.

Thanks for the insight!  I have seen this problem for years and not 
really believed my eyes.  I guess there are few of us who attempt to 
run firefox remotely.

-- 
Willie, ONWARD!  Through the fog!
http://counter.li.org Linux registered user #228836 since 1995
Linux system uptime  469 days 18 hours 09 minutes



Reply to: