LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-09-2006, 10:10 AM   #1
Kevschef
LQ Newbie
 
Registered: Nov 2006
Location: Netherlands
Distribution: Debian, Gentoo
Posts: 6

Rep: Reputation: 0
Xterm (any X terminal) starts fast, but initializes very slow


Hello!

When i start Xterm (or another terminal in X, tried others; aterm & rxvt), it appears very quickly on the screen, but it takes a while (4-5 seconds) before 'kevschef@debian:~$' appears, and i can start using it. After that it works normally, but its really annoying and slowing down my work because i start a lot of xterms Btw i'm running Debian testing. Everything else is fast as normal.

Does anyone know what causes this delay? I tried searching i could not think of good keywords.

Thanks!
 
Old 11-09-2006, 10:14 AM   #2
soggycornflake
Member
 
Registered: May 2006
Location: England
Distribution: Slackware 10.2, Slamd64
Posts: 249

Rep: Reputation: 31
The problem is most likely something in your shell config. If you can't figure out what it is, then lob a 'set -x' at the top of ~/.bashrc (or whatever), this should show you what it's doing.
 
Old 11-09-2006, 10:51 AM   #3
Kevschef
LQ Newbie
 
Registered: Nov 2006
Location: Netherlands
Distribution: Debian, Gentoo
Posts: 6

Original Poster
Rep: Reputation: 0
Great! Thanks alot soggycornflake for the quick awnser. I had a look at .bashrc, and it seems its doing ALOT before starting. I'll see into this, i wonder what its for.

Thanks again, it seems to work well if i empty the file, but ill look into the file later to see what i will be missing in that case.
 
Old 11-09-2006, 12:36 PM   #4
soggycornflake
Member
 
Registered: May 2006
Location: England
Distribution: Slackware 10.2, Slamd64
Posts: 249

Rep: Reputation: 31
No problem.

It's usual to have a fair amount of stuff in there, most of it doesn't cause any slow-down (aliases for example shouldnt' be any problem, I have a couple of hundred). Obviously, if you're running a lot of external commands, that's going to takes it's toll. Another thing that can slow it down, depending on how fast your box is, is if you have a large HISTSIZE (the number of lines stored in the history file). On my main box (Athlon 64), I have a nice large 10,000 lines, but on my old laptop (PII-300), I cut this down to 2,000, otherwise it takes ridiculously long to start a shell.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
pressing 'x' in gnome terminal starts new terminal instance Drwfan54 Ubuntu 3 09-26-2006 03:09 PM
Xterm Terminal excidy Linux - Software 4 04-03-2005 10:01 PM
Xterm Terminal Emulation DoubleOTeC Linux - Software 5 01-28-2005 08:35 PM
Upgraded to Xfree4.4....Xterm starts no matter what WM is selected MadSkillzMan Linux - General 5 11-21-2004 08:05 PM
internet fast-slow-fast-slow big_and_fat_guy Mandriva 5 10-11-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:45 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