发新话题
打印

【求助】启动gnome的问题

【求助】启动gnome的问题

为什么我装了xorg和gnome后,输入startx只启动了xorg,就是那个有只三个终端的界面,不是黑白的,鼠标也能用,但除了这什么也没有了。是不是还要在那里设置一下?      

TOP

那是你xorg没有配置好,仍然看你昨天的帖子.
http://www.linuxeden.com/forum/t136818.html      

TOP

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "auto"
        Option            "Device" "/dev/sysmouse"
EndSection

Section "Monitor"
        #DisplaySize          310   230        # mm
        Identifier   "Monitor0"
        VendorName   "SAM"
        ModelName    "SyncMaster"
### Uncomment if you don't want to default to DDC:
#        HorizSync    30.0 - 71.0
#        VertRefresh  50.0 - 160.0
        Option            "DPMS"
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     "NoAccel"                    # [<bool>]
        #Option     "SWcursor"                   # [<bool>]
        #Option     "ColorKey"                   # <i>
        #Option     "CacheLines"                 # <i>
        #Option     "Dac6Bit"                    # [<bool>]
        #Option     "DRI"                        # [<bool>]
        #Option     "NoDDC"                      # [<bool>]
        #Option     "ShowCache"                  # [<bool>]
        #Option     "XvMCSurfaces"               # <i>
        #Option     "ageFlip"                   # [<bool>]
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corp."
        BoardName   "82845G/GL [Brookdale-G] Chipset Integrated Graphics Device"
        BusID       "CI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        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"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection




这是我的xorg.conf.new文件,哪没配置好呢?      

TOP

原来要echo "exec gnome-session" > ~/.xinitrc
谢谢      

TOP

因为你没有设置gnome为默认启动界面
在自家目录输入
echo "exec gnome-session">~/.xinitrc
即可以把exec gnome-session 输入到 自家目录里的 .xinitrc 文件里
要不你直接输入gnome-session吧
      

TOP

发新话题