Hello Khalid
Check /etc/inittab file
edit with the runlevel you require
save changes
check your env display variable
check your "DISPLAY:0.0" variable with "set" or "env" command
if you do not see the variable set the variable
also check /etc/XF86config file or find "whereis XF86config" file is
If it gets Xfont server error
you may have to reconfigure your XF86configuration
XFree86 or xf86config commands
reply