Linux cannot log on to F1-F6 from character interface solve
Source: Internet
Author: User
Linux can not log on to the F1-F6 from the character interface to solve the problem on the machine basically did not how to use the character interface, recently upgraded the server graphics driver caused by too high resolution display can not be displayed (display is relatively old ), so almost need character login to modify the configuration file, strange thing happened to all the users are not Linux can not log on to the F1-F6 from the character interface to solve the problem on the machine basically did not use the character interface, I recently upgraded the server graphics card driver to make the display unable to be displayed because the resolution is too high (the display is relatively old). Therefore, I need to log on to the character to modify the configuration file, it is strange that all users cannot log on (but ssh remote login is good). Specifically, enter the user name: root password: * ********** return to the user name and password to remotely view the server security log. vi/var/log/secure has the following errors: oct 18 08:45:41 server1 login: PAM unable to dlopen (/lib/security/pam_limits.so) Oct 18 : 30 server1 login: PAM [error:/lib/security/pam_limits.so: wrong ELF class: ELFCLASS32] Oct 18 18:45:12 server1 login: PAM adding faulty module: /lib/security/pam_limits.so ...... Dizzy! In this case, I think that the 64-bit operating system should only access/lib64/security/pam_limits.so. it is estimated that the installation file was copied by my colleagues when installing Oracle, causing login configuration problems. Solution: Edit the login configuration file: # vi/etc/pam. d/login: Find the session required/lib/security/pam_limits.so and change it to session required/lib64/security/pam_limits.so. save and exit.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.