非常感谢,在~/.xsession-errors里找到原因了,在设置环境变量的地方有这样一段代码
export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
执行的结果是SIMPLIFIED CHINESE_CHINA.AL32UTF8,带一个空格,会报错。前后加一个双引号就行了。
export NLS_LANG="`$ORACLE_HOME/bin/nls_lang.sh`"
于2013年07月11日 星期四 15时04分53秒,Alex Zhang写到:
> tail /var/log/auth.log
>
> ls -ltr /var/log 看最新的
>
> 闪一下退出可能是你的.xsession之类的出问题,试试用twm登陆看看。
>
> ls -lah ~/ 看看有什么,仔细看.x*, .login, .profile 之类的登陆控制脚本
>
> --
> Difan Zhang (@tifan)
>
http://tifan.net/
>
>
> 在 2013年7月10日下午11:05,Daniel Qian <
chanj...@gmail.com
> <mailto:
chanj...@gmail.com>>写道:
>
> 我用的是ubuntu13.04 desktop,安装完oracle-xe 11gR2,重启后,就无法
> 登录系统了,症状为输入密码之后登录,屏幕闪一下就又退回到登录界面了。
>
> 可以启动oracle-xe服务,也可以连上oracle-xe。
>
> 按ctrl+alt+F1用文字界面login是可以的。
>
> 删除oracle-xe后就可以登录系统了。
>
> 现在想知道可以从哪里查到错误日志。
>
> dmesg看过,好像就只有启动时的日志,登录后发生的问题没有记录。
>
> --
> -- You received this message because you are subscribed to the
> Google Groups Shanghai Linux User Group group. To post to this
> group, send email to
sh...@googlegroups.com
> <mailto:
sh...@googlegroups.com>. To unsubscribe from this group,
> send email to
shlug+un...@googlegroups.com
> <mailto:
shlug%2Bunsu...@googlegroups.com>. For more options,
> <mailto:
shlug%2Bunsu...@googlegroups.com>。
> 要查看更多选项,请访问
https://groups.google.com/groups/opt_out。