分页: 1 / 1

[问题]莫名奇妙的登入问题

发表于 : 2008-01-03 12:48
javran
以下是.xsession-errors报告:

代码: 全选

/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/:0.Xservers" -h "" -l ":0" "javran"
/etc/gdm/Xsession: Beginning session setup...
export: 21: : bad variable name

我是用xfce4的
一登陆就有问题.最后一次正常登出前配置过java,fclix,在tty2下安装gnome,重启X,登陆错误依旧

发表于 : 2008-01-03 13:33
tlhl28
帮你找点信息:
转自某德国论坛(ubuntuusers)
用GOOGLE帮你翻译了一下:
可能是JAVA和那个Beryl之间闹了点矛盾
Hello,
Since restarting I can no longer register with the GDM it komt following error message:

Code:
Their meeting lasted only less than 10 seconds ....

The. Xsession-errors says the following:

Code:
/ Etc / gdm / PreSession / Default: Registering your session with wtmp and utmp
/ Etc / gdm / PreSession / Default: running: / usr/X11R6/bin/sessreg-a-f / var / logwtmp-u / varrun / utmp-x / var/lib/gdm/X0.Xservers "h" "-l": 0 "" bene "
/ Etc / gdm / Xsession: Beginning session setup
Export:: 1: bad variable name

I have already read it with the. ICEauthority related, chown or delete a file with everything but nothing helps. In Safe Mode, I can log in as normal. Even a reinstall gdm has nothing.

Would I have a little help look.

MfG

==========================================
Have you beryl or compiz installed?
===========================================

So, problem solved

Because Java applications under Beryl not really wanted, I 90environment in the file / etc/X11/Xsessio.d created and where the environment variable. That was probably the mistake after I had deleted the file does everything again. No idea what went wrong.

==============================================


You do not coincidentally the path instead replaced him to expand?

===================================================

Ähm frankly no ahnung, soo well know, I have not. I just picked the command
Export AWT_TOOLKIT = MToolkit
90environment in the file.

再帮你搜了一些信息回来,看是不是这个问题
zhuqin_83:
和java版本无关,只要是java就这样的。
你需要在/etc/environment中添上一句
AWT_TOOLKIT="MToolkit
frankly no ahnung, soo well know, I have not. I just picked the command
Export AWT_TOOLKIT = MToolkit
90environment in the file.
帖子(java和beryl的冲突):
viewtopic.php?t=42450

发表于 : 2008-01-03 17:22
javran
不行啊...火起来
sudo apt-get remove sun-java*
了...
之后如1楼所述
sudo apt-get install gnome
/etc/enviroment也修改了..没有用,另外enviroment里面有关Java的两句,好像是JAVA_HOME和CLASSPATH删除掉了
还有就是tty2登入的时候显示:

代码: 全选

-bash :export: '=':not a valid identifier
-bash :export: '/usr/java/jdk1.5.0':not a valid identifier
-bash :export: '=':not a valid identifier
-bash :export: '.:/lib/dt.jar:/lib/tools.jar':not a valid identifier
-bash :export: '=bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:' : not a valid identifier
(以上内容是抄纸上的.可能有抄错的地方/...)

实在不行ubuntu-7.04-alternate-i386.iso上了... :( :( :( :( :( :( :( :( :( [/code]

发表于 : 2008-01-03 22:50
tlhl28
:em06 :em06

发表于 : 2008-01-04 11:43
javran
有办法么?