bash problem: no prompt
I'm using RH9.0. After upgrading the kernel to 2.4.22, all seems well except that when i login as a normal user, I get no prompt in the gnome-terminal. And whatever i type in, it does not function, just leaving me blank.(you probably could do nothing if you can't use the terminal under linux). Surprisingly, it works all right if i log in as root.
Any hints to solve the problem? Thanks so much!!!!!!!! |
Do any other terminals work as a regular user? xterm, aterm, etc?
|
No, any other terminal will not run as a regular user.
|
That could be a number of things. Maybe you don't have a PS1 set. Try logging in as root and editing /home/user/.bashrc. If their is no such file then create one and add the following to it:
PS1='[\u@\h \w]# ' make sure the .bashrc file is owned by the user. Maybe that will fix it. |
If you somehow have set a shell that doesn't exist, the terminals won't do very much either. Check your /etc/passwd file and see what shell you've set for your user(s). Make sure it is a full path (e.g. "/bin/bash" and not only "bash"), and that it is properly spelled.
|
I've tried both of your methods, unfortunately, the problem still exists.
Any more suggestion? Thanks! |
I was thinking...try hitting ctrl-c when you start a terminal and nothing happens. Maybe it just gets stuck on something when it's reading the configuration files?
|
All times are GMT -5. The time now is 06:16 AM. |