登录窗口与桌面的分辩率内外不一;切换黑屏;桌面效果打不开。[全部解决!]

编译打包和其他
回复
头像
daf3707
论坛版主
帖子: 12731
注册时间: 2007-06-13 15:57
来自: 在他乡

登录窗口与桌面的分辩率内外不一;切换黑屏;桌面效果打不开。[全部解决!]

#1

帖子 daf3707 » 2007-09-10 13:04

在登录窗口时分辨率为1280*?,进入桌面后我设为了1024*768*85HZ,可是每次启动登录窗口的分辩率还是1280*?,进入桌面就是1024*768*85HZ,登录窗口的分辨率不知道怎么改过来,我的系统是7.10T5每日更新。 /etc/X11/xorg.conf里也没有分辩率的选项了。

代码: 全选

Section "Files"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection

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

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"eraser"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"cursor"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"通用显示卡"
	Driver		"vesa"
	BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"通用显示器"
	Option		"DPMS"
	HorizSync	30-70
	VertRefresh	50-100
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"通用显示卡"
	Monitor		"通用显示器"
	DefaultDepth	24
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus"	"SendCoreEvents"
	InputDevice     "cursor"	"SendCoreEvents"
	InputDevice     "eraser"	"SendCoreEvents"
EndSection
上次由 daf3707 在 2007-09-10 15:58,总共编辑 1 次。
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

#2

帖子 leeaman » 2007-09-10 13:39

代码: 全选

sudo dpkg-reconfigure xserver-xorg
看看,把高过1024*768的去掉看看,我的screen section
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV34 [GeForce FX 5200]"
Monitor "PH107E/V/S/G"
Defaultdepth 24
SubSection "Display"
Modes "1024x768" "800x600" "640x480"
EndSubSection

EndSection
红字部分你的没有
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
daf3707
论坛版主
帖子: 12731
注册时间: 2007-06-13 15:57
来自: 在他乡

#3

帖子 daf3707 » 2007-09-10 15:56

解决了,ls的红色部分在7.04里时是有的,只是新装的7.10T5里面没有发现,觉得不可能是这儿的问题,现在我改了显卡类型,系统-系统管理-screens and Graphics里面改的显卡。 /etc/X11/xorg.conf的内容就变了。现在正常了,切换也不黑了,桌面效果也打开了。

代码: 全选

Section "Device"
	Identifier	"通用显示卡"
	Boardname	"Intel 810"
	Busid		"PCI:0:2:0"
	Driver		"i810"
	Screen	0
	Vendorname	"Intel"
	Option		"XaaNoPixmapCache"
EndSection

Section "Monitor"
	Identifier	"通用显示器"
	Vendorname	"Generic CRT Display"
	Modelname	"Monitor 1280x1024"
	Horizsync	31.5-79.0
	Vertrefresh	50-90
  modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  modeline  "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
  modeline  "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
  modeline  "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync
  modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline  "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
  modeline  "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
  modeline  "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
  modeline  "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
  modeline  "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
  modeline  "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
  modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
  modeline  "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync
  modeline  "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
  modeline  "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
  modeline  "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline  "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
  modeline  "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  modeline  "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
	Gamma	1.0
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"通用显示卡"
	Monitor		"通用显示器"
	Defaultdepth	24
	SubSection "Display"
		Depth	24
		Virtual	1600	1200
		Modes		"1024x768@85"
	EndSubSection
EndSection
头像
daf3707
论坛版主
帖子: 12731
注册时间: 2007-06-13 15:57
来自: 在他乡

#4

帖子 daf3707 » 2007-09-22 23:37

不过这样又有一个问题,就是登录时,登录窗口是1024×768×85的,鼠标左右上下移动,窗口会滑上下左右滑动,说的形象一点,就是把显示器看作是一个相框,把登录界面的那个图看作是相片,这张相片是22寸的,我的相框是17寸的,当然此时分辨率是1024×768×85的,鼠标左右上下移动,相片就会上下左右滑动。解决方案是

代码: 全选

Section "Screen" 
   Identifier   "Default Screen" 
   Device      "通用显示卡" 
   Monitor      "通用显示器" 
   Defaultdepth   24 
   SubSection "Display" 
      Depth   24 
      Virtual   1600   1200 
      Modes      "1024x768@85" 
   EndSubSection 
EndSection 
里面的

代码: 全选

Virtual   1600   1200 
改为你最的桌面分辨率。如

代码: 全选

Virtual   1024   768
gmlbh
帖子: 406
注册时间: 2006-03-21 10:47

#5

帖子 gmlbh » 2007-09-23 10:20

就安装2楼的调整就可以了的。
回复