分页: 1 / 1

[已解决]基于gtk/gnome程序无法启动!

发表于 : 2009-03-09 13:19
flysohigh
能够进入X 也可以切换终端(ctl+alt+Fn),但是桌面不正常,表现为:
1、工具栏/任务栏都正常,桌面没有图标,右键也无反映
2、但是一些Gnome/GTK相关的程序启动后,自动关闭(gedit, nautilus,gnome-terminal等等)
3、Qt程序可以启动(amarok)
4、系统主题可以打开,但选择打开或另存为是就自动关闭了。

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
问题出在xfs服务 ,它在X之前启动了,导致了好多问题
参考:
http://ubuntuforums.org/archive/index.php/t-962749.html
http://markmail.org/message/dtsuur3dysxspnv7

下面是截取的一些信息:

An alternate solution to this is to turn off xfs in your services. It seems that xfs running before X starts causes this error which affects a lot of applications. xfs is not needed in a lot of situations so things should run fine without it.

还有这个页面:

https://bugzilla.redhat.com/show_bug.cgi?id=430416

解决办法:

我开机后把xfs服务停掉或者重启就好了

"

代码: 全选

sudo /etc/init.d/xfs restart
"

关于服务这儿我还不是很了解,那如何修改这些服务的启动顺序呢?

比如说这个问题就是xfs在X之前启动了,我如何修改才能让它后启动呢?
谁能指点一下啊!

Re: 求助:我的gtk/gnome程序无法启动!

发表于 : 2009-03-09 14:07
eexpress
终端下执行一个,看提示什么。

Re: 求助:我的gtk/gnome程序无法启动!

发表于 : 2009-03-09 14:09
flysohigh
eexpress 写了:终端下执行一个,看提示什么。
我开始也是这样想的,可是终端就打不开,除非回到字符界面

Re: 求助:我的gtk/gnome程序无法启动!

发表于 : 2009-03-09 19:35
flysohigh
eexpress 写了:终端下执行一个,看提示什么。
我安装了konsole 下面是提示:

代码: 全选

[san@san0xff:]~$ gnome-terminal
The program 'gnome-terminal' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadName (named color or font does not exist)'.
  (Details: serial 374 error_code 15 request_code 45 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
[san@san0xff:]~$ firefox
The program 'firefox' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadName (named color or font does not exist)'.
  (Details: serial 961 error_code 15 request_code 45 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
[san@san0xff:]~$ evince
The program 'evince' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadName (named color or font does not exist)'.
  (Details: serial 296 error_code 15 request_code 45 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
[san@san0xff:]~$

Re: [已解决]基于gtk/gnome程序无法启动!

发表于 : 2009-03-10 10:43
flysohigh
还没解决完全,自己顶一下

Re: [已解决]基于gtk/gnome程序无法启动!

发表于 : 2009-03-10 10:46
eexpress
The error was 'BadName (named color or font does not exist)'.
似乎你的字体配置出问题了。
因为kde不遵循fontconfig。所以kde的可以跑。
你改过什么字体配置?把系统缺省的文件改过?或者~/.fonts.conf改过。都想想。

Re: [已解决]基于gtk/gnome程序无法启动!

发表于 : 2009-03-10 11:18
flysohigh
eexpress 写了:The error was 'BadName (named color or font does not exist)'.
似乎你的字体配置出问题了。
因为kde不遵循fontconfig。所以kde的可以跑。
你改过什么字体配置?把系统缺省的文件改过?或者~/.fonts.conf改过。都想想。

没动过,自升到8.10后就没动字体配置

为过之前编译过2.6.28内核,用的就是2.6.28内核,刚用的时候是好的,用过几天出现问题了,开始是显卡驱动的问题,重新装了nvidia 的
180.29显卡驱动好了,但出现上面的问题。回到2.6.27内核后没有上面的问题,只是要重装显卡驱动。