immoral giant Posted June 9, 2005 Report Share Posted June 9, 2005 I updated kde, and now i cant login. When typing my password sometimes something gets typed in, other times nothing happens. I think i may have selected the wrong keyboard. How can i change this without the ability to login?? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 9, 2005 Report Share Posted June 9, 2005 Have you tried pressing CTRL-ALT-F1 to get a prompt and logging in that way, without using the KDE screen? Once logged in, type echo $LANG (case is important), and it will tell you what keyboard is set. If this is OK, what you need to do next is su to root, then type "updatedb". Then type "slocate rpmnew" There will be a few files listed, which is why you cannot log in. These need to replace their corresponding file. Report back with the list, and I'll help you next..... Quote Link to comment Share on other sites More sharing options...
immoral giant Posted June 9, 2005 Author Report Share Posted June 9, 2005 I eventually managed to do ctrl + alt + f1 after restarting the X-server. The keyboard was fine en-GB, and i managed to logon fine. So i did slocate, and theres came up: /etc/kde/kdm/kdmrc.rpmnew /etc/kde/kdeglobals.rpmnew /etc/nsswitch.conf.rpmnew /etc/mime.types.rpmnew /etc/qtrc.rpmnew Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 9, 2005 Report Share Posted June 9, 2005 OK, you need to do this: Switch to each of the directories, and replace each .conf file with the .rpmnew. To do: cd /etc/kde/kdm cp kdmrc.rpmnew kdmrc.conf repeat for each of the others. Take copies of the original .conf files first, in case there are any other adverse effects, but you should be OK. Quote Link to comment Share on other sites More sharing options...
immoral giant Posted June 9, 2005 Author Report Share Posted June 9, 2005 Didn't work. I tried to logon through the terminal, but that didnt work as i couldn't load kde as it's already open with the logon screen. Is there anyway that i can unload kde in terminal? This way i could logon and set to auto logon as there is only 1 user. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 9, 2005 Report Share Posted June 9, 2005 Reboot after you've made the changes. Type "reboot", that should let you start with the new files. Quote Link to comment Share on other sites More sharing options...
immoral giant Posted June 9, 2005 Author Report Share Posted June 9, 2005 No luck. Is there anyway i can do what i said, i think it could work but dont know how to do it. When i type $LANG, is it supposed to come up with command not found? en_GB: command not found Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 9, 2005 Report Share Posted June 9, 2005 The "echo $LANG" command, just gives back what's set for the keyboard. If the rpmnew's have now replaced the files as before, you still can't log in through KDE? What happens? To get rid of X, type "init 3" when on as su, which should stop it, then try startx after that to get it back up. Quote Link to comment Share on other sites More sharing options...
immoral giant Posted June 9, 2005 Author Report Share Posted June 9, 2005 I will do that now. I did find this site, which has the same problem. But they didn't fix it either. Quote Link to comment Share on other sites More sharing options...
immoral giant Posted June 9, 2005 Author Report Share Posted June 9, 2005 Did init 3 and logged on and started X again. I have turned on the auto login, so the problem shouldn't persist. I'll try a reboot to make sure it works properly. Quote Link to comment Share on other sites More sharing options...
immoral giant Posted June 9, 2005 Author Report Share Posted June 9, 2005 It won't autologin. And the keyboard problem persists. Could it be a problem in the package that i installed? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 9, 2005 Report Share Posted June 9, 2005 (edited) Login using the CTRL-ALT-F1 again, issue the init 3 to stop X. Then type urpmi --auto-select --auto This will download any apps that might be out-of-date that may have been missed as part of the upgrade of KDE. This will also sync every other app to the latest version too, so that you are all up-to-date. You'll also need to do the updatedb and slocate rpmnew again in case some new files are down that weren't updated as part of this update. Edited June 9, 2005 by ianw1974 Quote Link to comment Share on other sites More sharing options...
immoral giant Posted June 9, 2005 Author Report Share Posted June 9, 2005 I have done the the urpmi update. And the same 5 come up everytime even though i have done what you said. /etc/kde/kdm/kdmrc.rpmnew /etc/kde/kdeglobals.rpmnew /etc/nsswitch.conf.rpmnew /etc/mime.types.rpmnew /etc/qtrc.rpmnew Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 9, 2005 Report Share Posted June 9, 2005 OK, if these have been copied over, then that's fine. To remove these, you'd need to delete the rpmnew file after you've copied it over, and then run updatedb again. After that, if you did slocate rpmnew, no files would be listed. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 9, 2005 Report Share Posted June 9, 2005 Does the system run OK now since you updated everything else? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.