I already solved my problem - start X-window as "user". If you have not solved yours please try following steps;
Started BLFS 6.1 (assuming it can be started)
Login as "root"
run
# chown --recursive sinclair:sinclair /home/sinclair
(should have no printout. If there is any, please posting it on the Forum)
logout "root" and "relogin" as sinclair
$ startx
B.R.
satimis
(P.S. in my case, no /home/satimis/.Xauthority file)
I already solved my problem. If you have not solved yours please try following steps;
Started BLFS 6.1 (assuming it can be started)
Login as "root"
run
# /usr/sbin/groupadd sinclair -g 100
# chown --recursive sinclair:sinclair /home/sinclair
(should have no printout. If there is any, please posting it on the Forum)
logout "root" and "relogin" as sinclair
$ startx
B.R.
satimis
P.S. in my case, /home/satimis/.Xauthority file not available
login as "sinclair"
$ echo $HOME
/home/sinclair
$ echo $XAUTHORITY
(No printout)
$ xauth -b -f /home/sinclair/.Xauthority
Attempting to break lock on authority file /home/sinclair/.Xauthority
xauth: creating new authority file /home/sinclair/.Xauthority
using authority file /home/sinclair/.Xauthority
xauth>exit
$ xauth list :0
xauth: creating new authority file /home/sinclair/.Xauthority
$ xauth -q <<EOF
> add :0 . 1234567890
> EOF
xauth: creating new authority file /home/sinclair/.Xauthority
$startx
Fatal server error:
cannot move old log file ("var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old")
please consult the The X.org Foundation support
at http://wiki.X.org
for help
giving up
xinit: connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): server error
$
login as "sinclair"
$startx
xauth: creating new authority file /home/sinclair/.Xauthority
xauth: creating new authority file /home/sinclair/.Xauthority
Fatal server error:
cannot move old log file ("var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old")
please consult the The X.org Foundation support
at http://wiki.X.org
for help
giving up
xinit: connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): server error
Fatal server error:
cannot move old log file ("var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old")
It seems the permission problem.
1st run
# chmod u+s /usr/X11R6/bin/Xorg
then relogin as "sinclair" and try again
$ startx
If still unsolved, check the permissions elsewhere. e.g. /var/log/Xorg.0.log.old to see whether it is writable. The permission of /var/log directory 0755? Is the /var/log directory mounted on a writable partition? (if having several partitions), etc.