Solving problems exiting the X server
If you use startx to start the X server, you may
notice problems when exiting your Desktop or X server.
Sometimes, the screen remains in graphics mode
or the keyboard does not function correctly after exiting.
To prevent this problem, start the X server using this command line:
startx; /etc/clean_screen
If you log in using scologin, you should not encounter any problems.