First of all, you are expected to post some of your system logs. We ignore it for now, because it seems that it is your first time with the stackexchange.
According to your story, I guess some kind of overwrite may be performed by root user on the files (mostly lxde confs) which are supposed to be owned by pi.
Give the following command (run as root) a chance:
root@raspberry:~# chown pi:pi -R /home/pi root@raspberry:~# chown -R pi:pi /home/pi