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

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
athrunz
帖子: 7
注册时间: 2007-04-18 12:28

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

#1

帖子 athrunz » 2007-04-21 19:32

系统有两个帐号,一个是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

到底是为什么呢?求教阿
athrunz
帖子: 7
注册时间: 2007-04-18 12:28

#2

帖子 athrunz » 2007-04-21 19:33

创建了一个帐户123,还是登录不了。。信息是一样的
athrunz
帖子: 7
注册时间: 2007-04-18 12:28

#3

帖子 athrunz » 2007-04-21 19:35

root 能正常登录。。
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#4

帖子 BigSnake.NET » 2007-04-21 19:37

ls /etc/profile

贴结果
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
athrunz
帖子: 7
注册时间: 2007-04-18 12:28

#5

帖子 athrunz » 2007-04-21 19:52

# /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

是不是这个?
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#6

帖子 eexpress » 2007-04-21 20:56

/etc/profile权限。ls -l
● 鸣学
athrunz
帖子: 7
注册时间: 2007-04-18 12:28

#7

帖子 athrunz » 2007-04-21 21:33

改变了权限真的解决了,问题是怎么会装个驱动就改变文件的权限呢?不解
回复