LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1440|回复: 14

FC5下面,窗口管理器出了问题,不能移动任何打开的窗口,请问怎么修复??

[复制链接]
发表于 2006-8-25 09:16:11 | 显示全部楼层 |阅读模式
FC5下面,窗口管理器出了问题,不能移动任何打开的窗口,请问怎么修复?按住ALT也不能移动!是否要重新安装X-SERVER!
发表于 2006-8-25 10:05:40 | 显示全部楼层
Post by hhshr825
FC5下面,窗口管理器出了问题,不能移动任何打开的窗口,请问怎么修复?按住ALT也不能移动!是否要重新安装X-SERVER!
metacity
在会话里保存
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-25 10:45:37 | 显示全部楼层
Post by tinwog
metacity
在会话里保存


谢谢
请问下metacity是在某个控制终端输入吗?就是按ALT+F1-4之类的切换!
还有就是进了X-SERVER之后还提示字体找不到了!怎么回事啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-26 16:47:10 | 显示全部楼层
大家来给指点下啊!!
回复 支持 反对

使用道具 举报

发表于 2006-8-27 18:54:52 | 显示全部楼层
Post by hhshr825
大家来给指点下啊!!
0.   重新启动
1.   在应用程序 >附件> 终端输入>metacity
2.   桌面>首选项>更多首选项>会话
3.  会话选项 >自动更改保存到会话
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-29 12:23:36 | 显示全部楼层
谢谢!tinwog兄!
我试试!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-30 00:37:49 | 显示全部楼层
Post by tinwog
0.   重新启动
1.   在应用程序 >附件> 终端输入>metacity
2.   桌面>首选项>更多首选项>会话
3.  会话选项 >自动更改保存到会话




metacity指令报错,情况如下:
[root@local ~]# metacity
metacity: error while loading shared libraries: /usr/lib/libGL.so.1: cannot restore segment prot after reloc: Permission denied
回复 支持 反对

使用道具 举报

发表于 2006-8-30 00:46:50 | 显示全部楼层
是不是SELinux规则有错误?
回复 支持 反对

使用道具 举报

发表于 2006-11-30 19:34:35 | 显示全部楼层
我的也有这个问题,输入用户名和密码后,要等2~3分钟,才能进入系统,过去是几秒钟的。这两三分钟里,启动界面一直显示第一个启动图标,文字说明是窗口管理器。进入系统后,点显示桌面就会提示我的窗口管理器不支持此功能或没有运行窗口管理器之类的话。还有一个细节,在等待进入系统的时候,我按Ctrl+Alt+Fx进入过控制台,登陆,在GNOME桌面在2~3分钟启动完毕时,控制台这里显示一堆文字,大致如下:
audit( 1164873639.301:9):avc: denied { execomd } for pid: 3354 comm="nautilus" name ="libnvidia-tls.so.1.0.8776" dev =dnro ino =81381 scontert=root :system-r:unconfined_t:s0-s0:c0 .c255 tcontext=rootbject_r:lib_t:s0 tclass=file
之前我曾经安装显卡驱动失败,后来卸载之后终于重新进入X窗口,在第二次登陆时就出现了这种情况。上面显示的关于NVIDIA的那行文字,在我卸载NVIDIA的驱动后,换成了其他的,懒,没有再抄一遍。
希望有人能解决我的问题。
重装系统是小事,问题是要清楚到底是什么原因。
回复 支持 反对

使用道具 举报

发表于 2006-11-30 19:57:04 | 显示全部楼层
so in the nvidia install guide they told me to do use the following commands for 2 files because it had something to do with SELinux which I didn't really understand.

chcon -t texrel_shlib_t /usr/lib/xorg/modules/drivers/nvidia_drv.so

and
chcon -t texrel_shlib_t /usr/lib/xorg/modules/extensions/libglx.so.1.0.8762

so I used the same command (not that I have any idea what it means) to these files too and Wammo it worked

I did:
chcon -t texrel_shlib_t /usr/lib/libGLcore.so.1

ran metacity and got the same error but with a DIFFERENT file:

so I did:
chcon -t texrel_shlib_t to that file and ran metacity again. I think it demanded one more file after that too.

finally I typed metacity again and BANG! I got the title bars back! So I guess it has something to do with SELinux and permissions. I'm still trying to figure out the basic file permissions using CHMOD. Maybe I should have left SELinux alone until I understand Fedora better. Again, I don't really understand but the "chcon -t texrel_shlib_t" seems to have fixed the problem.
转自:
http://www.linuxquestions.org/questions/showthread.php?t=459024

如果有人能翻译,我们可能就有救 了,哈哈
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表