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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-23-2003, 10:18 AM
|
#1
|
|
LQ Newbie
Registered: Oct 2003
Location: Hong Kong SAR
Distribution: redhat 9.0
Posts: 9
Rep:
|
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!!!!!!!!
|
|
|
|
11-23-2003, 01:49 PM
|
#2
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
Do any other terminals work as a regular user? xterm, aterm, etc?
|
|
|
|
11-25-2003, 06:13 AM
|
#3
|
|
LQ Newbie
Registered: Oct 2003
Location: Hong Kong SAR
Distribution: redhat 9.0
Posts: 9
Original Poster
Rep:
|
No, any other terminal will not run as a regular user.
|
|
|
|
11-25-2003, 08:39 AM
|
#4
|
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
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.
|
|
|
|
11-25-2003, 08:58 AM
|
#5
|
|
Member
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553
Rep:
|
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.
|
|
|
|
11-25-2003, 11:08 AM
|
#6
|
|
LQ Newbie
Registered: Oct 2003
Location: Hong Kong SAR
Distribution: redhat 9.0
Posts: 9
Original Poster
Rep:
|
I've tried both of your methods, unfortunately, the problem still exists.
Any more suggestion?
Thanks!
|
|
|
|
11-25-2003, 11:15 AM
|
#7
|
|
Member
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553
Rep:
|
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?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:00 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|