Gentoo Archives: gentoo-user

From: Michael George <george@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 2.6.23 and xorg delayed startup
Date: Sat, 29 Dec 2007 04:38:24
Message-Id: 20071229043219.GA7595@brego.pewamo.office
In Reply to: Re: [gentoo-user] 2.6.23 and xorg delayed startup by Michael George
1 On Fri, Dec 28, 2007 at 01:47:53PM -0500, Michael George wrote:
2 >
3 > Notice there is little difference between them. I think I need to trim
4 > out my .xinitrc file and see if there is something I'm starting from
5 > there that is causing the delay with a different kernel...
6
7 I don't see anything in my .xinitrc file that would be causing the
8 problem. Here are the contents of that file:
9 ----------------------------------------------------------------------------
10 #!/bin/sh
11
12 DISPLAY=${DISPLAY-unix:0}; export DISPLAY
13 RDISPLAY=${RDISPLAY-`hostname`:0}; export RDISPLAY
14
15 # I've tried taking this line out and it doesn't speed anything up...
16 sh /usr/local/src/ltsp-server-pkg-static-0.1/xsession-lbus-start &
17
18 # Change the keys around
19 xmodmap .xmodmap.pass1
20 xmodmap .xmodmap.pass2
21
22 # Load .Xdefaults into the X resource database
23 xrdb -nocpp -display $DISPLAY -load .Xdefaults
24
25 # Start a console window. This line should not be removed.
26 xterm -T Console -n Console -name Console -C -iconic +vb -geometry =80x14-0+0 &
27
28 # Start another xterm
29 xterm -display $DISPLAY -geometry 80x50+0-0 -T Shell -n Shell &
30 sleep 1
31 xterm -display $DISPLAY -geometry 80x50-1280-0 -T Shell -n Shell &
32
33 # Start a terminal for the schedule screen
34 xterm -display $DISPLAY -name SchedTerm -geometry 80x50+0-0 -T "Shell" -n "Shell" &
35 sleep 1
36 xterm -display $DISPLAY -name SchedTerm -geometry 80x50-1280-0 -T "Shell" -n "Shell" &
37
38 xcalendar -name xIdeal -display $DISPLAY &
39
40 gkrellm &
41 xload -display $DISPLAY &
42 gkrellm2 -c secondary &
43
44 xcalendar -name xHopper11 -display $DISPLAY &
45
46 xdaliclock &
47
48 # open up my planner
49 xcalendar -display $DISPLAY &
50
51 # Set the background
52 # I've run this script manually and it doesn't take long at all to run
53 (sleep 1; $HOME/bin/background) &
54
55 #turn on the screensaver
56 xscreensaver &
57
58 #disable access control
59 xhost +
60
61 # Make the mouse move a little faster than normal
62 xset m 3 4
63 # Make the keys repeat more quickly
64 xset r rate 300 20
65
66 # start fetchmail
67 fetchmail
68
69 #Start the window manager
70 ctwm
71
72 #fix keyboard
73 /usr/bin/kbd_mode -a
74
75 # stop fetchmail
76 fetchmail --quit
77
78 #clear
79 ----------------------------------------------------------------------------
80
81 There isn't anything there that I can see which would cause the 2min.
82 delay in even getting an "X" mouse pointer...
83
84 I'm leaning toward some strange type of Xorg <--> kernel interaction,
85 but I'm not sure what it might be...
86
87 --
88 -M
89
90 There are 10 kinds of people in this world:
91 Those who can count in binary and those who cannot.
92
93 --
94 gentoo-user@g.o mailing list