In this case, log in as root and locate your Xservers file with this command: # locate Xservers /etc/X11/xdm/Xservers If you are using the XDM graphical login .