You are not logged in.

#1 2005-02-01 21:52:51

DJayC
Member
Registered: 2004-11-08
Posts: 17

Mozilla Firefox over SSH tunneling X11 connections

Is there anyone having luck run firefox remotely displaying on a local X server?

I am ssh'ed to a machine with X11 forwarding.  Various apps like xeyes, xcalc, etc will run on the remote machine, and display on the local machine.  For some reason when I run firefox, it doesn't display on the local X server. 

Any ideas?

Offline

#2 2005-02-01 21:56:56

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Mozilla Firefox over SSH tunneling X11 connections

I had it working fine a while back... I think the only thing was that the buttons didn't render correctly...

Offline

#3 2005-02-01 22:07:25

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Mozilla Firefox over SSH tunneling X11 connections

Firefox, and mozilla for that matter, take ages to render via ssh remote X over anything but a fast connection. You can start firefox, and wait for 1 to 5 minutes for it to actually start rendering sometimes..yikes.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#4 2005-02-01 22:23:51

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Mozilla Firefox over SSH tunneling X11 connections

I just tried it with ssh -C -X, and it works. A short mozilla session took 0.7 Mb down- and 0.3 Mb upload, and was awfully slow (though it took just 10 seconds before a window popped up).

Offline

#5 2005-02-01 22:33:42

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Mozilla Firefox over SSH tunneling X11 connections

if you have a good connection, ditch the -C compression seems to slow ssh down. It is just  for crappy bandwidth connections (dial up).
Also, you might try blowfish. it is a faster cipher. Of maybe aurFour, an RC4 deriviate. Stream ciphers are great for such uses. I cannot really make any statements about the security of the openssh implementation of RC4, though. I don't know if they are throwing away the first 1500bits or so like they should be..


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#6 2005-02-01 23:47:48

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Mozilla Firefox over SSH tunneling X11 connections

No matter how pathetic the compression or encryption method used is, they all can do 1Mb/s easily with a 200Mhz cpu. So it's just a bandwidth/latency problem. With 10 Mbit or so you may want to ditch the -C option, but otherwise it should speed things up. If not, then there's a big bug somewhere.

Offline

#7 2005-02-02 13:59:28

khazdar
Member
From: ohio
Registered: 2003-11-06
Posts: 123

Re: Mozilla Firefox over SSH tunneling X11 connections

The performance I get using firefox over ssh is very nice. My cable max upload speed is about 2 Mbps.

My client machine is running winXP, and I use the putty ssh client. I connect to the X session via VNC.

-Khaz

Offline

#8 2005-02-02 16:26:03

DJayC
Member
Registered: 2004-11-08
Posts: 17

Re: Mozilla Firefox over SSH tunneling X11 connections

To answer my own question...

firefox will not start a new instance if there is already one running on the remote machine.  When you run firefox, it will just open a new window, or new tab in the existing instance.  This is why it wasn't doing anything when I tried to start firefox to have it run on my local display. 

In summary, make sure all firefox instances are killed on the remote box before attempting to forward the display to your local machine.

Offline

#9 2005-02-02 19:20:28

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: Mozilla Firefox over SSH tunneling X11 connections

I think the newer builds of firefox allow multiple instances.

If you have bandwidth problems, use a light browser like dillo and you willl not even notice the connection speed.

Offline

Board footer

Powered by FluxBB