Gentoo Archives: gentoo-user

From: Joshua Murphy <poisonbl@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] X11 start breaks
Date: Tue, 15 Dec 2009 00:11:31
Message-Id: c30988c30912141513r7251faa1h329aed9ea0fc43bf@mail.gmail.com
In Reply to: [gentoo-user] X11 start breaks by GerhardosG
1 On Mon, Dec 14, 2009 at 4:08 PM, GerhardosG <gerhard.goessl@×××××××.org> wrote:
2 > Hi ,
3 >
4 > recompile the evdev driver solved the problem NOT.
5 >
6 >
7 >
8 > In the console, the output looks like this:
9 >
10 >
11 >
12 >
13 > tux / # startx
14 >
15 > xauth:  creating new authority file /root/.serverauth.3072
16 >
17 > X.Org X Server 1.6.5
18 > Release Date: 2009-10-11
19 > X Protocol Version 11, Revision 0
20 > Build Operating System: Linux 2.6.31-gentoo-r6 i686
21 > Current Operating System: Linux tux 2.6.31-gentoo-r6 #2 Mon Dec 14 21:40:46
22 > GMT 2009 i686
23 > Build Date: 12 December 2009  07:57:34PM
24 >
25 >       Before reporting problems, check http://wiki.x.org
26 >       to make sure that you have the latest version.
27 > Markers: (--) probed, (**) from config file, (==) default setting,
28 >       (++) from command line, (!!) notice, (II) informational,
29 >       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
30 > (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 14 22:03:42 2009
31 > (==) Using config file: "/etc/X11/xorg.conf"
32 >
33 > (EE) Failed to load module "type1" (module does not exist, 0)
34 > (EE) Failed to load module "freetype" (module does not exist, 0)
35 > (EE) Failed to load module "dri" (module does not exist, 0)
36 > (EE) Failed to load module "dri2" (module does not exist, 0)
37 > expected keysym, got XF86TouchpadToggle: line 122 of inet
38 > expected keysym, got XF86TouchpadToggle: line 122 of inet
39 > expected keysym, got XF86TouchpadToggle: line 122 of inet
40 > expected keysym, got XF86TouchpadToggle: line 122 of inet
41 > /etc/X11/xinit/xinitrc: line 58: twm: command not found
42 > /etc/X11/xinit/xinitrc: line 59: xclock: command not found
43 > /etc/X11/xinit/xinitrc: line 60: xterm: command not found
44 > /etc/X11/xinit/xinitrc: line 61: xterm: command not found
45 > /etc/X11/xinit/xinitrc: line 62: exec: xterm: not found
46 >
47 > waiting for X server to shut down
48 >
49 > tux / #
50 >
51
52 Aha! The problem's found, now. The full Xorg.0.conf made me suspect
53 it, but that output makes me certain. What window manager or desktop
54 environment do you use? The quick and dirty resolution to your
55 problem, at least for the current user you're logged in as, is simply:
56
57 For Fluxbox (as a simple example that I know works... and only because
58 of the error you received am I assuming this file doesn't already
59 exist):
60 echo exec startfluxbox > ~/.xinitrc
61
62 And... many other redundant examples of the same principle.
63 Alternatively, its looking for twm and friends tells me that it's
64 trying to run the default from /etc/X11/xinit/xinitrc ... which means
65 you don't have a preferred session defined. While it *used* to be
66 defined in /etc/rc.conf is now 'properly' defined in /etc/env.d/, as
67 is discussed in this thread:
68
69 http://www.linux-archive.org/gentoo-user/294751-rc-conf-no-longer-used-gentoo-baselayout-1-12-13-a.html
70
71 That, of course, is why Mick asked about your use of /etc/rc.conf
72 around here somewhere.
73
74 Also, as an aside, to have X still "work" in such an instance (while
75 still not giving you the environment you want), don't build xinit with
76 the minimal use flag. Without that use flag, it depends on xterm, twm,
77 etc... which would then not be missing, and in turn would allow X to
78 start a client rather than closing back to the terminal, where it
79 looks like an X problem rather than a Session problem.
80
81 --
82 Poison [BLX]
83 Joshua M. Murphy