Finally ,no need of startx i think i have a solution When logout error appear just press
(Ctrl+Alt and F1 or F2 )
And enter your previously used root username password or create another user and...