LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1276|回复: 9

(求助)KDM不能登录!

[复制链接]
发表于 2007-4-24 08:04:12 | 显示全部楼层 |阅读模式
KDE安装好了
设置KDM为登录管理界面

在KDM界面登录时,
系统提示:
发生问题,
不能登录!

看了一下log文件
说是/tmp/.X0-lock这个文件导致了KDM不能常登录.
/tmp/.X0-lock
这个文件是系统自动生成的.
俺想请问一下,
如何才能停止系统自动生成这个/tmp/.X0-lock文件,
好让KDM能够正常登录进入系统?

谢谢!
 楼主| 发表于 2007-5-9 09:33:18 | 显示全部楼层
********************************************************************************
Note that your system uses syslog. All of kdm's internally generated messages
(i.e., not from libraries and external programs/scripts it uses) go to the
daemon.* syslog facility; check your syslog configuration to find out to which
file(s) it is logged. PAM logs messages related to authentication to authpriv.*.
********************************************************************************


Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the The X.Org Foundation support
         at http://wiki.X.Org
for help.


X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.6.16.27 i686 [ELF]
Current Operating System: Linux gsky 2.6.16.27 #1 Sun May 6 23:05:50 CST 2007 i686
Build Date: 02 May 2007
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May  8 21:45:55 2007
(==) Using config file: "/etc/X11/xorg.conf"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.6.16.27 i686 [ELF]
Current Operating System: Linux gsky 2.6.16.27 #1 Sun May 6 23:05:50 CST 2007 i686
Build Date: 02 May 2007
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May  8 21:49:05 2007
(==) Using config file: "/etc/X11/xorg.conf"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.6.16.27 i686 [ELF]
Current Operating System: Linux gsky 2.6.16.27 #1 Sun May 6 23:05:50 CST 2007 i686
Build Date: 02 May 2007
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May  8 22:41:03 2007
(==) Using config file: "/etc/X11/xorg.conf"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.
回复 支持 反对

使用道具 举报

发表于 2007-5-9 18:03:43 | 显示全部楼层
用KDM登录出错后显示的信息是什么?能不能进X?
你可以重新生成一个用户,再用这个用户登录试试,也许能行!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-10 08:01:29 | 显示全部楼层
上面的那些鸟语

就是登录出错的日志文件kdm.log

登录不了系统

系统提示俺看kdm.log

用户和密码是正确的

谢谢回贴

俺回去试试...................
回复 支持 反对

使用道具 举报

发表于 2007-5-11 18:22:38 | 显示全部楼层
兄弟,你的X还没有配置起来!先把X弄好再说,要不肯定不行!
把/usr/X11R6/lib/X11/fonts/CID/从x.conf文件中删除试试!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-12 09:57:16 | 显示全部楼层
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!


/usr/X11R6/lib/X11/fonts/CID/


俺早把CID给咔嚓了,
试过了,
还是不行!

谢谢回贴!
继续思考中.........
回复 支持 反对

使用道具 举报

发表于 2007-7-25 19:22:01 | 显示全部楼层
青铜镜大哥:
    这个问题搞定了没有?我也遇到了这个问题。怎么解决啊?
回复 支持 反对

使用道具 举报

发表于 2007-7-25 19:56:09 | 显示全部楼层
两点
1,login: krb5 和 shadow 包都会产生login程序,但是两个login,使用的shadow密码方式是不一样的,确定kde用的login和你认为密码都对的login是同一个东东。就好像coreutils包和shadow包都会产生su一样,两个和/etc/passwd一乱,经常出现“登录不了“的问题

2,确定kcheckpass已经setuid,kdm通过kcheckpass校验密码,如果没有setuid的话访问不了/etc/passwd,用所谓的包用户管理大概都有这个问题
回复 支持 反对

使用道具 举报

发表于 2007-7-25 20:09:09 | 显示全部楼层
谢谢bbloldd的回答,可以描述一下具体怎么做吗 ?我是新手。
回复 支持 反对

使用道具 举报

发表于 2007-7-26 21:11:54 | 显示全部楼层
继续顶,问题还没有解决。
回复 支持 反对

使用道具 举报

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

本版积分规则

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