Fix /etc/rc.d/init.d/functions: line 513: 1345 aborted “[email protected]” FAILED

Edit the file /etc/X11/xorg.conf and remove (or comment out) any references to Keyboard Input.

Create a backup of your xorg.conf file:

cd /etc/X11/
cp xorg.conf backup.xorg.conf

Delete the following lines in xorg.conf:

InputDevice    "Keyboard0" "CoreKeyboard"
Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier     "Keyboard0"
Driver         "keyboard"
Option         "XkbLayout" "us"
Option         "XkbModel" "pc105"

Reboot your system:

shutdown -r now