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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-20-2002, 03:51 PM
|
#1
|
Member
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30
Rep:
|
help please - user problem
this is really odd
i am running mandrake 8.2
one day, i could log in with any username, everything went fine, but now, i enter the correct username and password, xserver even knows that it is right, but it just restarts xserver whenever i try to log in as anything but root
does anyone have a solution or do you need more information?
Last edited by X Predator X; 09-20-2002 at 04:20 PM.
|
|
|
09-20-2002, 05:38 PM
|
#2
|
Member
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130
Rep:
|
can u 'su' to some normal user after you have logged in
as a root....
|
|
|
09-20-2002, 05:56 PM
|
#3
|
Member
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30
Original Poster
Rep:
|
i logged in as root ( it seems to be the only one that half way works )
when i do that 'su' command, it just hangs at the Password: thing when i try to go to certain users. others, it will switch without a problem
Last edited by X Predator X; 09-20-2002 at 05:59 PM.
|
|
|
09-20-2002, 06:03 PM
|
#4
|
Member
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222
Rep:
|
As root, cd to /etc and look at the passwd file. Are any of the users you created there?
j.
|
|
|
09-20-2002, 06:08 PM
|
#5
|
Member
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30
Original Poster
Rep:
|
yeah, they are all there
|
|
|
09-20-2002, 06:12 PM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
You said "xserver", so are you using an X login manager like kdm xdm or gdm then?
|
|
|
09-20-2002, 06:14 PM
|
#7
|
Member
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30
Original Poster
Rep:
|
im not really sure what it is called, there was a menu button, i clicked it and it said "Restart X Server"
|
|
|
09-20-2002, 06:42 PM
|
#8
|
Member
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222
Rep:
|
Is there a file in /etc called nologin?
|
|
|
09-20-2002, 06:51 PM
|
#9
|
Member
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30
Original Poster
Rep:
|
no there isnt, is that a bad thing?
|
|
|
09-20-2002, 06:59 PM
|
#10
|
Member
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222
Rep:
|
No. It's good. If /etc/nologin exists, then only the user "root" can log in.
j.
|
|
|
09-20-2002, 07:11 PM
|
#11
|
Member
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30
Original Poster
Rep:
|
alright *phew*
now can anyone tell me why i cant log in as certain users?
this is like, the most odd (yeah, incorrect) thing i have ever seen
|
|
|
09-20-2002, 07:20 PM
|
#12
|
Member
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302
Rep:
|
i had this once on mandrake. i reinstalled, but you do not need to do that, obviously, just not quite sure what the problem is.
can anybody yay or nay this:- could it be screwed up files with the desktop environment? eg. if you have GNOME as your desktop manager, try using KDE to see if that enables you to login, or if you have KDE, try logging in with windowmaker et c.
If it works, then the problem has been isolated down to your desktop environment.
|
|
|
09-20-2002, 09:53 PM
|
#13
|
Member
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130
Rep:
|
check if identd server is running or not...i had a
similar problem a short while ago on redhat...also
check .xsession-errors ...
|
|
|
09-20-2002, 11:11 PM
|
#14
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Kill your login manager would be the first step:
Type: CTRL + ALT + F2 (and log in as root)
Follow that up with:
init 3
And now you have killed your X server. Now log out of root:
exit
And try logging in with each user/pass
If each user can login that way, you have isolated the problem to X at least. Possibly a missing xinit or something along those lines. But first make sure the users are all ok to login.
After that, with each user, try typing:
startx
and see if you can get into whatever wm is the users' default on your system. If that works with each user, well then it sounds like you would have it now narrowed down to a problem with your xdm/kdm or gdm (whichever you use).
Let us know if you get that far, or if there are problems before that, what they are.
Cool
|
|
|
09-21-2002, 10:09 AM
|
#15
|
Member
Registered: Apr 2002
Location: New Jersey, US
Distribution: Mandrake 10.1, SuSE 9.2, DSL
Posts: 30
Original Poster
Rep:
|
thanks for all of your help guys
but...it didnt really need to be done, my brother (the smaller, lesser being that he is) formatted my linux partition "by accident".
all is good, i have everything back up and running, just need to get WINE back and MPlayer
all access is granted on my computer once again
thanks for all of your help anyway
|
|
|
All times are GMT -5. The time now is 02:49 PM.
|
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
|
|