+ -
当前位置:首页 → 问答吧 → startx 后黑屏---新手问题

startx 后黑屏---新手问题

时间:2006-11-05

来源:互联网

显卡:双敏 nVidia GeForce 4 MX 440 (8x 64M)

第一次装Slax,10.0的,装好后试着运行startx


黑屏,,,

,,在论坛里看了一晚上的这方面的教程,仍然不知道怎么下手,,(很无奈)

#1,
运行xf86config,有错误提示,说是没有这个命令...(有个教程里说这个命令可以配置显卡和显示器) --- 不知道应该用什么命令??

#2,
运行xwmconfig,尝试了initrc.kde/gnome/xfce/fvwm2/twm...等桌面管理器,startx后仍然是黑屏...


=== 小菜菜一个,对linux的理解甚少,希望各位有经验的多多指教!!!谢过!!!

作者: Kallawa   发布时间: 2006-11-05

修改/etc/xorg.conf
你用命令行登陆用,vi/vim修改。
具体修改方法网上搜索一下。

作者: dogking   发布时间: 2006-11-05

修改/etc/X11/xorg.conf:
HorizSynx 31.5-57.0
VertRefresh 50-85

startx依然黑屏,,不知道还需要修改些什么么???

作者: Kallawa   发布时间: 2006-11-05

代码:
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
 Identifier "Screen 1"
 Device "VESA Framebuffer"
 Monitor "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
 DefaultDepth 24
# DefaultDepth 32

# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

 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

EndSection
调试一下显示配置。从/etc/X11/xorg.conf 中找到上图中的部分,将DefaultDepth 项先从最低的测试,并且将 “Modes "1024x768" "800x600" "640x480" ” 中1024**768 删了,不行再删800*600。如可启动,可能是dri 引起,要关了dri.

作者: dgkgnrt   发布时间: 2006-11-05

Thanks dogking & dgkgnrt,

after runing the xorgsetup & xorgconfig and dealing with some configurations,I now could use the desktop manager easily..

It's my first time to use Slax ... it's so quick and perfect that i like very much...

thanks again for your help !!!

作者: Kallawa   发布时间: 2006-11-05

U can have a look at the log file in dir /var/log/.
add the following kernel parameters:noapic acpi=off pci=noacpi.

作者: Cherife   发布时间: 2006-11-06