红联Linux门户
Linux帮助

为什么输入startx会进入到TWM

发布时间:2009-06-17 15:40:59来源:红联作者:marki1986
为什么现在输入startx会直接跳到TWM呢? 之前一直都是启动X的. 我用的是虚拟机, 之前是1G的内存, 现在我缩小到512了. 会不会是这个原因?
文章评论

共有 6 条评论

  1. wang7131984 于 2009-06-23 13:01:42发表:

    exec gnome肯定是不行的,到/etc/X11/xinit看,xinitrc和xclient这两个脚本,其中已经写的很清楚该怎么做了

  2. hantu 于 2009-06-18 00:20:30发表:

    gnome: not found

  3. marki1986 于 2009-06-17 17:31:10发表:

    没有改啊, 太奇怪了.

  4. jsowlsc 于 2009-06-17 16:25:28发表:

    你不会改了什么吧

  5. marki1986 于 2009-06-17 16:13:45发表:

    2# rainwaylee
    将该文件修改成了 exec gnome 或 exec gnome-session, 都不行, 提示信息如下, 的确是该文件的问题.

    X Window System Version 7.1.1
    Release Date: 12 May 2006
    X Protocol Version 11, Revision 0, Release 7.1.1
    Build Operating System: Linux 2.6.9-42.ELsmp i686 Red Hat, Inc.
    Current Operating System: Linux localhost.localdomain 2.6.18-8.el5xen #1 SMP Fri Jan 26 14:42:21 EST 2007 i686
    Build Date: 09 January 2007
    Build ID: xorg-x11-server 1.1.1-48.13.el5

    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Module Loader present
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 17 15:28:56 2009
    (==) Using config file: "/etc/X11/xorg.conf"
    (EE) AIGLX: Screen 0 is not DRI capable
    /root/.xinitrc: line 1: exec: gnome: not found

    waiting for X server to shut down ..FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.

  6. rainwaylee 于 2009-06-17 16:04:54发表:

    你看一下~/.xinitrc文件里面的exec命令后面跟的是什么wm,修改成你需要的就行了。