使用其他桌面的分辨率和黑屏问题

CPU/显卡/打印机/USB设备等硬件问题
回复
头像
smallwolf
帖子: 195
注册时间: 2005-09-14 21:39

使用其他桌面的分辨率和黑屏问题

#1

帖子 smallwolf » 2005-09-26 11:20

fvwm,icewm,xfce4都用了,分辨率都是1024x768,不知道哪里可以改成800x600,xorg.conf里,我把1024的部分都去掉了,还是不行。

还有使用这几个管理器时,进入后都出现黑屏现象,过了一会,恢复过来,一会又黑了。

我的xorg.conf

代码: 全选


Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
#	FontPath	"/home/guest/.fonts/"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
#	Load	"bitmap"
	Load	"dbe"
#	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
#	Load	"glx"
#	Load	"int10"
#	Load	"record"
	Load	"type1"
#	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Intel Corporation 82810 CGC [Chipset Graphics Controller]"
	Driver		"i810"
	BusID		"PCI:0:1:0"
EndSection

Section "Monitor"
	Identifier	"LXH-P556"
	Option		"DPMS"
	HorizSync	30-54
	VertRefresh	50-120
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation 82810 CGC [Chipset Graphics Controller]"
	Monitor		"LXH-P556"
	DefaultDepth	24
	Modes		"800x600"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
谢谢!
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#2

帖子 yongyi » 2005-09-26 17:57

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection

这部分没有的吗?
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
头像
smallwolf
帖子: 195
注册时间: 2005-09-14 21:39

#3

帖子 smallwolf » 2005-09-26 19:57

o

那部分被我删掉了 因为之前黑屏加上1024解决不了,我就把那个删掉看能不能解决,结果问题依旧。

没删除之前也是一样的问题。
头像
smallwolf
帖子: 195
注册时间: 2005-09-14 21:39

#4

帖子 smallwolf » 2005-09-27 10:37

我最新改的部分:

代码: 全选

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Intel Corporation 82810 CGC [Chipset Graphics Controller]"
	Driver		"i810"
	BusID		"PCI:0:1:0"
EndSection

Section "Monitor"
	Identifier	"LXH-P556"
	# 800x600 @ 85.00 Hz (GTF) hsync: 53.55 kHz; pclk: 56.55 MHz
	Modeline "800x600_85.00"  56.55  800 840 928 1056  600 601 604 630  -HSync +Vsync
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation 82810 CGC [Chipset Graphics Controller]"
	Monitor		"LXH-P556"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
这样还是无法解决问题。

现在看来分辨率已经不重要了,不断的黑屏是我无法使用其他桌面的根本啊,一直也无法发现问题所在。

难道其他桌面不调用xorg.conf这个文件吗?

我比较了gnome和其他桌面,重要的不同基本都在~里,可也找不出什么不同能让屏幕出现黑屏啊 :(

我在找找看,大家也帮帮我啊!

谢谢!
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#5

帖子 yongyi » 2005-09-27 12:13

代码: 全选

   SubSection "Display"
      Depth      24
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
EndSection 
删除"1024x768",改为:

代码: 全选


Section "Files"
   FontPath   "unix/:7100"         # local font server
   # if the local font server has problems, we can fall back on these
   FontPath   "/usr/lib/X11/fonts/misc"
   FontPath   "/usr/lib/X11/fonts/cyrillic"
   FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/lib/X11/fonts/Type1"
   FontPath   "/usr/lib/X11/fonts/CID"
   FontPath   "/usr/lib/X11/fonts/100dpi"
   FontPath   "/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
   Load   "bitmap"
   Load   "dbe"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "record"
   Load   "type1"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "keyboard"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc104"
   Option      "XkbLayout"   "us"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ImPS/2"
   Option      "Emulate3Buttons"   "true"
   Option      "ZAxisMapping"      "4 5"
EndSection

Section "Device"
   Identifier   "Intel Corporation 82810 CGC [Chipset Graphics Controller]"
   Driver      "i810"
   BusID      "PCI:0:1:0"
EndSection

Section "Monitor"
   Identifier   "LXH-P556"
   # 800x600 @ 85.00 Hz (GTF) hsync: 53.55 kHz; pclk: 56.55 MHz
   Modeline "800x600_85.00"  56.55  800 840 928 1056  600 601 604 630  -HSync +Vsync
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Intel Corporation 82810 CGC [Chipset Graphics Controller]"
   Monitor      "LXH-P556"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "800x600" "720x400" "640x480" "640x350"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
EndSection

Section "DRI"
   Mode   0666
EndSection 
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
头像
smallwolf
帖子: 195
注册时间: 2005-09-14 21:39

#6

帖子 smallwolf » 2005-09-27 13:12

谢谢yongyi

我去试试
头像
smallwolf
帖子: 195
注册时间: 2005-09-14 21:39

#7

帖子 smallwolf » 2005-09-27 13:25

哈哈,真不容易啊

感谢感谢!

终于不黑屏了,终于变成800x600了

这回可以好好弄这个了

:bow
gqcheng
帖子: 10
注册时间: 2005-10-30 22:23

xorg.conf在哪个文件夹下?

#8

帖子 gqcheng » 2005-11-08 21:50

如题,谢谢!
头像
yonsan
帖子: 887
注册时间: 2005-07-01 18:56
来自: 广州市

#9

帖子 yonsan » 2005-11-08 21:54

/etc/X11/xorg.conf
I will be back!
回复