openSUSE Forums > Network/Internet » Very slow remote X Firefox using ssh -X

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read

Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 24-Jun-2009, 21:18
Puzzled Penguin
 
Join Date: Jul 2008
Posts: 2
crobc hasn't been rated much yet
Default Very slow remote X Firefox using ssh -X

Hi:

openSuSE 10.3 x86_64, using KDE whatever came with it.

I have two machines running 10.3 on a 100 Mbps LAN. Both are very powerful machines, Core 2 Duo >= 3.0GHz, 2GB RAM, you get the picture.

If I do:
ngong:> ssh -X bong
...
bong:> firefox, or konqueror, etc.

The performance or the display on "ngong" of the application running on "bong" is horribly slow. I mean oozing refrigerated molasses slow. Both machines don't have firewall running at present. They have 3Mbps internet suction, and I can typically do 10MB/s ftp from one to the other.

Got any idea how to fix or where to look for indications of trouble?

Hmm, I just noticed kate remotely displays a bit slow but not horribly. I noticed some posts about this sort of problem specific to Firefox. But the same problem with Konq?

BTW, I am logging in to the remote machine as a different user than the one which might be logged in there already and running Konq. and Firefox instances.

Do I have to worry about other instances of these programs even if they are belonging to a different user?

Thanks for a response.

Good day!
Reply With Quote
  #2 (permalink)  
Old 24-Jun-2009, 21:32
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,055
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Very slow remote X Firefox using ssh -X

I don't use the method you employ. But prefer kssh from the kde community repo.
You basically just connect via the terminal, once logged in to the remote box, just start apps: eg: firefox

For file management I connect via konqueror with: fish://

Multiple instances of the same application should be fine.

But I'm not sure about
Quote:
BTW, I am logging in to the remote machine as a different user than the one which might be logged in
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 RC2 | Celeron 550 | (KDE4.3.3)"1" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #3 (permalink)  
Old 25-Jun-2009, 02:09
Flux Capacitor Penguin
 
Join Date: Jun 2008
Location: GMT+10
Posts: 5,110
ken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud of
Default Re: Very slow remote X Firefox using ssh -X

Remote X apps typically have poor performance and it's due to the high latencies and the large number of round trips made by typical X apps. Doesn't matter how much bandwidth you've got, the latency and round trips kill performance. You might want to try NX which is supposed to help in such cases.
Reply With Quote
  #4 (permalink)  
Old 25-Jun-2009, 05:47
Knurpht's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: groningen, netherlands
Posts: 1,673
Knurpht is on a distinguished reputation roadKnurpht is on a distinguished reputation road
Default Re: Very slow remote X Firefox using ssh -X

I've never known it any different. OO.o, Firefox and Thunderbird are incredibly slow within 'ssh -X'.

Using fish a lot too, on LAN and WAN.
__________________
- AMD Athlon X2 6.0 GHz, 8 GB DDR2-800, 30 GB SSD, 1.5 TB, EVGA 9800GT, openSUSE 11.2 RC2 KDE4 4.3.2
- ASUS K70IO laptop, GT120M-1GB, 4 GB, 64 GB SSD, opensuse Factory, KDE4 4.3.2

There's one in every cloud...So leave the cloud in peace.
Reply With Quote
  #5 (permalink)  
Old 25-Jun-2009, 20:18
Puzzled Penguin
 
Join Date: Jul 2008
Posts: 2
crobc hasn't been rated much yet
Default Re: Very slow remote X Firefox using ssh -X

Quote:
Originally Posted by caf4926 View Post
I don't use the method you employ. But prefer kssh from the kde community repo.
You basically just connect via the terminal, once logged in to the remote box, just start apps: eg: firefox

For file management I connect via konqueror with: fish://
Holy smokes, I never even heard about that until now. You mean I needn't set up NFS anymore? Wow. It's too bad this doesn't show up in the default Konqueror filemanager sidebar. I have a "network" button, which doesn't have any fishy thing, nor any other one of the mostly useless redundancies. Only "storage media," "Home," and "Root" do much useful.

Hmm, I can add a button though, with the fish:// URL for my other machine.

Cool.
Reply With Quote
  #6 (permalink)  
Old 29-Jun-2009, 16:26
Explorer Penguin
 
Join Date: Jun 2008
Posts: 224
Ecky hasn't been rated much yet
Default Re: Very slow remote X Firefox using ssh -X

Quote:
Originally Posted by ken_yap View Post
You might want to try NX which is supposed to help in such cases.
I can vouch for that

I use nx an awful lot and find it's a lot quicker than vnc or ssh x11 forwarding (I do have the nxclient's disk and memory caching set to the max which may be helping there)

Over the lan there's hardly a noticeable speed difference with nx to using a desktop on the machine you're remoting into
Reply With Quote
  #7 (permalink)  
Old 02-Jul-2009, 05:45
Puzzled Penguin
 
Join Date: Jul 2009
Posts: 1
martinson hasn't been rated much yet
Smile Re: Very slow remote X Firefox using ssh -X

If you wish to use OpenSSH, and you're on a trusted network, use the -Y switch instead of -X. By referencing from the OpenSSH manual, the -X switch implies heavy security checks and this creates latency in order of the extra checks. But by using the -Y switch this loosens everything a bit. Try it out.

Martin.
Reply With Quote
Reply

Bookmarks

Tags
slow remote ssh firefox x


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2