Sebastião Guerra composed on 2017-07-27 16:28 (UTC-0300):
Error messages: http://imgur.com/YS2vGqB
Can't login with root or normal user
System hangs on black screen
ls -l /usr/bin/Xorg -rwsr-xr-x. 1 root root 2409560 Nov 5 2016 /usr/bin/Xorg
There is a slight possibility that changing that is a solution. You can try as root or using sudo:
chmod 4711 /usr/bin/Xorg
The result would be -rws--x--x 1 root root 2409560 Nov 5 2016 /usr/bin/Xorg
However, the problem is more likely elsewhere. Your screenshot mainly only tells us that Xorg cannot run. We need more information.
Please share your Xorg.0.log and/or Xorg.1.log file(s) from /var/log/ or from ~/.local/share/xorg/ wherever you find it/them. You can use fpaste to paste directly from a shell prompt. From any web browser any kind of text paste will do, such as https://pastebin.com/
One possible problem is that TDM has not been configured and needs to be, rather than trying to run TDE using startx. It's also possibly that Xorg is simply broken on that installation. The log will give us something to work from.