can't login to GNOME as acct's created before XF86Config change?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
can't login to GNOME as acct's created before XF86Config change?
Hi, I'm currently using GNOME 2.4 on Slack 9.1, and have been running it fine for a while. I was trying to install something (gDesklets) which highlighted a problem with my GL libraries amongst other stuff, so I decided to use a normal /etc/X11/XF86Config file instead of the framebuffered (FBDEV) version and try to sort them out.
I ran xf86config, chose everything that is correct, then edited the file manually to point to the latest nvidia drivers for my card (GeForce4 MX440) as I have done many times before - I rebooted, and voila! GDM comes up in beloved 1600x1200.
Now my problem is, any account that was created before I made the change (including root) now cannot login to GDM. It comes up with an invalid username/password message. The passwords and logins are correct because I have created a new user account (which works), and once inside GNOME I can login as root using a nested window (Xnest) and I can su to root in a terminal.
I couldn't even do that before, so I deleted /tmp/.X0-lock and /tmp/.X20-lock which then allowed me to login using Xnest, but not into the main instance of GDM?
What about if I actually removed /root/.gnome/, would that have any effect? I'm still quite new and it's hard to distinguish what is what half of the time!
/root is home for the superuser, so the /root/.gnome dir (as any /home/user/.gnome) contains the preferences for that user. I.e., gnome should start default preferences, but not hang. However if you deleted .gnome you should remove .gnome2* as well, so you can start from scratch.
The .Xauthority files are in users homes, but as all files beginning with '.' (ie hidden) they are not listed by ls unless you give the -A option.
So if I deleted .gnome/ and .gnome2/ from each affected users home dir (including root), that would essentially remove all gnome preferences for that user? I will still be able to boot into gnome though right? For example:
If I deleted /home/rasputin/.Xauthority, /home/rasputin/.gnome/, /home/rasputin/.gnome2/, then tried to login to gnome as rasputin, it would simply create my preferences from scratch again?
I know that .<file> are hidden files, ls -al is your friend
I don't mind having to configure gnome again for each user, I just want to be able to do it without a reinstall if possible!
the reason I left Debian was because of X problems and errors compiling new GUI's (both GNOME & KDE) so I migrated to Slackware. But because I was so used to using Debian and the hundreds of times I ran through the xf86config setup, I kept pressing "46" for the keyboard map, when in Slackware UK keyboard is "81"...
It was confusing because all of the letters were mapped the same, but the numbers must have been different because the two accounts affected both had numbers in the password, where the test account I had created had a password simply of "login", and that worked.
Once I was inside GNOME (using the test account) I wondered why I could then open an Xnest and login as root from GDM again - and I realised, it's because at that point the default inside GNOME then went back to a UK keyboard, but the first instance of GDM was Lituanian.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.