QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: satimis

Problem on installing Xorg

[复制链接]
 楼主| 发表于 2005-8-25 12:43:37 | 显示全部楼层
Hi linky_fan,

So touch it in your home dir, try again
Sorry, it did not work.

The directory "satimis" found missing.  Then ran;
[root@localhost satimis]# install --directory --mode=0755 --owner=satimis --group=satimis /mnt/lfs/home/satimis

[root@localhost satimis]# touch /mnt/lfs/home/satimis/.Xauthority
[root@localhost satimis]# chown -c satimis:satimis /mnt/lfs/home/.Xauthority
[root@localhost satimis]# chmod 755 /mnt/lfs/home/.Xauthority

Booted LFS 6.1 and login as "satimis"
$ echo $HOME[code:1]/home/satimis[/code:1]
$ startx
It hung on screen with following line displayed repeatedly[code:1]xauth: timeout in locking authority file /home/satimis/.Xauthority[/code:1]

Where is the lock file?

B.R.
satimis
回复

使用道具 举报

发表于 2005-8-26 10:50:47 | 显示全部楼层
[root@localhost satimis]# touch /mnt/lfs/home/satimis/.Xauthority
[root@localhost satimis]# chown -c satimis:satimis /mnt/lfs/home/.Xauthority
[root@localhost satimis]# 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
回复

使用道具 举报

 楼主| 发表于 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 again
I 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
回复

使用道具 举报

发表于 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.
回复

使用道具 举报

 楼主| 发表于 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
回复

使用道具 举报

发表于 2005-8-27 23:26:30 | 显示全部楼层
Try xinit??
回复

使用道具 举报

 楼主| 发表于 2005-8-27 23:48:23 | 显示全部楼层
Hi linky_fan,

Try xinit
On 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. [Ctrl]+[right mouse button] 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
回复

使用道具 举报

 楼主| 发表于 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
回复

使用道具 举报

发表于 2005-8-30 21:25:59 | 显示全部楼层
good job, lfs need a warm-hearted inside.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-3 08:17 , Processed in 0.081789 second(s), 12 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表