Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Gnome takes forever to launch a terminal

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
19 posts • Page 1 of 1
Author
Message
ksool
Guru
Guru
User avatar
Posts: 337
Joined: Sat May 27, 2006 9:53 pm
Location: Cambridge, MA

Gnome takes forever to launch a terminal

  • Quote

Post by ksool » Sat Sep 02, 2006 8:31 pm

A question about gnome performance/responsiveness:

Right after boot, gnome can give me a terminal almost instantly, but after .some runtime, and with a few applications open, gnome can take 20-30 seconds to open a terminal, or any other application. The machine is not under significant cpu stress or memory stress and everything else is completely responsive. I'm stumped.

I had a similar issue a while ago when I loaded up my hosts file to block ad servers, but that has since been cleared. Any ideas?
Top
Emopig
Apprentice
Apprentice
User avatar
Posts: 188
Joined: Wed Mar 15, 2006 2:21 pm

  • Quote

Post by Emopig » Sat Sep 02, 2006 11:03 pm

What version of gnome terminal, gnome ecetera are you using?
Does it happen when you open a second terminal or just the first time?
Does opening gnome-terminal from gnome-terminal show any error messages in the terminal? (Or better yet from another terminal like xterm)
2.6.35 / Gnome 2.30
Athlon64 3500+ / 1.5 GB / Asus A8N VM CSM
Top
Elfan
Tux's lil' helper
Tux's lil' helper
Posts: 109
Joined: Tue Aug 15, 2006 12:57 am

  • Quote

Post by Elfan » Sun Sep 03, 2006 1:55 am

I had the same problem with programs taking 30+ seconds to launch but everything else being snappy and responsive.

I rebooted and everything seems fine after 4+ days but that is of course a completely unsatisfactory 'solution'.


For Emopig
gnome-base/gnome-2.14.2
It would happen for launching the first instance of any program. So every new terminal was slow but new firefox windows were not if firefox was already open. A better title might be "GNOME: applications take 30+ seconds to launch".
No error messages for the offending programs, I didn't try running xterm.

I know that's not very helpful and as I said I am not experiencing it right now.
Top
ksool
Guru
Guru
User avatar
Posts: 337
Joined: Sat May 27, 2006 9:53 pm
Location: Cambridge, MA

  • Quote

Post by ksool » Sun Sep 03, 2006 3:18 am

Sorry, I should've clarified.

It's not just the terminal. I just used it as an example since it was lightweight and should launch instantly.
I'm using gnome-2.14.2
Top
djselbeck
n00b
n00b
User avatar
Posts: 34
Joined: Mon Oct 10, 2005 11:31 am
Location: Germany

  • Quote

Post by djselbeck » Sun Sep 03, 2006 11:11 am

Hello,

i've the same problems. Sometimes even the gnome-splashscreen stays on screen for a long time. I think because it waits for something. And mythfrontend also takes sometimes a little bit longer. My gentoo is very clean because i installed it only one day ago. A solution would be nice. Thanks.

DJSelbeck
Top
jonnevers
Veteran
Veteran
User avatar
Posts: 1594
Joined: Thu Jan 02, 2003 6:59 pm
Location: Gentoo64 land

  • Quote

Post by jonnevers » Sun Sep 03, 2006 1:47 pm

djselbeck wrote:Hello,

i've the same problems. Sometimes even the gnome-splashscreen stays on screen for a long time. I think because it waits for something. And mythfrontend also takes sometimes a little bit longer. My gentoo is very clean because i installed it only one day ago. A solution would be nice. Thanks.

DJSelbeck
I experience the slow initial execution symptoms but I think they may be inherent.

as for the splash screen, I've found two options
1) click the slash screen and it will go away
2) disable the splash screen in gnome's preferences
Top
ksool
Guru
Guru
User avatar
Posts: 337
Joined: Sat May 27, 2006 9:53 pm
Location: Cambridge, MA

  • Quote

Post by ksool » Sun Sep 03, 2006 4:14 pm

jonnevers wrote: I experience the slow initial execution symptoms but I think they may be inherent.

as for the splash screen, I've found two options
1) click the slash screen and it will go away
2) disable the splash screen in gnome's preferences
I have the same issue with the splash screen. Sometimes I click it, sometimes it goes away on its own.

I hope its not inherent in gnome, because that's a big big big turnoff, easily enough to make me switch to fluxbox.
It has to be doing something, waiting for something, the question is what.
Top
Wojtek_
Guru
Guru
User avatar
Posts: 397
Joined: Sun May 28, 2006 5:09 pm
Location: London

  • Quote

Post by Wojtek_ » Thu Oct 26, 2006 8:03 am

*BUMP* - I experience the same problem
Fujitsu-Siemens Amilo Xi-1546
Intel Centrino Duo T2600 (2,16GHz)
2x1GB DDR2 RAM
ATi Mobility Radeon X1800 256MB DDR3
2x120GB HDD
Intel High Definition Audio
Top
IKidnapGnomes
n00b
n00b
User avatar
Posts: 7
Joined: Sun Jun 26, 2005 1:00 am
Location: Ohio

  • Quote

Post by IKidnapGnomes » Thu Oct 26, 2006 10:00 pm

I'm also running Gnome 2.14.2 and have this issue. To get the splash screen to go away I just launch any program and it goes away. Also, on the application responsiveness issue, I'm using ndiswrapper to use my wireless. It usually craps out on me after a while (I think its an acpi issue) and then everything takes a long time to start. To fix it I just shutdown my wireless interface and remove the ndiswrapper module and everything is back to normal. I don't know if this is related at all, but it works for me. Without using wireless I can let it run for days without any noticeable slowdown. Hope that helps.
Top
wobbly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 146
Joined: Wed Apr 23, 2003 8:21 pm

  • Quote

Post by wobbly » Sun Oct 29, 2006 4:07 pm

For me it takes a couple of minutes to launch a terminal
after logging in initially. After that initial time, everything
seems to work fine. It is annoying, though.


NOTE: I fixed my problem: http://forums.gentoo.org/viewtopic-p-36 ... ml#3697811
Last edited by wobbly on Mon Nov 06, 2006 3:21 am, edited 1 time in total.
Top
Charles Alexander
n00b
n00b
Posts: 55
Joined: Mon Nov 07, 2005 9:14 pm

  • Quote

Post by Charles Alexander » Sun Oct 29, 2006 7:15 pm

I had the same splashscreen problem and it went away after I deleted everything in /tmp .
Top
CompNerd
Retired Dev
Retired Dev
User avatar
Posts: 311
Joined: Sun Mar 16, 2003 8:02 pm
Location: 127.0.0.1

  • Quote

Post by CompNerd » Sun Oct 29, 2006 7:17 pm

The splash screen issue is a tricky one. It seems that bonobo-activation-server is dying and causing the splash screen to hang around. I dont know what exactly is the cause of that since I cant reproduce it.
Top
Elfan
Tux's lil' helper
Tux's lil' helper
Posts: 109
Joined: Tue Aug 15, 2006 12:57 am

  • Quote

Post by Elfan » Thu Jan 18, 2007 2:54 pm

CompNerd wrote:The splash screen issue is a tricky one. It seems that bonobo-activation-server is dying and causing the splash screen to hang around. I dont know what exactly is the cause of that since I cant reproduce it.
I noticed the splash screen staying around with a separate problem (nautilus broken). Is there a way to textually see what Gnome is trying to start and the results? I don't see anything in /var/log.
Top
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

  • Quote

Post by desultory » Thu Jan 18, 2007 4:02 pm

Depending on how the messages are output either consult ~/.xsession-errors after the program fails, or switch to a terminal, stop the xdm service and run startx piping the output to a file.

Code: Select all

su -
/etc/init.d/xdm stop
exit
startx > xoutput 2>&1
Top
mntnoe
n00b
n00b
Posts: 61
Joined: Sun Jan 21, 2007 10:39 am
Location: Denmark

  • Quote

Post by mntnoe » Sun Jan 21, 2007 12:53 pm

For the reference (I had the problem too):
It could be that your /etc/hosts file has been configured improperly. Check that your hostname has been added to /etc/hosts:

Code: Select all

# IPv4 and IPv6 localhost aliases
127.0.0.1       localhost <hostname>
::1     localhost <hostname>
Top
ksool
Guru
Guru
User avatar
Posts: 337
Joined: Sat May 27, 2006 9:53 pm
Location: Cambridge, MA

  • Quote

Post by ksool » Thu Jan 25, 2007 10:16 pm

I feel the need to bump this now just to say that mntnoe's solution fixed my problem (even though I was too stupid to read through the rest of the thread and find it myself). For whatever reason (fill out environment variables maybe) gnome-terminal puts out a dns request for your host name at your origional host domain (not from your current resolv.conf!)

For me, I was using a vpn connection which puts me behind a firewall which would drop outgoing dns packets (force use of internal dns server). The weird part is that it looks for my host name on the domain to which I'm connected, not my vpn domain. Weird. Anyway, all is well. Thanks.
Top
Elfan
Tux's lil' helper
Tux's lil' helper
Posts: 109
Joined: Tue Aug 15, 2006 12:57 am

  • Quote

Post by Elfan » Fri Jan 26, 2007 12:58 am

I can report that thing seems to be working for me as well, I have not experienced the problem since (although it was always intermittent and could appear after days). Gnome also starts up much faster and the the splash screen goes away properly.

Now that this problem is better understood, has anyone submitted a bug report upstream?
Top
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

  • Quote

Post by desultory » Mon Jan 29, 2007 8:15 am

This problem is not new, as evidenced by the topics "[topic=355637]/etc/hostname vs /etc/conf.d/hostname[/topic]" and "[topic=366308]Ye Olde Gnome & /etc/hosts problem[/topic]". As for upstream bugs, searching bugzilla.gnome.org reported nothing obviously relevant.
Top
dorin
n00b
n00b
Posts: 1
Joined: Wed May 09, 2007 12:42 pm
Contact:
Contact dorin
Website

  • Quote

Post by dorin » Wed May 09, 2007 1:02 pm

For more feedback I would say the mntnoe’s solution is working on my machine too. Unfortunately the start up speed did not increase but I think I should look for other causes.
search engine placement
Top
Post Reply

19 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic