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! |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-02-2004, 10:49 AM
|
#1
|
|
Member
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405
Rep:
|
Users can't log in unless part of the root group
I really hope somebody knows what happened here, and how to fix it...
I'm running FC1, and for the first time since my re-installation I tried to boot into KDE yesterday. I immediately got the "yor session only lasted less than 10 seconds" error, and here's what the .xsession-errors tells me:
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "jeff"
mkdtemp: private socket dir: Permission denied
Now I can't even log into gnome. Just the failsafe term or runlevel 3.
So, I tried everything I could think of, like opening the permissions all the way for /usr/bin/X11/sessreg, /var/log/wtmp, /var/run/utmp, and even /var/gdm/:0.Xservers.
Nothing worked.
I logged in as root no problem, created a new user, tried it, and got the same results. I changed my primary user's primary group to root, and I can log in just fine. I checked all the permissions in my home directory (though I did not go any levels lower than that) and they were all owned my the correct user and group; jeff:jeff
So, I assume having root as my primary group starts becoming a security issue, but even if not I'm sure many of you here could see why this will drive me nuts if I dont get it figured out. Any suggestions?
Oh, I might mention that after the failed logins, /var/log/messages give me absolutely nothing to go on. It just shows the session starting for the user, and the next line is the session ending. Argh!!
Please let me know what other info will help ya'll help me...
Thanks as always...
|
|
|
|
12-02-2004, 02:27 PM
|
#2
|
|
Member
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226
Rep:
|
could it be that the permissions on /tmp are screwed up?
Just a thought.
|
|
|
|
12-02-2004, 02:36 PM
|
#3
|
|
Member
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405
Original Poster
Rep:
|
Thanks for the reply, I'll take any thoughts I can get right about now...
I think you may be correct, the perms were a bit tight on /tmp, so I opened it (and everything in it) up with 'chmod -R ug+wx /tmp'
Unfortunately, I am at work now, and I have no idea how to test if this helped or not until I get home. I can ssh into my machine without any of these symptoms, so I don't know how to test it from here. Let me know if you know how I can test it, otherwise I'll check back after I get home this evening....
Thanks again for the reply...
|
|
|
|
12-02-2004, 07:24 PM
|
#4
|
|
Member
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405
Original Poster
Rep:
|
That was it!! Man, I can't believe I didn't check that. I had already deleted everything in the directory, but failed to check it's permissions.
Good call. Thank you oh so very very much!!!!
Jeff
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:45 AM.
|
|
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
|
|