Can't login on GUI and startx crash when in cmd ARM7 (raspberrypi2)

So i’ve been able to set my hand on a booting img for the raspberrypi 2 to get a login screen i needed to re-install all Xorg and XFCE and i’m using KDM instead of lightdm ( not starting).

but when i try to log in i get a loading cursor then back to the login screen i’m getting this error in the log file :

nohostname:~ #  cat .xsession-errors-:0
grep: /root/.gnupg/gpg-agent.conf: No such file or directory
gpg-agent[1681]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent[1686]: gpg-agent (GnuPG) 2.1.10 started
xfce4-session: symbol lookup error: /usr/lib/libEGL.so.1: undefined symbol: glDiscardFramebufferEXT
gpg-agent[1686]: parent process died - shutting down
gpg-agent[1686]: gpg-agent (GnuPG) 2.1.10 stopped

if anyone can give me a tips thank you !

actually i need to log in local only once after that will be setting this up in nfs on a server as a fat client.