LinuxSir.cn,穿越时空的Linuxsir!

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

为什么删除xorg.conf也能进图形界面?

[复制链接]
发表于 2008-3-22 22:15:29 | 显示全部楼层
xorg 7.3 以后不需要 xorg.conf 了,会使用默认设置。
回复 支持 反对

使用道具 举报

发表于 2008-3-22 22:16:08 | 显示全部楼层
7.3开始xorg.conf并不是必须的了,就算删除了一样可以启动xserver,系统会自动检测。只有特殊情况下才需要手动配置xorg.conf,比如手动安装显卡驱动。
回复 支持 反对

使用道具 举报

发表于 2008-3-23 00:17:35 | 显示全部楼层
原来是xorg变聪明了。

哈哈,这样以来新手是不是可以很容易的进入X了。
回复 支持 反对

使用道具 举报

发表于 2008-5-7 10:31:59 | 显示全部楼层
前几天xorg进了lenny源,查了一学changelog,发现变化还是挺大的。

xorg  (1:7.3+10) unstable; urgency=low

   * Just write a default video card identifier
   * Only run driver autodetection on sparc hardware
     All other archictectures should be better supported by having the server
     do it at startup.
     Closes: #442892, #448845, #410889, #443397, #242952, #271599
     + Remove discover and discover1 from the xserver-xorg recommends
     + Remove autodetect_video_card and multiple_possible_x-driver templates
   * Don't ask the bus ID question to anyone who it's not necessary for
     Hardcoding the bus ID is bad. The server already uses the same algorithm
     and more to figure out which PCI ID's have video cards, so don't replicate
     it. Currently we only ask people who have ppc, SGI indigos, and multiple
     heads on sparc.
   * Don't write the DPMS option to the monitor section of xorg.conf.
     The xserver already defaults to enabling DPMS

-- David Nusinow <dnusinow@debian.org>  Sun, 06 Jan 2008 15:17:14 -0500
2007
xorg (1:7.3+9) unstable; urgency=low

   [ Julien Cristau ]
   * Deregister old debconf questions before calling dexconf.  dexconf calls
     db_stop, and we can't use debconf after that.  Add a comment to that
     effect above the dexconf call in debian/xserver-xorg.postinst.in, to try
     to prevent future mistakes.  Thanks, Michael Vogt!

   [ Timo Aaltonen ]
   * dexconf: Remove reference to xserver-xorg/config/display/modes,
     which is no longer used.

   [ Brice Goglin ]
   * Fix "no video driver modules found" message, thanks Robert Millan,
     closes: #453930.
   * Fix dexconf to write in /etc/X11/xorg.conf by default again,
     closes: #456925.

   [ David Nusinow ]
   * Don't force fbdev on mac mini ppc any more. The ati driver no longer uses
     fbdev, and it has been reported to work on mac minis without it.
   * Add support for $HOME/.xsessionrc. Closes: #411639
     This file, if present, will get sourced during the start of your X
     session. This allows you to set session-wide environment variables easily
     for things like locale information. Patch adapted from one by Yves-Alexis
     Perez. Thanks also to Holger Levsen and Osamu Aoki for advice.
     + Adds 40x11-common_xsessionrc to /etc/X11/Xsession.d
     + Document this in Xsession.5 manpage
     + Add a NEWS.Debian entry about it
     + Modifies /etc/X11/Xsession to declare the location of ~/.xsessionrc.
       Custom versions of Xsession (like gdm's) will need an update
   * Use run-parts --list instead of a custom run_parts function.
     Thanks Vagrant Cascadi for the patch. Closes: #458345, #457606

-- David Nusinow <dnusinow@debian.org>  Sun, 30 Dec 2007 23:01:52 -0500
xorg (1:7.3+8) unstable; urgency=low

   [ Julien Cristau ]
   * Make xorg Architecture: any.  Depend on sparc-utils [sparc] instead of
     sparc-utils | not+sparc.
   * dexconf: Use xorg.conf/xserver-xorg instead of $REALCONFIG/$XSERVERPKG.
     Thanks, Timo Aaltonen!

   [ Tormod Volden ]
   * xserver-xorg.postinst.in: Narrow down the drivers to filter from the list,
     because otherwise radeonhd would not be selectable.
     (Closes: #446441, LP: #174311)

   [ David Nusinow ]
   * Don't write the default depth to xorg.conf any more.
     The drivers should choose the appropriate depth by default now.
   * Don't bother with resolutions in xorg.conf
     We now rely on the server and drivers to do the right thing. Previously,
     our best-case scenario was to have the xserver-xorg postinstall script ask
     the monitor what the optimal values were, and if that wasn't possible to
     give the user a default list of resolutions and a best-guess hsync and
     vrefresh values that the user could override. The server and almost all
     drivers will do this on boot anyway using properly maintained code, which
     allows them to better adapt to changes. randr 1.2-compliant drivers will
     do this even better than we possibly could. Finally, the server will
     provide a better list of defaults than we were doing anyway. There will
     undoubtedly be bugs uncovered by this change, but we need  to find and fix
     the actual bugs in the drivers and server in order to move forward.
     + Don't recommend xresprobe any more
     + Don't recommend laptop-detect any more or look for it in server postinst
   * Don't set fbdev in the postinst for r128 on ppc.
     The driver will do this automatically if no option is specified by the user
   * Allow cross-building. Thanks Neil Williams. Closes: #451293
   * Bump standards version to 3.7.3.0. No changes needed.

-- David Nusinow <dnusinow@debian.org>  Sun, 16 Dec 2007 10:35:08 -0500
xorg (1:7.3+7) unstable; urgency=low

   * Don't set driver-specific depths in xserver postinst
     + For newport, vga, savage, suncg6, and tdfx. These should all be handled
       in the drivers themselves
   * Get rid of old server symlink stuff that was left behind
     + Make sure we replace symlinks pointing to /bin/true in the postinst.
       This situation was created if you had installed the previous package
       from scratch. Closes: #452897

-- David Nusinow <dnusinow@debian.org>  Mon, 26 Nov 2007 23:07:19 -0500
xorg (1:7.3+6) unstable; urgency=low

   * Only cleaning out old junk on upgrade and after version compare
     This currently includes deregistering old debconf questions and removing
     server symlink cruft. Closes: #451426, #451425, #451439

-- David Nusinow <dnusinow@debian.org>  Thu, 15 Nov 2007 20:38:44 -0500
xorg (1:7.3+5) unstable; urgency=low

   [ David Nusinow ]
   * Change xlibs-static-dev transitional package from the libs to oldlibs
     section
   * Don't have dexconf write "CoreKeyboard" any more. With input-hotplug this
     is meaningless
   * Unregister various old questions from the debconf database because we
     don't use them any more.

   [ Brice Goglin ]
   * Replace xorg dependency on xbase-clients and xutils with the corresponding
     new x11-*utils packages (without xutils-dev), closes: #445471.
   * Replace xserver-xorg dependency on xbase-clients with x11-xkb-utils
     (for xkbcomp).

   [ Julien Cristau ]
   * Reupload, because 1:7.3+4 seems to have been lost in the ftp-master crash.
   * Drop code related to shared/default-x-server from xserver-xorg.prerm.

-- David Nusinow <dnusinow@debian.org>  Wed, 14 Nov 2007 21:29:31 -0500
xorg (1:7.3+4) unstable; urgency=low

   * Don't try and reset monitor identifier question, it doesn't exist now
   * Don't bother at all with default-x-server question.
     Closes: #448863, #374578
     + Remove it from the xserver-xorg postinst. Now instead of a complicated
       md5sum, only create the symlink if nothing exists there.
     + Make sure we delete the old md5sum and xserver roster files for this
       stuff. We don't need it now.

-- David Nusinow <dnusinow@debian.org>  Sun, 04 Nov 2007 11:41:04 -0500
xorg (1:7.3+3) unstable; urgency=low

   [ David Nusinow ]
   * dexconf: Don't write the server layout. The server no longer requires one
     by default as of 1.4.
   * Don't ask or write about video ram. This is a useless "feature"
   * dexconf: Set SERVER to xorg
   * Don't ask for the monitor identifier, just use a generic name
   * Delete the obsolete template question for autodetect mouse
   * Don't ask for the mouse port or protocol any more
     + Will be set to /dev/input/mice by default.
     + Add udev to xserver-xorg recommends to make sure this device file is
       present on normal systems
     + Will be set to "auto" protocol by default. This will let the driver
       choose the correct protocol automatically. The kernel driver multiplexes
       different protocols through the same /dev/input/mice device file,
       allowing this. Only in pathological cases will you need to work around
       it.
   * Don't specify the device section to use in the screen section
     + xserver-xorg-core 2:1.4-3 and above will use the first device section
       listed when none is specified. We only write one device with this script
       anyway.
     + Have xserver-xorg depend on -core >= 2:1.4-3
   * Delete unused templates for no_known_ and multible_possible_ x-servers
   * Delete hidden fontserver template and dexconf ability to use it
     + This wasn't configurable and most people should be fine without listing
       a font server in xorg.conf
   * Don't ask about writing the files section any more. Delete the question

   [ Christian Perrier ]
   * Hebrew. Closes: #447308

   [ Timo Aaltonen ]
   * xserver-xorg.postinst.in:
     - Add lt to the list of non-Latin keymaps.
     - Clean up duplicate keymaps in xserver-xorg.config.in and make sure
       they're all neatly alphabetised.
     - Map cf console keymap to ca(fr)
     - Map croat console keymap to hr.
     - Map et console keymap to ee.
     - Set default keyboard variant for French to oss.
     - Map mk console keymap to mk.
     - Map nl console keymap to nl.
     - Map ru console keymap to ru.
     - Map slovene console keymap to si.
     - Map sr-cy console keymap to map to cs, not sr, following xkeyboard-config
       changes.
     - Handle trfu/trqu console keymaps the same way as trf/trq.
     - Map uk console keymap to gb, not gb(intl).
     - Fix sanity-checking logic for French Canadian vs. US-layout keyboards.
     - Try autodetecting South Korean keyboards. They have to be detected
       from LANG since they use US keymaps on the console.
     - Sparc doesn't need sun types keyboard since 2.6 kernel come to play
       in the game. Make it use pc105 instead with xorg rules.
     - Use fbset for HPPA.
     - Detect keyboard layout configuration using /etc/default/console-setup
       if available.
   * dexconf: Fix problem preventing touchpad scrolling from being able to be
     enabled by switching HorizEdgeDelta for HorizEdgeScroll.

   [ Julien Cristau ]
   * dexconf: don't use the shared/default-x-server template (closes: #443004).
   * debian/control: xserver-xorg depends on x11-common >= 1:7.3+3 for the
     above change.
   * debian/xserver-xorg.templates: drop the default-x-server question.
   * dexconf: don't generate two mouse sections.  Touchpads will be handled
     through input-hotplug.

-- David Nusinow <dnusinow@debian.org>  Wed, 31 Oct 2007 22:39:46 -0400
xorg (1:7.3+2) unstable; urgency=low

   * Upload to unstable

-- David Nusinow <dnusinow@debian.org>  Sun, 16 Sep 2007 16:23:45 -0400
xorg (1:7.3+1) experimental; urgency=low

   [ Brice Goglin ]
   * Use laptop-detect in our postinst code instead of requiring xsfbs
     to call it in all maintainer scripts of many packages.

   [ Julien Cristau ]
   * Bump video and input ABIs to 2 for xserver 1.4.

-- Julien Cristau <jcristau@debian.org>  Mon, 10 Sep 2007 16:45:38 +0200
xorg (1:7.3~rc1) experimental; urgency=low

   * Bump driver ABI for xserver 1.3.99.0.
   * xserver-xorg doesn't recommend the drivers anymore, the Depends should be
     enough.

-- Julien Cristau <jcristau@debian.org>  Sat, 18 Aug 2007 20:08:31 +0200
回复 支持 反对

使用道具 举报

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

本版积分规则

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