satimis 发表于 2005-8-25 12:43:37

Hi linky_fan,

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

linky_fan 发表于 2005-8-26 10:50:47


# 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

satimis 发表于 2005-8-26 11:08:53

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

linky_fan 发表于 2005-8-26 22:52:57


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.

satimis 发表于 2005-8-27 00:05:52

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

linky_fan 发表于 2005-8-27 23:26:30

Try xinit??

satimis 发表于 2005-8-27 23:48:23

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

satimis 发表于 2005-8-30 17:48:39

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

linky_fan 发表于 2005-8-30 21:25:59

good job, lfs need a warm-hearted inside. :-D
页: 1 [2]
查看完整版本: Problem on installing Xorg