Some output from the startx command, when the stdout and the stderr are redirected to same file is:
Fatal server error:
(EE) xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted
(EE)
(EE)
Please consult the The X.Org Foundation support
at
http://wiki.x.org for help.
(EE) Please also check the log file at "/home/rpitc/.local/share/xorg/Xorg.0.log
" for additional information.
(EE)
(EE)
FatalError re-entered, aborting
(EE) xf86CloseConsole: VT_ACTIVATE failed: Operation not permitted
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error