1 |
I don't have any "xdm", "gdm" stuff but would like to start my windows |
2 |
manager directly at startup, cause I'm the only one that use it. |
3 |
|
4 |
here is my solution: |
5 |
I use runlevel 3 as default, and add a line of code in |
6 |
"/etc/conf.d/local.start": |
7 |
|
8 |
su - myname -c startx& |
9 |
|
10 |
this works just fine except my scim panel would not shown as before, but if |
11 |
I login in normally with my user name, and type "startx" manually, |
12 |
everything works perfect. I'm wondering what is the difference with those |
13 |
two steps that cause the problem, |
14 |
"ps" shows the scim processes are just running normally, for reference, I |
15 |
pasted my "xinitrc" here: |
16 |
|
17 |
export XMODIFIERS='@im=SCIM' |
18 |
export GTK_IM_MODULE=scim |
19 |
scim -d |
20 |
|
21 |
xrdb -merge ~/.Xresources |
22 |
urxvtd -q -f -o |
23 |
|
24 |
conky -q & |
25 |
|
26 |
exec awesome |
27 |
|
28 |
|
29 |
any ideas? |
30 |
|
31 |
thanks |
32 |
|
33 |
fei |