LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 09-02-2009, 12:12 AM   #1
sskraju
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Rep: Reputation: 0
Arrow Login problem


Hi

I have problem when new user logs in.There is one user Raj1 who is the superuser (1st user a/c created after installation). Another user Raj2 is created from this account.But when Raj2 logs in "No directory, logging in with HOME=/" error comes in terminal

When he tries to login through GUI..similar error message comes & when I click OK screen goes blank.

Can any one let me know why is this happening??

I used this command

sudo useradd Raj2 --> user created

let me know how to set password for this user??

How to set the root password in Ubuntu??

Thanks
 
Old 09-02-2009, 12:37 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

You issued the useradd command without the -d option to create the home directory. Read the man page for useradd, it tells you all you need to know in order to create a user the 'correct' way.

Since there is no home directory the system has no place to save/keep xconfig files, hence no GUI.

You set the password for a user with
Code:
passwd <username>
Setting root password is not advised by the Ubuntu community but if you know what you're doing.... (tip: www.google.com)

Kind regards,

Eric
 
  


Reply


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
SSH Problem - Can't login using Hostname, can login using ip address jqweezy Linux - Networking 7 01-26-2009 02:21 PM
X Login problem shan_nathan Linux - Desktop 3 06-30-2007 10:52 PM
Login problem Artik Debian 2 06-19-2005 05:27 AM
Login problem cykoburn Linux - Newbie 5 11-29-2004 09:02 PM
Login Problem can anybody help me? mnatu Linux - General 2 03-06-2004 03:59 PM


All times are GMT -5. The time now is 04:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration