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.
Originally posted by darkleaf RH uses kde isn't it? It could be that you didn't allow root users to login in the kdm options. Check the config file and allow root users.
Yes, I am using KDE. But I used to be able to log into the KDE as root, and I used to be able to ssh into the box as root. But now I can do neither. Its actually a bit of a bother.
Perhaps try checking the root home directory (/root - not trying to teach you to suck eggs!) for a stale lock file - I can't remember exactly what it will be called but it is usually X11lock or something similar. Back it up and then delete it, see if that helps?
Also, you could maybe try erasing the root password and then creating a new one.
Originally posted by morrolan Can you login as root at the CLI?
Perhaps try checking the root home directory (/root - not trying to teach you to suck eggs!) for a stale lock file - I can't remember exactly what it will be called but it is usually X11lock or something similar. Back it up and then delete it, see if that helps?
I recall there being an X0 lockfile in the /tmp/.X11-unix folder. Lemme verify. There is a file there, but its a new file (has a date of a couple of days ago) and this has been happening for a few months now.
And no, I cannot login as root from the CLI either.
Originally posted by morrolan I may be way off on this, but the lock file may refresh each time a login is attempted?
That's odd though because I don't think an X lockfile will be responsible for not being able to login at the CLI.
Have you checked for rootkits?
Not lately, but this machine IS sitting on an internal network, on a non-routable network. Theres no way for someone to get TO it from the outside. And the machine is only used by a couple of programmers for testing php pages before uploading to our production servers.
I just rebooted the box. The X0 lockfile is refreshed when xWindows starts, apparently.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.