i am installing centos7 but why i cant log in, but i have a problem..

Dani AI

Generated

A short, focused checklist and explanation based on what posted and ’s suggestion. The behaviour described (username accepted, password field appears but typing seems to do nothing, later a shell reports the typed text as a command) usually means one of three things: the keyboard is failing at a low level, the graphical login manager isn’t receiving input, or the user is typing at the wrong prompt (remember that password input is not echoed on Unix systems).

Quick checks (hardware first)

  • Reboot and verify the keyboard works in the BIOS/UEFI and at the GRUB menu (try typing inside the firmware or grub prompt).
  • If it’s USB, try different USB ports (rear vs front) or a different keyboard; try a wired keyboard if using wireless. Enable “USB legacy” support in BIOS if available.
  • Note: the login password will not show characters when typed — that is normal and not an error.

Diagnostic steps to run if a keyboard works in firmware

  • Switch to a text console (Ctrl+Alt+F2) and try to log in there. If that works, the problem is the graphical display manager (GDM/lightdm). If it does not work, the issue is at the kernel/USB/hid level.
  • Collect logs once you have a shell to spot input/driver errors:
Ctrl+Alt+F2

# if logged in, run:
sudo journalctl -b -p err --no-pager
dmesg | egrep -i 'hid|usb|keyboard|kbd'
lsusb
cat /var/log/Xorg.0.log | egrep -i '(kbd|keyboard|error|fail)'
localectl status

Interpretation of the “command not found” symptom

  • Seeing a “command not found” for what you intended as a password indicates those characters were entered at a shell prompt, not at a password prompt — either login failed and dropped to a shell or the input focus was elsewhere. Check whoami/id to confirm where you are.

If diagnostics show USB/hid errors, try another keyboard or a live USB to confirm hardware. If the keyboard works in a live environment but not in CentOS 7, then it’s an OS/driver or display-manager issue; ’s idea to test with another release or a live distro can help isolate that. Use rescue/live media before making system changes, and avoid resetting credentials blindly without backups.

Recommended Answers

All 3 Replies

You don't provide enough information. Did you do a full GUI install, or just a command-line server install? Do you get to a login screen or window? If so, after the first part of the installation and it boots for the first time, it should ask for a user ID and password. Did you get that? Also, when installed, it should have asked for a root user password. Did you set that?

yes i am installed full GUI, and log in screen appear,first time boot and ask me give user name and pasword.
but when i am giving user name password option apeera but i dont enter password because key board dont show any responce and my enter password is not enterd,after 2 min message appera you cant log in..
CentOs Linux 7 (core)
Kernel 3.10.0-123 .x86-64 on an x86_64
asdi login:_
when i am giving log in name asad and enter then i have not acess to enter password..

-bash : q1w1e1r1t1y1u1i1: command not found
this error is occured. my password is q1w1e1r1t1y1u1i1

This may be a keyboard connectivity issue. Is it USB, or other? Have you tried to install CentOS 6.x? Does it behave similarly? CentOS 7.x is very new, so there may be some hardware issues that the team needs to know about. If 6.x installs OK, then report this to the CentOS user forums.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.