LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-01-2007, 09:56 AM   #1
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Rep: Reputation: 15
ssh very slow/hanging in Slackware 12


I installed Slackware 12.0 (32 bit OS) on my AMD 64 bit computer. I am in a univ where they provide MATLAB on a server. I connect to the server through ssh:

ssh -X <server i.p>

I can login successfully. When I run MATLAB, it simply hangs. My computer shows 99% CPU usage by ssh X. Even when I run some other application like gedit, it is incredibly slow.

I have all libs of Xserver installed (Xvideo, YV12 overlay). I also have a /proc/mtrr file. I use a MSI motherboard with VIA graphics card and have the corresponding driver loaded. I can provide any other info on my computer if needed.
 
Old 10-02-2007, 03:07 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I'd try how it works without forwarding X. Simple ssh, then text commands only. Should work nicely. If that's fine, run ssh -X and check one application after another. Then check the traffic when you run those you have problems with. Is it high? The thing is that when you run an X-based app via ssh it requires an enormous amount of transfers sometimes.
 
Old 10-02-2007, 11:33 PM   #3
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Original Poster
Rep: Reputation: 15
Thanks for the reply. Yes, ssh without X works fine. In my CentOS system, ssh -X works just fine with MATLAB etc. Its slackware thats giving me problems. I am now at my work computer so I'll check the network activity on my home computer when I get home.
 
Old 10-03-2007, 09:00 AM   #4
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Original Poster
Rep: Reputation: 15
I checked the network traffic. Its as low as 130 bytes per second. Even my internet speed is around 50-100 kilobytes per second. Looks like ssh is not getting enough speed to load the apps in -X mode.
What should I try out?
 
Old 10-04-2007, 09:06 AM   #5
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Original Poster
Rep: Reputation: 15
Hi,
My problem is still there. Can anyone make a suggestion? Can't find anything on google.
 
Old 10-05-2007, 09:09 AM   #6
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Original Poster
Rep: Reputation: 15
I'll close this thread here and reopen another one in Slackware forums.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ssh hanging, but only on Linux tomj88 Linux - Networking 12 05-28-2006 09:09 PM
ssh/tcp hanging/sleeping problem Jim Deakin Linux - Networking 0 12-13-2005 07:11 AM
Linux Slackware 10 hanging. R-Razi Linux - Newbie 4 08-26-2004 07:57 PM
Console hanging and scp transfer low when using ssh XStorm Linux - Networking 1 12-08-2003 09:34 PM
gFTP hanging or r-e-a-l slow kaine Linux - Software 4 07-06-2003 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration