LFS6.1普通用户不能登录X-Windows?
为什么我的LFS6.1普通用户不能登录X-Windows?谢谢。Re: LFS6.1普通用户不能登录X-Windows?
Hi sinclair,为什么我的LFS6.1普通用户不能登录X-Windows?Pleae try follow;
# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
USER:x:1000:100::/home/USER
add "/bin/bash" after /home/USER making it as "/home/USER/bin/bash"
Also check the content of /etc/ld.so.conf whether making sense.
B.R.
satimis
Ah sinclair, are you building BLFS 6.1 on chroot?I got lot of problems building it on chroot environment.The only advanges are not necessary to print LFS 6.1 book and burn all packages on CDs in advance. Hi satimis
thanks for you advice
add "/bin/bash" after /home/USER making it as "/home/USER/bin/bash"
root@Fine-Lok:~# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
edwin:x:1000:100::/home/edwin:/bin/bash
sinclair:x:1003:100::/home/sinclair:/bin/bash
root@Fine-Lok:~#
I can't "startx" as User on LFS 6.1 yet.
sinclair@Fine-Lok:~$startx
.........
giving up
xinit:connection refused (errno 111):unable to connect to X server
xinit:No such process(errno 3): server error
sinclair@Fine-Lok:~$
Ah sinclair, are you building BLFS 6.1 on chroot? I got lot of problems building it on chroot environment. The only advanges are not necessary to print LFS 6.1 book and burn all packages on CDs in advance.
i builded BLFS 6.1 on LFS6.1.firstly i installed Xorg KDE then download BLFS6.1 book
http://www.linuxfromscratch.org/blfs/downloads/stable/
continue install software.because i can use copy and paste now. Hi sinclair,
Login as sinclair.Then run
$ echo $HOME
it should display "/home/sinclair"
Otherwise run
$ export $HOME=/home/sinclair
Then you can run startx to evoke X-window
i builded BLFS 6.1 on LFS6.1.firstly i installed Xorg KDE then download BLFS6.1 bookI see.I'm trying to make Firefox to work and connection to broadband made.Then I can start LFS 6.1 to continue building BLFS from there.
satimis Hi satimis
thanks for you reply and advice
Login as sinclair.
$ echo $HOME
/home/sinclair <=======yes
$startx
.........
giving up
xinit: connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): server error
------------------------------------------------------------------------------------------
same error, i can't"startx" as "sinclair" on LFS 6.1 yet.
i don't know .what's wrong with it. can you tell me? thanks Hi sinclair,
How about your "/etc/ld.so.conf" file.Does it look like# Begin /etc/ld.so.conf
#/usr/local/lib
/usr/X11R6/lib
/usr/lib/qt-3.3/lib/
/opt/lib
# End /etc/ld.so.conf
satimis Hi satimis
thanks for you reply
root@Fine-Lok:~# cat /etc/ld.so.conf
# Begin /etc/ld.so.conf
/usr/lib
/usr/local/lib
/usr/X11R6/lib
/opt/lib
/lib
/opt/kde/lib
/usr/lib/qt/lib
# End /etc/ld.so.conf
root@Fine-Lok:~#
can you connect to internet on you LFS6.1? Hi sinclair,
I can login as User but to wait for a while.I'm trying to find out its cause.I'll post my solution here when available.
can you connect to internet on you LFS6.1?Not yet.Recompiling kernel can't be avoided.I'm making some precaution before start and will retain the old kernel making it dual boot.
I'll let you know my result later.
BR
satimis Try xinit :arrow: Hi satimis
if you Recompiled kernel can't be avoided.i can send my kernel .config to you reference.
Hi linky_fan
Try xinit
我不太明白,请linky_fan兄详细讲讲。谢谢。 Hi sinclair,
if you Recompiled kernel can't be avoided.i can send my kernel .config to you reference.No, thanks.I'm aware which items to be turned on and which items to be set as "module"
B.R.
satimis
我不太明白,请linky_fan兄详细讲讲。谢谢。
startx是shell脚本文件,xinit是ELF格式文件(可执行)。
运行startx时会进行一系列的设置工作(可以打开看),
而xinit运行时可以通过参数或配置文件(如~/.xinitrc)进行设置,具体内容看man。
http://xxlinux.com/2004-12/20041230130848.htm Hi folks,
After recompiling kernel, I can connect Internet.Now I make this posting from LFS 6.1 Firefox.My immediate need is to make Firefox reading Chinese, both Traditional and Simplified.I'm now only working blindly OR in total darkness.
B.R.
satimis Hi linky_fan
谢谢你的解释及URL,又学到点知识 thanks.
Hi satimis
congratulation!
i am useing fireflysung
http://www.study-area.org/apt/firefly-font/
root@Fine-Lok:~# mkdir /usr/X11R6/lib/X11/fonts/TrueType
put the fireflysung.ttf to TrueType directory
Now change to the directory where you have your TrueType fonts and run:
root@Fine-Lok:/usr/X11R6/lib/X11/fonts/TrueType#mkfontscale
root@Fine-Lok:/usr/X11R6/lib/X11/fonts/TrueType#mkfontdir
Ensure TrueType is Loaded in 'xorg.conf'
# ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType" <==============add this line
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/local/share/fonts"
FontPath "/usr/X11R6/lib/X11/fonts"
EndSection
add the path "/usr/X11R6/lib/X11/fonts/TrueType " to /etc/fonts/fonts.conf
<dir>/usr/share/fonts/local</dir>
<dir>/usr/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts/misc</dir>
<dir>/usr/X11R6/lib/X11/fonts/local</dir>
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/usr/X11R6/lib/X11/fonts/75dpi</dir>
<dir>/usr/X11R6/lib/X11/fonts/TrueType</dir> <=======add this line
<dir>~/.fonts</dir>
install "libXft-2.1.6.tar.bz2" package <===bold
finally run "fc-cache"
root@Fine-Lok:~#fc-cache
restart "firefox"
if your chinses fonts blur,i can post my fonts.conf to you reference
good luck! Hi sinclair,
Tks for your detail advice.
Fonts selection is already available on Firefox
View -> Character Encoding -> More Encodings -> East Asia -> big5/gbk, etc.
Then I added fireflysun.tty to /usr/X11R6/lib/X11/fonts/TrueType/
Also adding;FontPath "/usr/X11R6/lib/X11/fonts/TrueType" to xorg.conf'
and <dir>/usr/X11R6/lib/X11/fonts/TrueType</dir>to/etc/fonts/fonts.conf
ran;
# fc-cache
Re-started Firefox.I'm now on my way with Firefox reading both big5 and gbk
Tks again.
install "libXft-2.1.6.tar.bz2" package <===bold What will be the use of this package?I have it download but without installed.
B.R.
satimis
P.S. Later I'll install Chinese input engine.I'm only experienced on Cangjie, big 5 input.That will be a problem to me.
Have you had any suggestion and also on its installation.Tks.
页:
[1]
2