LinuxSir.cn,穿越时空的Linuxsir!

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

startx在没有网络的情况下启动慢

[复制链接]
发表于 2011-4-19 20:42:10 | 显示全部楼层 |阅读模式
升级了xorg-server,还有awesome, 不知道是哪个出了问题,只要没有连接上网络(或者连上再拔掉),startx都会等待一分钟左右才会进去。等待的过程中再插上网线马上就会停止等待,很快进入。由此断定这等待是对网络的检查。开机倒是不会因网络等待。

大家有遇到么?怎么解决?

x11-base/xorg-server
     Available versions:  1.9.4 (~)1.9.5 (~)1.10.0.902 {dmx doc ipv6 kdrive minimal nptl static-libs tslib +udev xorg}
     Installed versions:  1.10.0.902(02:13:11 AM 04/16/2011)(ipv6 nptl udev xorg -dmx -doc -kdrive -minimal -static-libs -tslib)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org X servers
--------------------------------------
x11-wm/awesome
     Available versions:  (~)2.3.6 3.4.4 3.4.8 (~)3.4.9 {bash-completion dbus doc elibc_FreeBSD gtk}
     Installed versions:  3.4.9(05:00:22 AM 04/16/2011)(dbus -doc -elibc_FreeBSD)
     Homepage:            http://awesome.naquadah.org/
     Description:         A dynamic floating and tiling window manager
--------------------------------------
sys-apps/baselayout
     Available versions:  1.12.14-r1 (~)2.0.1-r1 (~)2.0.2 {bootstrap build static unicode}
     Installed versions:  2.0.2(09:39:35 PM 04/15/2011)(-build)
     Homepage:            http://www.gentoo.org/
     Description:         Filesystem baselayout and init scripts
--------------------------------------
sys-apps/openrc
     Available versions:  (~)0.6.8 (~)0.7.0 (~)0.8.1 **9999 {debug elibc_glibc kernel_FreeBSD kernel_linux ncurses pam selinux unicode}
     Installed versions:  0.8.1(09:40:05 PM 04/15/2011)(elibc_glibc kernel_linux ncurses pam unicode -debug -kernel_FreeBSD -selinux)
     Homepage:            http://www.gentoo.org/proj/en/base/openrc/
     Description:         OpenRC manages the services, startup and shutdown of a host
--------------------------------------

如有线索,可以提供更多的信息。
 楼主| 发表于 2011-4-19 20:46:24 | 显示全部楼层
$ emerge --info
Portage 2.1.9.46 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.38-gentoo i686)
=================================================================
System uname: Linux-2.6.38-gentoo-i686-Intel-R-_Celeron-R-_M_CPU_440_@_1.86GHz-with-gentoo-2.0.2
Timestamp of tree: Fri, 15 Apr 2011 11:45:01 +0000
app-shells/bash:     4.2_p8
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.10.2, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/lcd-filtering /var/lib/layman/local"
SYNC="rsync://mirrors.163.com/gentoo-portage"
USE="X acl acpi berkdb bzip2 cairo cjk cli cracklib crypt cups cxx dbus dri fontconfig fortran gdbm gpm iconv ipv6 jpeg ldap modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python readline ruby session sqlite ssl svg sysfs tcpd threads truetype unicode vim-syntax x86 xcb xft xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
回复 支持 反对

使用道具 举报

发表于 2011-4-20 11:31:11 | 显示全部楼层
我以前似乎在哪 里看过是主机名的问题,去host里设置一下主机名!
回复 支持 反对

使用道具 举报

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

本版积分规则

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