LinuxSir.cn,穿越时空的Linuxsir!

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

Your session only lasted less than 10 seconds

[复制链接]
发表于 2007-7-2 20:41:56 | 显示全部楼层 |阅读模式
Your session only lasted less than 10 seconds


各位现在我出现这么一个问题,在进入linux的时候不能正常登陆xwindows 。报错的具体信息是:
Your session only lasted less than 10 seconds 。If you have not logged
out yourself, this could mean that there is some installation problem
or that you may be out of diskspace. Try logging in with one of the
failsafe sesions to see if you can fix this problem.

". The .xession-errors contain no errors, just this:
Quote:
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "appuser"

不知道大家碰到过想类似的问题,现在急于解决。
多谢各位。
 楼主| 发表于 2007-7-2 20:42:42 | 显示全部楼层
顶一下,真的很急。
回复 支持 反对

使用道具 举报

发表于 2007-7-3 09:38:33 | 显示全部楼层
[Try logging in with one of the failsafe sesions to see if you can fix this problem.

". The .xession-errors contain no errors, just this:
Quote:
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "appuser"

不知道大家碰到过想类似的问题,现在急于解决。
多谢各位。]

按照提示:首先进入安全模式,注册一下wtmp and utmp  方法:/usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "appuser"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-3 10:28:18 | 显示全部楼层
mystart: 先感谢你的关注,我已经试过了,还是不成呀。
回复 支持 反对

使用道具 举报

发表于 2007-7-3 14:58:18 | 显示全部楼层
用另外一个用户登录,看是否问题依旧,如果问题没有,则删除有问题账号根目录下相关文件。
回复 支持 反对

使用道具 举报

发表于 2007-7-3 15:58:42 | 显示全部楼层
不知道你有没有以前有没有可以用的xorg.conf,的备份,我上次出这各问题是因为把配置文件改错了,用原来的就可以了
回复 支持 反对

使用道具 举报

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

本版积分规则

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