LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 05-27-2003, 10:51 PM   #1
yumi_rama
LQ Newbie
 
Registered: May 2003
Distribution: Red Hat Advanced server
Posts: 1

Rep: Reputation: 0
Only root can login


I had been having this problem lately. Only the root user can log in using the X manager, other users are given the error and they are presented with the same login, as if they haven't entered anything at all.
/var/log/messages says gdm_slave_xioerror_handler error. I have read another thread - ..Graphical login .., but that's again not complete. He says to reinstall xfs, but when i do
rpm - e xfs it says xfs not installed!!!.

Do i need to reinstall the XFree86-xfs...?
 
Old 05-27-2003, 11:21 PM   #2
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
No. You dont have to reinstall XFree86-xfs. I have the solution but I have to eat first... I'll post later.. promise...
 
Old 05-28-2003, 12:14 AM   #3
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
Here, try this:

Log in as root and go to the home directory of the user who is having problems. For example, suppose that the log in name of the user is yumi. After you are in the users home directory, issue the ls -ld command to see who owns the directory and what the permisions are on that directory:

cd ~yumi
ls -ld
drwxrwx- - root bin 1024 May 28 16:00

Note that the above example, the directory is owned by root and the group ownership is bin, which does not allow yumi to have access to the directory structure inside the directory. Because the shells and terminal emulators that X needs require access to that directory structure, X can't fully work or not work.

To correct this problem, use the chown and chgrp commands to change the ownership of the /yumi home directory to yumi and to change the group ownership of the yumi home directory to users:

chown yumi ~yumi
chgrp users ~yumi

make sure you replace the yumi login name with the login name that you are having difficulty with...

I hope this helps...

Last edited by jt1020; 05-28-2003 at 12:15 AM.
 
Old 05-28-2003, 07:55 AM   #4
ivans
LQ Newbie
 
Registered: May 2003
Posts: 11

Rep: Reputation: 0
thanks jtl020, i had a similar post on the same problem and your response fixed it.
 
Old 05-28-2003, 08:10 AM   #5
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
no prob...

pls take time to click my affero button and rate my post if it helped you...

thnx...
 
  


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 On
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 - General

All times are GMT -5. The time now is 09:52 AM.

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