Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-08-2005, 02:43 PM   #1
LQ Newbie
Registered: Aug 2005
Location: mumbai
Posts: 2

Rep: Reputation: 0
Smile problem in login

hello friends

i am very much new to linux.i have both win98 and red hat 9 on my PC
i installed NS2 in linux,but the help that i referred asked me to make the following changes in

~/.bashrc file that is located in the /home directory where ns2 was installed

export NS_HOME=/home/UserName/ns-allinone-2.26/
export PATH=$NS_HOME/tcl8.3.2/unix:$NS_HOME/tk8.3.2/unix:

export LD_LIBRARY_PATH=$NS_HOME/tcl8.3.2/unix: $NS_HOME/tk8.3.2/unix:\

$NS_HOME/otcl-1.0a8:$NS_HOME/lib:$ LD_LIBRARY_PATH
export TCL_LIBRARY=$NS_HOME/tcl8.3.2/library

after this when i restarted my computer its giving error in this file
and is not allowing me to login(the error message is shown after i enter my username and password)

what should i do to overcome this problem?

thanks in advance
Old 08-08-2005, 02:48 PM   #2
Registered: May 2004
Distribution: Slackware
Posts: 108

Rep: Reputation: 15
Login as root (you haven't forgotten the root password I hope? ) and then remove the changes you made.
Old 08-08-2005, 02:55 PM   #3
LQ Newbie
Registered: Aug 2005
Location: mumbai
Posts: 2

Original Poster
Rep: Reputation: 0
i logged in as root only.
it accepts my username i.e. root,and password but after this it shows an error message ask me to login from failsafe session which i tried but the same problem persist.
once this error message is displayed it gives me to choices
1st choice gives the changes that i have made in it
and 2nd is "OK" button and on clicking that button the system again shows me the login screen
Old 08-09-2005, 09:20 PM   #4
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Rep: Reputation: 15
In the wrost case you can try to boot from your OS rescue disk and after remove the changes you have made.

Note : NEVER use root user for common use. NEVER


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
Login problem Frederik Valeur Linux - Software 3 06-12-2005 09:46 PM
Login problem Joe47 Fedora 5 03-01-2005 01:24 AM
Login Problem KAAZ Linux - Distributions 2 10-26-2004 10:56 PM
Login Problem sratz Linux - Security 1 07-15-2004 09:40 AM
Login problem with RH 7.1 bildnisse Linux - Newbie 2 01-01-2002 10:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration