LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: johe

安装gnome出错,在线等

[复制链接]
 楼主| 发表于 2009-11-14 11:29:14 | 显示全部楼层
亞利艾爾,昨晚搞到4点多,终于安装成功GNOME,可是一进入GUI鼠标与键盘就被锁着了,按任何一个键都没有反映,怎么搞呢。一星期都没好好工作了,下星期要开始工作了,盼高手们指教,谢谢。

系统环境:TP X200 + Gentoo AMD64 2.6.30
xorg.conf
Section "Files"
        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    "dri2"
EndSection

Section "InputDevice"
        Identifier                "Keyboard"
        Driver                        "kbd"
        Option                        "XkbRules"                                "xorg"
        Option                        "XkbModel"                                "pc105"
        Option                        "XkbLayout"                                "us,ru"
        Option                        "XkbVariant"                        ",winkeys"
        Option                        "XkbOptions"                        "grp:caps_toggle,grp_led:caps"
EndSection

Section "InputDevice"
        Identifier                "TrackPoint"
        Driver                        "mouse"
        Option                        "rotocol"                                "auto"
        Option                        "Device"                                "/dev/input/mice"
        Option                        "EmulateWheel"                        "on"
        Option                        "EmulateWheelButton"        "2"
        Option                        "XAxisMapping"                        "6 7"
        Option                        "YAxisMapping"                        "4 5"
EndSection

Section "Monitor"
        Identifier                "Internal LCD"
        DisplaySize                338.7 211.7                                # 1280x800 @ 96 DPI
        Option                        "DPMS"
EndSection

Section "Monitor"
        Identifier                "External LCD"
        Option                        "Disable"                                "True"
        Option                        "DPMS"
EndSection

Section "Device"
        Identifier                "VideoCard"
        Driver                        "intel"
        VendorName                "Intel Corporation"
        BoardName                "4500MHD"
        Option                        "monitor-VGA"                        "External LCD"
        Option                        "monitor-LVDS"                        "Internal LCD"
        Option                        "AccelMethod"                        "UXA"   # "UXA" | "EXA" | "XAA"
        Option                        "DRI"                                        "true"
        Option                        "DRI2"                                        "true"
EndSection

Section "Screen"
        Identifier                "Screen0"
        Device                        "VideoCard"
        Monitor                        "Internal LCD"
        Defaultdepth        24
        SubSection "Display"
                Modes                        "1280x800"
                Virtual                        3200 1200
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier                "XServerLayout"
        Screen 0                "Screen0"                                0 0
        InputDevice                "TrackPoint"                        "CorePointer"
        InputDevice                "Keyboard"                                "CoreKeyboard"
        Option                        "BlankTime"                                "0"
        Option                        "StandbyTime"                        "0"
        Option                        "SuspendTime"                        "0"
        Option                        "OffTime"                                "10"
EndSection

Section "DRI"
        Mode                         0666
EndSection

make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="$CFLAGS"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
MAKEOPTS="-j3"
USE="-* X a52 aac acl acpi alsa bash-completion bzip2 cairo cracklib cups curl
dri dri2 dvd encode expat fontconfig ftp gdbm gif gnutls gps gtk iconv joystick
jpeg mad mikmod mmx mp3 nls nptl ogg openal opengl oss pam pcre png quicktime
readline sdl smp sndfile spell sse sse2 ssl ssse3 startup-notification svg tcpd
theora truetype unicode v4l2 vim-syntax vorbis x264 xml xulrunner xv xvid zlib
python threads  -qt3 -qt4 -arts -kde X dbus gtk gnome hal avahi"
ALSA_PCM_PLUGINS="*"
VIDEO_CARDS="intel vesa"
INPUT_DEVICES="keyboard mouse joystick"
LINGUAS="ru en"
PORTDIR_OVERLAY="/usr/local/portage"
source /usr/portage/local/layman/make.conf
回复 支持 反对

使用道具 举报

发表于 2009-11-14 11:58:23 | 显示全部楼层
你得先启动 hal 啊,把hald 加入 default 运行级别吧!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-14 12:22:50 | 显示全部楼层
# /etc/init.d/hald start
# rc-update add hald default

# /etc/init.d/dbus start
# rc-update add dbus default

# /etc/init.d/avahi-dnsconfd start
# rc-update add avahi-dnsconfd default

这些都做了呀
回复 支持 反对

使用道具 举报

发表于 2009-11-14 12:46:04 | 显示全部楼层
在/etc/make.conf内加入
INPUT_DEVICES="evdev keyboard mouse"

再emerge "qlist -I x11-drivers/" 的内容
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-14 14:36:13 | 显示全部楼层
不行呢,相关的USE是什么
回复 支持 反对

使用道具 举报

发表于 2009-11-14 17:45:27 | 显示全部楼层
emerge xf86-input-keyboard xf86-input-mouse xf86-input-evdev
回复 支持 反对

使用道具 举报

发表于 2009-11-14 17:47:56 | 显示全部楼层
你有没有把你自己的用户加入hal这个组?
evdev这些都emerge了没?
确定是在hal组里面 xorg.conf 就不要了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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