Linux - NewbieThis 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.
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.
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 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....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.