You are not logged in.
good night everyone
I am a novice user of arch, I've installed 3 days ago and so far I have managed to solve some problems and doubts that I had ... but yet I have not managed to resolve this
from one moment to another, the prompt for the gnome-terminal takes 5 to 10 seconds to appear, all i saw was a white window, and after 10 seconds, the prompt. I thought it would be a problem with this terminal, so I uninstalled gnome-terminal and installed sakura, it seems to work very well, but after resbooting the PC, the same problem ... and so I went through several more [urxvt, xterm and terminal] and all have the same problem.
it's not something very serious, but somehow it is "annoying" behavior.
oh, i almost forgot... same things hapen if i do a console login, so i guess it has something to do with bash?
I hope you can help me, and thanks
"Dream as if you'll live forever, live as if you'll die today" - James Dean
Offline
Is bash_completion enabled? That can cause a 2-3 second hang even on my quad-core.
/etc/rc.d/ is where daemons reside. Beware.
Offline
Does it happen for all user accounts? Anything weird in your .bashrc?
yup, have a look at your .bashrc. Besides, try to run "gnome-terminal" in gnome-terminal and see the outputs.
Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD
Offline
thanks for answering so fast!! o_O
@mikesd i only have two accounts, mine and root, but yep, it happens in both. and in my .bashrc there's nothing weird, just 9 alias.
@kitty i thing i do have bash_completion enabled. i will try to disable it and test again.
@leeyee i tried that, believe me.... the problem is that the first terminal that is open it's the one that gets slow... so if i try to run a terminal in terminal, shows nothing weird.
"Dream as if you'll live forever, live as if you'll die today" - James Dean
Offline
well, no it has nothing to do with the bash completion... i deactivate it ans still happens
dont know why its happening, and i dont think its because mi bashrc, there are only 9 alias and nothing else
so.. anyone knows another theory of why this is happening?
"Dream as if you'll live forever, live as if you'll die today" - James Dean
Offline
Post your .bashrc - that will help with suggestions.
Have you customized your PS1 at all? If so, roll back to the default to see if that is the issue:
#PS1='[\u@\h \W]\$ '
Offline
#Instalar o actualizar
alias remove="yaourt -Rs"
alias install="yaourt -S"
alias update="yaourt -Syu --aur"
alias search="yaourt -Ss"
alias huerfanos="yaourt -Rns $(pacman -Qtdq)"
alias clean="yaourt -Scc"
alias optimize="sudo pacman-optimize && sync"
#montar particion ntfs
alias windows="sudo mount /dev/sda4"
alias deswindows="sudo umount /dev/sda4"
this is my .bashrc
and no, mi PS1 it's the default one
"Dream as if you'll live forever, live as if you'll die today" - James Dean
Offline
Try and confirm that it is a BASH issue. At least that will isolate the problem. Try setting another shell for one of the accounts and see if that removes the delay. tcsh is only a 250K download and didn't pull in any dependencies on my system. That would be a good choice.
Offline
...
and no, mi PS1 it's the default one
So that is not your full .bashrc? Is your PS1 explicitly declared in there?
Do you have the same delay in TTY1-6?
Offline
#Instalar o actualizar
alias remove="yaourt -Rs"
alias install="yaourt -S"
alias update="yaourt -Syu --aur"
alias search="yaourt -Ss"
alias clean="yaourt -Scc"
alias optimize="sudo pacman-optimize && sync"
#montar particion ntfs
alias windows="sudo mount /dev/sda4"
alias deswindows="sudo umount /dev/sda4"
#PS1='[\u@\h \W]\$ '
this is exactly my .bashrc
and, As far as i remeber that doesn't happen in tty1-6 ... neither in root session
"Dream as if you'll live forever, live as if you'll die today" - James Dean
Offline
Depending on what graphic driver you're using, try enabling KMS (check the wiki for the particulars for your driver). I noticed a similar behavior with urxvt being VERY slow to refresh when I was using a larch install on a flash drive with the nouveau drivers. Enabling KMS fixed it. Not sure, but worth a try!
Scott
Offline
alias huerfanos="yaourt -Rns $(pacman -Qtdq)"
This is the problem. Double quotes cause 'pacman -Qtdq' to be executed when the alias is defined. Use single-quotes.
Last edited by chpln (2009-12-20 22:40:13)
Offline
well thanks a lot for all your ideas...
finally i was able to solve this... the problem was a package called "quick-init". it's supposed to speed up your boot proces, and it really does, but for me, besides of this prompt problem, when i scroll down/up in chromium or any browser that i installed, it was kind of "laggy"...
so finally i decided to uninstall this "quick-init" and Voilà! prompt problem solved, and scroll problem solved.
@chpin last night i erased that alias from mi bashrc, cause its behavior was kind of strange... it was triyin to remove nt-tools an prcbind or something like that, and when i pressed y to delete them and reboot.... well, my system was F**ked up and had to reinstall again :S
"Dream as if you'll live forever, live as if you'll die today" - James Dean
Offline
fyi you can debug this kind of slowness by putting echo statements in /etc/bash.bashrc and ~/.bashrc and maybe prefixing some source statements with 'time'.
this helped me finding out i was loading bash completion 3 times (:roll:) and even though i have about 100 aliases and a few hundred lines of small functions, loading this was only a few ms.
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline