LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-28-2003, 04:20 AM   #1
avierstr
LQ Newbie
 
Registered: Aug 2003
Location: Gent
Distribution: Mandrake, Caldera
Posts: 12

Rep: Reputation: 0
can only login as root ????


I've installed Mandrake 9.1, and made a custom kernel, installed specific soft as root, but now I want to login in KDE as user, but it does not work ??? I tried different users to log in, but none is working ????
 
Old 08-28-2003, 04:52 AM   #2
nephilim
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Debian (server), Kubuntu (desktop)
Posts: 248

Rep: Reputation: 30
Silly question maybe, but... Did you create the users?
 
Old 08-28-2003, 04:55 AM   #3
avierstr
LQ Newbie
 
Registered: Aug 2003
Location: Gent
Distribution: Mandrake, Caldera
Posts: 12

Original Poster
Rep: Reputation: 0
yes, of course ;-)

users can login with ssh, but not in KDE ?
 
Old 08-28-2003, 07:29 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
can users login on a text console? If so, does startx work?
 
Old 08-29-2003, 01:53 AM   #5
avierstr
LQ Newbie
 
Registered: Aug 2003
Location: Gent
Distribution: Mandrake, Caldera
Posts: 12

Original Poster
Rep: Reputation: 0
do you mean 'failsave' ? : no
loggin in to IceWM seems to work
 
Old 08-29-2003, 02:31 AM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I'm not sure I can help you but what exactly are the symptoms? You get to the graphical login manager, choose root and then you can login to KDE. You choose any other user, choose KDE and it gets back to the login manager. Are there any messages that you get?
If I understand you correctly, you can choose IceWM and then a user can login and start in icewm.
But if you boot into failsafe mode, no user can login? This would be very strange if you can really start icewm from the login manager.
When you are at the login manager (normal boot), press ctrl+alt+F1 and then try to log in. Can you do it?
 
Old 08-29-2003, 06:10 AM   #7
avierstr
LQ Newbie
 
Registered: Aug 2003
Location: Gent
Distribution: Mandrake, Caldera
Posts: 12

Original Poster
Rep: Reputation: 0
alt-ctrl-F1 and login as user works...
 
Old 08-29-2003, 06:22 AM   #8
avierstr
LQ Newbie
 
Registered: Aug 2003
Location: Gent
Distribution: Mandrake, Caldera
Posts: 12

Original Poster
Rep: Reputation: 0
alt-ctrl-F1 and login as user works, but this is what is gives at login, and a command like 'ls' is unknown...

-bash: dircolors: command not found
-bash: locale: command not found
-bash: grep: command not found
-bash: uname: command not found
-bash: uname: command not found
-bash: tty: command not found
-bash: id: command not found
-bash: [: -ge: unary operator expected
-bash: tty: command not found
-bash: id: command not found
-bash: id: command not found
-bash: id: command not found
-bash: [: too many arguments
[avierstr@molfyl1 avierstr]$ ls
-bash: ls: command not found
 
Old 08-29-2003, 08:21 AM   #9
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
hmm. strange.
when you log in as root, you don't get those messages, right?

when you log in as a normal user, can you try the command
echo $PATH
and see what the output is?
It should give you the list of directories where the system looks for program.
 
Old 08-29-2003, 09:08 AM   #10
avierstr
LQ Newbie
 
Registered: Aug 2003
Location: Gent
Distribution: Mandrake, Caldera
Posts: 12

Original Poster
Rep: Reputation: 0
very strange, seems that after alt-ctrl-F1, I can login as user, but not as root ????

echo $PATH gives this :

[avierstr@molfyl1 avierstr]$ echo $PATH
/usr/local/clustalw1.83:/usr/local/paup4b10:/home/avierstr/bin
[avierstr@molfyl1 avierstr]$


I'll think I'll get rid of Mandrake and install Suse...
 
Old 08-29-2003, 09:27 AM   #11
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
Ok. There's something wrong with your bashrc and bash_profile files. Before you get rid of mandrake, try the following.
Log in as normal user. Then do
export PATH=$PATH:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
After you do this, do
startx
this should start KDE.
If this works, then as a quick fix, I would add the line
export PATH=$PATH:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
to your .bashrc in the home directory of each user.
 
Old 09-08-2003, 07:02 AM   #12
avierstr
LQ Newbie
 
Registered: Aug 2003
Location: Gent
Distribution: Mandrake, Caldera
Posts: 12

Original Poster
Rep: Reputation: 0
Hi, I'm back from a week holydays...

Now I can login as user in KDE, but still the messages when I login after alt-ctrl-F1 :

avierstr@molfyl1's password:
/usr/X11R6/bin/xauth: creating new authority file /home/avierstr/.Xauthority
-bash: dircolors: command not found
-bash: locale: command not found
-bash: grep: command not found
-bash: uname: command not found
-bash: uname: command not found
-bash: tty: command not found
-bash: id: command not found
-bash: [: -ge: unary operator expected
-bash: tty: command not found
-bash: id: command not found
-bash: id: command not found
-bash: id: command not found
-bash: [: too many arguments
[avierstr@molfyl1 avierstr]$
 
Old 09-08-2003, 04:57 PM   #13
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
What security level are you using? 'Paranoid' or a personally tweaked one?
 
Old 09-09-2003, 02:37 AM   #14
avierstr
LQ Newbie
 
Registered: Aug 2003
Location: Gent
Distribution: Mandrake, Caldera
Posts: 12

Original Poster
Rep: Reputation: 0
security level 'higher'...
 
Old 09-09-2003, 10:09 AM   #15
kamstrup
Member
 
Registered: Aug 2003
Location: Aarhus, Denmark
Distribution: Slackware, Ubuntu
Posts: 122

Rep: Reputation: 15
Hmmm... are you using old user accounts on a fresh install? Maybe the users don't have read/execute permissions to the files they need to run to start kde. Such things can become messy...

greetings, kamstrup
 
  


Reply



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
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:27 PM.

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