Close the graphical session by selecting “System -> Logout” in the top menu.
Ctrl+Alt+F1This shuts down the X server, and we land in an alphanumerical window. However, the windows manager is still running at this point. Login as root and run the command “/etc/init.d/gdm3 stop” (you may need to replace “gdm3″ with the actual name of the script corresponding to the windows manager installed in your system: “gdm”, “kdm”, xdm”,etc…)
# update-rc.d -f gdm3 removeonce again, substitute “gdm3″ with the name of the windows manager actually installed (“gdm”, “kdm”, “xdm”,… )
/etc/init.d/gdm3 startAnd to configure again the execution of the X server at system boot time:
# update-rc.d -f gdm3 defaultsweb