|
|
gentoo2007
执行了 emerge gnome-light
emerge gamin
emerge xdm
echo "exec gnome-session">~/.xinitrc
修改 /etc/rc.conf
DISPLAYMANAGER="gdm"
xsession="Gnome"
我的显卡是ati的,驱动也装了,用livecd启动到桌面没问题,可是用startx 进入gnome桌面分辨率是1400*1050,我想把它改成1024*768,但是应用后,显示分辨率正常了,但是桌面就死了,鼠标键盘都动不了,按ctrl+alt+数字键也退不到任何tty了,只好按ctrl+alt+del重启,请问可能有什么原因造成呢?谢谢!
下面是我的/etc/X11/xorg.conf文件
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "dri"
Load "glx"
Load "xtrap"
Load "record"
Load "dbe"
Load "extmod"
Load "GLcore"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option " rotocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 75.0
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card0"
Driver "vesa"
VendorName "ATI Technologies Inc"
BoardName "ATI Radeon Xpress 1200 Series"
BusID " CI:1:5:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Depth 16
Modes "1024*768" "800*600" "640*480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024*768" "800*600" "640*480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection |
|