Actually I am having Debian Linux 8 installed in my system. For the first few days Debian GUI came directly whenever I started.
I don't know why, but after one week while I powered on the system, command prompt (Terminal) came directly. I tried to change it to GUI mode but its not worked out. After a lot of frustration I used
startx to get the GUI mode
Now the problem is, when I powered on the system, command prompt (terminal) is coming normally and responding for all the commands like "username", "password" and if I give
startx the GUI window is coming but not responding for any command, (looks like hanging) and even if I move the mouse the mouse cursor also not coming.
How to resolve the issue?