[问题]xwindow无法启动

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

[问题]xwindow无法启动

#1

帖子 gamespy » 2008-07-23 19:02

最后一行错误:
/usr/share/fonts/X11/misc 是2,shoud be 1

怎么办?
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

#2

帖子 HuntXu » 2008-07-23 19:06

删掉一个?
xorg.conf内容还有错误内容都贴一下吧...
HUNT Unfortunately No Talent...
头像
gamespy
帖子: 126
注册时间: 2007-02-22 18:20

#3

帖子 gamespy » 2008-07-23 19:10

怎么显示~~不能用gedit
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

#4

帖子 leeaman » 2008-07-23 19:12

说点来龙去脉啊,什么会这个样子呢?是搞了什么还是安装就不行?
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
gamespy
帖子: 126
注册时间: 2007-02-22 18:20

#5

帖子 gamespy » 2008-07-23 19:14

前一次安装了很多东西,能想起来的有glib,一个播放器
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

#6

帖子 leeaman » 2008-07-23 19:18

重新配置一下x吧
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
gamespy
帖子: 126
注册时间: 2007-02-22 18:20

#7

帖子 gamespy » 2008-07-23 19:20

怎么配置呢?
头像
bocelli99
帖子: 525
注册时间: 2007-07-10 12:16

#8

帖子 bocelli99 » 2008-07-23 19:24

代码: 全选

sudo dpkg-reconfigure xserver-xorg
像一条秋天的道路:还未来得及扫干净,它又为干枯的树叶所覆盖。

The Kafka Project http://www.kafka.org
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

#9

帖子 leeaman » 2008-07-23 19:26

试试这个吧

代码: 全选

sudo dpkg-reconfigure -phigh xserver-xorg 
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
gamespy
帖子: 126
注册时间: 2007-02-22 18:20

#10

帖子 gamespy » 2008-07-23 19:33

要连接网络吗?
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

#11

帖子 leeaman » 2008-07-23 19:34

不用~~~
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
gamespy
帖子: 126
注册时间: 2007-02-22 18:20

#12

帖子 gamespy » 2008-07-24 10:16

两条命令都试过了,不行,出现一下错误代码:

代码: 全选

xserver-xorg postinst warning: overwriting possibly-customised configuration file; backup in /etc/X11/xorg.conf.20080724100627
头像
gamespy
帖子: 126
注册时间: 2007-02-22 18:20

#13

帖子 gamespy » 2008-07-24 11:16

提到那个文件

代码: 全选

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, 

using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades 

*only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically 

updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"cn"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection
Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"

EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
EndSection
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#14

帖子 eexpress » 2008-07-24 11:35

# If you have edited this file but would like it to be automatically

updated
贴的格式问题?
xorg.conf里面还是应该有字体路径的。这字体路径,和distro关系大,应该还没到全自动管理的阶段吧。
Section "Files"

# FontPath "/usr/share/X11/fonts/misc"
# FontPath "/usr/share/X11/fonts/cyrillic"
# FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
# FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
# FontPath "/usr/share/X11/fonts/Type1"
# FontPath "/usr/share/X11/fonts/100dpi"
# FontPath "/usr/share/X11/fonts/75dpi"
# FontPath "/usr/share/fonts/X11/misc"
# path to defoma fonts
# FontPath "/usr/share/eexp-fonts/YuanTi"
Fontpath "/usr/share/fonts"
Fontpath "/home/exp/.fonts"
# Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
另外,你应该看这个的结果。
☎ cat /var/log/Xorg.0.log|grep EE
● 鸣学
头像
gamespy
帖子: 126
注册时间: 2007-02-22 18:20

#15

帖子 gamespy » 2008-07-24 11:45

原文就是这样的
回复