分页: 1 / 1

菜鸟求救阿~~急急急~~

发表于 : 2007-04-21 19:32
athrunz
系统有两个帐号,一个是ROOT,一个是JOHN

整个上午都在安装ATI的驱动,但失败了,在一次重启就就进不了系统了,现在如下错误信息:

/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:20.Xservers" -h "" -l ":20" "john"
/etc/gdm/Xsession: Beginning session setup...
.: 106: Can't open /etc/profile

到底是为什么呢?求教阿

发表于 : 2007-04-21 19:33
athrunz
创建了一个帐户123,还是登录不了。。信息是一样的

发表于 : 2007-04-21 19:35
athrunz
root 能正常登录。。

发表于 : 2007-04-21 19:37
BigSnake.NET
ls /etc/profile

贴结果

发表于 : 2007-04-21 19:52
athrunz
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi

umask 022

是不是这个?

发表于 : 2007-04-21 20:56
eexpress
/etc/profile权限。ls -l

发表于 : 2007-04-21 21:33
athrunz
改变了权限真的解决了,问题是怎么会装个驱动就改变文件的权限呢?不解