LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-16-2008, 01:31 PM   #1
dlinux
Member
 
Registered: Jan 2007
Location: Portugal
Distribution: Slackware 13.0
Posts: 52

Rep: Reputation: 15
Terminal startup very slow


Whenever i try to open the Terminal application it takes approximately 10 seconds, but if i open another/several Terminals after the first one with the first Terminal process still open, it starts in a snap (instantly). CPU usage is always very low, so i dont understand the delay.

Im using Slackware 12.1 and this happens in all environments (KDE,xfce,etc..).
What could be causing such slow startup??

Note that if i close all Terminals and try to open "the first" again, it takes about 10 seconds again.

Thanks in advance.
 
Old 11-16-2008, 03:35 PM   #2
kukibl
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 88

Rep: Reputation: 28
I guess you think on XFCE's Terminal...? Same thing happens to me. What's more interesting - it only happens with 'nvidia' driver, not with 'nv'.

I guess it has something with X configuration.:-/
 
Old 11-16-2008, 08:54 PM   #3
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Could be related to the issue specified in the CHANGES_AND_HINTS.TXT. Here is an excerpt from Part 2 of my Slackware Upgrade HowTo
:
Fix slow Xfce Terminal
I noticed after the upgrade that having Terminal open caused workspace switching to be slower and Terminal also resized slower than normal.
This is easily fixed by creating /etc/profile.d/x-fix.sh
Code:
#!/bin/sh 
# This should fix slow Xfce Terminal in Slackware 12.1 
export XLIB_SKIP_ARGB_VISUALS=1
Do not forget to make it executable.
Quote:
Originally Posted by CHANGES_AND_HINTS.TXT
If you notice Xfce's Terminal and perhaps some other applications being drawn
very slowly in X, then you should try explicitly disabling the Composite
extension in /etc/X11/xorg.conf, or set XLIB_SKIP_ARGB_VISUALS=1 in your
environment prior to starting X. For more information on this, see:
http://bugzilla.xfce.org/show_bug.cgi?id=2792
 
Old 11-17-2008, 11:58 AM   #4
dlinux
Member
 
Registered: Jan 2007
Location: Portugal
Distribution: Slackware 13.0
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks for the reply, guys.
I have tried the XLIB_SKIP_ARGB_VISUALS=1 trick but it does not remove the problem, which i think it should not because i dont have any trouble resizing or moving windows whatsoever, the problem is just the delay before starting the first Terminal process.

I have just noticed that the same happens with mozilla firefox, maybe it's something related with gnome libs??
So the delay only occurs when opening the first GNOME dependent application.

Note as i said before, that when i close *all* Terminals(or firefox), the next time i open it, another 10-sec delay.

Last edited by dlinux; 11-17-2008 at 11:59 AM.
 
Old 11-17-2008, 12:00 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Post deleted. Please accept my apologies.

Last edited by dugan; 11-17-2008 at 12:15 PM.
 
Old 11-17-2008, 02:47 PM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
I don't know if it will result in anything useful, but maybe start Terminal with "strace Terminal" from an xterm or rxvt window and see if anything sticks out.
 
Old 11-18-2008, 01:18 PM   #7
dlinux
Member
 
Registered: Jan 2007
Location: Portugal
Distribution: Slackware 13.0
Posts: 52

Original Poster
Rep: Reputation: 15
I managed to work around the problem.If i start xfrun4 _once_ , then everything goes smoothly afterwards, even after closing xfrun4.

So i have put this in XFCE's autostarted applications: xfrun4 --daemon

Im pretty sure this must be some library loading problem, when loading XFCE
probably, but hey for now this will do.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Loading terminal at startup tuesday Linux - General 4 03-20-2008 08:50 PM
Terminal Mode at Startup theunixwizard Fedora 2 02-18-2008 01:14 PM
startup in a terminal chrisbhall Linux - Newbie 6 10-07-2004 02:20 PM
terminal window on startup? zeviddalop Linux - General 4 09-21-2004 02:38 PM
terminal at startup? lyinghappyeyes Linux - Newbie 2 08-27-2001 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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