LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2014, 12:52 PM   #1
Ryanms3030
Member
 
Registered: Jan 2014
Distribution: Debian, Mint, CentOS, Ubuntu
Posts: 261

Rep: Reputation: Disabled
Why is my terminal emulator slower?


I have played with a bunch of different distros in the past month and I have noticed differences in response in the terminal emulator programs. In particular when trying to ssh into my server. At one point I was running Fedora 20 on my desktop and with the default terminal emulator it seemed like when I ssh I would get prompted for password almost immediately and then be logged in as soon as I typed the credentials.

Now I am running Debian Wheezy with xfce desktop and using the stock Terminal Emulator. When I ssh now it seems like it takes nearly 30 seconds to make the connection before I get prompted for password and then takes some more waiting.

What causes the variance in performance I'm seeing? Is it the distro, the desktop environment, the terminal emulator or a combination?
 
Old 02-02-2014, 01:11 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Probably none of the above; if you're running ssh, I suspect it's network related. When you make a ssh connection to a server, the server will try to do a reverse DNS lookup on the client's IP address. It will wait until this reverse lookup succeeds (or times out) before presenting an authentication prompt. Are you changing your IP address as you're trying all of these different distros? If so, have you made sure reverse look-ups work correctly.

You can use one or more -v (for verbose) flags as part of your ssh command to get a better idea of what's going on. You can also check the ssh server logs.
 
Old 02-02-2014, 01:14 PM   #3
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I have noticed slowdowns in XFCE Terminal as well. I just switched to another terminal and everything is better.

The one I use, with similar features:
http://lilyterm.luna.com.tw/html/download.html
 
Old 02-02-2014, 01:24 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Interesting, what are the specs of your computer? Some terminal emulators and desktop environments are much more resource-intensive than others. That could be part of the issue if you have an older machine.
 
Old 02-02-2014, 02:19 PM   #5
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Quote:
Originally Posted by metaschima View Post
I have noticed slowdowns in XFCE Terminal as well...
The word for it is bloated.

@Ryanms3030
Get a lighter terminal something like rxvt-unicode-lite or evilvte, here a nice trick to run rxvt as daemon:
Code:
urxvtd -q -o -f
then run the client urxvtc, it uses a lot less memory and is much faster.

Cheers
 
Old 02-02-2014, 03:49 PM   #6
Ryanms3030
Member
 
Registered: Jan 2014
Distribution: Debian, Mint, CentOS, Ubuntu
Posts: 261

Original Poster
Rep: Reputation: Disabled
Thanks everyone. I'm testing lilyterm now and it's still slow connecting to ssh. I guess it's network related. The things that have changed are that I set up the router to reserve my server's ip (using dhcp on the server) and I also set up port forwarding for ssh so I can ssh from outside the firewall.

I have been noticing some other weirdness lately. I will have to restart my iptables and sshd service for apparently no reason to be able to ssh in sometimes which kind of defeats the purpose since I have to do that locally on the server since it prevents me from ssh.
 
Old 02-03-2014, 03:12 AM   #7
sebastian.heyn
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Rep: Reputation: Disabled
Quote:
it takes nearly 30 seconds to make the connection before I get prompted for password and then takes some more waiting.
Usually nameserver related. Most of the times i had this, the server could not find the client on the ns for reverse lookup. Maybe fedora handles your dhcp differently?
 
  


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
[SOLVED] Which terminal emulator do you all use dugan Slackware 57 10-02-2012 04:13 PM
Terminal emulator softwaredownloads Linux - Newbie 3 01-11-2011 01:20 AM
What is a terminal Emulator bharathgowda8 Linux - Software 5 09-06-2007 02:37 PM
Terminal Emulator blinton25 Red Hat 4 04-12-2007 12:49 AM
Terminal Emulator aukekim Linux - Software 5 09-07-2005 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 PM.

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