LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1173|回复: 12

Mandrake9.0rc3求救

[复制链接]
发表于 2002-9-25 22:06:20 | 显示全部楼层 |阅读模式
startx后,启动kde失败,说$DISPLAY is not set.

请各位帮忙,另外,我想装图形界面的lilo,撤掉grub
应该怎么设置,grub太丑了
发表于 2002-9-25 22:46:33 | 显示全部楼层
最好不要自找麻烦,我们能为了好看而把GRUB换成lilo吗???
可能没有安装完整吧,看一下/etc/X11/XF86Config-4文件有没有??
 楼主| 发表于 2002-9-25 23:06:30 | 显示全部楼层

有,这是内容

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "rotocol" "IMPS/2"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "lug'n Play"
    ModelName "MAG XJ500T"
    HorizSync 30-70
    VertRefresh 50-120
   
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Matrox"
    BoardName "Matrox Millennium G400"
    Driver "mga"
    #VideoRam 16384在这行前面加个#号
    #Option "DPMS"在这行前面加个#号

    #Option "AGPMode" "true"在这行前面加个#号

EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
   
    Subsection "Display"
        Depth 8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
        Depth 24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection

北南 加注
发表于 2002-9-25 23:14:48 | 显示全部楼层

DISPLAY没有设置.

你可以这样#export DISPLAY=:0.0
#startx
试试吧.
 楼主| 发表于 2002-9-25 23:35:46 | 显示全部楼层
还是不可以
发表于 2002-9-25 23:42:35 | 显示全部楼层

不可以那有什么提示?

总有个说法吧.
发表于 2002-9-25 23:49:06 | 显示全部楼层
请jieer兄弟,把错误信息发上来。多谢。请看你发上来的XF86Config-4文件,我用红字改了一下,试试看。
 楼主| 发表于 2002-9-26 08:29:09 | 显示全部楼层
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) MGA(0): [drm] removed 1 reserved context for kernel
(II) MGA(0): [drm] unmapping 8192 bytes of SAREA 0xd0940000 at 0x40016000
发表于 2002-9-26 08:45:58 | 显示全部楼层

Matrox的显卡我没用过。

不过,从我的感觉上来讲,好像是你的显卡驱动没有安装正确。你先看看HAL的硬件检测模块是否能检测出的的MGA卡。将南北兄给你改的部分的#号去掉,再试试。
发表于 2002-9-26 08:51:16 | 显示全部楼层
#Option "AGPMode" "true"
对,把这句前面的#号对掉试一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表