So touch it in your home dir, try again :arrow:Sorry, it did not work.
The directory "satimis" found missing.Then ran;
# install --directory --mode=0755 --owner=satimis --group=satimis /mnt/lfs/home/satimis
# touch /mnt/lfs/home/satimis/.Xauthority
# chown -c satimis:satimis /mnt/lfs/home/.Xauthority
# chmod 755 /mnt/lfs/home/.Xauthority
Booted LFS 6.1 and login as "satimis"
$ echo $HOME/home/satimis
$ startx
It hung on screen with following line displayed repeatedlyxauth: timeout in locking authority file /home/satimis/.Xauthority
Where is the lock file?
B.R.
satimis
# touch /mnt/lfs/home/satimis/.Xauthority
# chown -c satimis:satimis /mnt/lfs/home/.Xauthority
# chmod 755 /mnt/lfs/home/.Xauthority
Do it in your lfs env not the chroot env and try cp the Xauthority from the /root to the /home/USER/ and chmod 600, then try again. Good luck Hi linky_fan,
Tks for your advice.
>snip>............Do it in your lfs env not the chroot env and try cp the Xauthority from the /root to the /home/USER/ and chmod 600, then try againI will try it later.But the .Xauthfority of /root is an empty file.
I read /home/satimis/.Xauthority of FC3 Host.It has codes on it.
/root of FC3 does not have .Xauthority file.
satimis
But the .Xauthfority of /root is an empty file.
yes , i know. And i just think it is the usual way(touch a new one is not ^-^). hehe. Hi linky_fan,
I tried all posssible means without a solution.I can started X-window as User but have to wait a while after printing 3 lines on screen;
Xauth: time out in locking authority file /home/satimis/.Xauthority
Xauth: time out in locking authority file /home/satimis/.Xauthority
Xauth: time out in locking authority file /home/satimis/.Xauthority
then X-window started automatically.
B.R.
satimis Try xinit?? Hi linky_fan,
Try xinitOn LFS 6.1
$ xinit
started X-window promptly without complaint. This time only one Xterm started. However the Xterm window can't be resized nor moved. + for selecting font size still worked.
Firefox can't be started on Xterm as User but can be started as root. Firefox window also can't be resized nor moved.
B.R.
satimis
Problem solved
Hi folks,My problem has been solved.Please see following thread;
LFS6.1普通用户不能登录X-Windows?
http://linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=129599
satimis good job, lfs need a warm-hearted inside. :-D
页:
1
[2]