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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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....