[Bulk] Re: ssh -X ..., I or Firefox doesn't understand X Forwarding
Joel Goguen
jtgoguen at gmail.com
Tue Dec 30 02:04:28 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rick Berger wrote:
> Joel, Thanks it works. Have you any idea how when your logged to a shell
> on another machine your machine could even see the contents of the
> remote command line?
>
> On Mon, 2008-12-29 at 20:35 -0400, Joel Goguen wrote:
> Rick Berger wrote:
>>>> I'm running 7.10 on my pc and 8.10 on my laptop. Both are running sshd
>>>> and I've been connecting say from the pc to the laptop using 'ssh -X
>>>> rick at laptop' in a Terminal window. Now from the laptop's prompt in the
>>>> terminal window I type "firefox" and I get one of two possible outcomes;
>>>> 1 if Firefox 2 is already running on my pc I just get another instance
>>>> of it, and 2 if pc is not running Firefox I get Firefox 3 running from
>>>> my laptop displayed on my pc, which is what I want. But then when I
>>>> click on my pc's Firefox icon it runs another instance of the laptop's
>>>> Firefox 3 not its Firefox. Obviously, I or Firefox doesn't understand X
>>>> Forwarding. Can someone explain what's going on?
>>>>
>>>>
> Firefox does some funny things checking to see if it's already running.
> To skip this, run Firefox like this and it won't do this checking:
>
> firefox -no-remote
>
> That will let you have Firefox running locally and start a new instance
> from the remote machine that doesn't care whether it's already running
> or not.
>
>
>>
I don't recall exactly how this feature works, but it doesn't see the
command line of the other machine at all. I believe it simply checks
the current X server (which, when you're using ssh -X, is the local
machine you're sitting at) for a Firefox window. If it finds one, it
tells that window to open a new window rather than starting a new
process. Details may not be exactly as depicted here, Google for the
most accurate information :)
- --
Joel Goguen
Ubuntu User #15951
When we help, we benefit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklZgawACgkQ7B2nva3BBng74QCdG5FXiZDHonxJ4CHcodVW0UXb
NHgAn0Afh/H2gGb7AbE87GYSVCL+eLas
=HWjE
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list