Gentoo Archives: gentoo-user

From: fei huang <daniel.huangfei@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] start X at startup without a login manager
Date: Fri, 20 Mar 2009 15:11:30
Message-Id: 5cd9791d0903200809h27b4704ci9c44cb00a9561ee@mail.gmail.com
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

Replies

Subject Author
[gentoo-user] Re: start X at startup without a login manager Nikos Chantziaras <realnc@×××××.de>
Re: [gentoo-user] start X at startup without a login manager Florian Philipp <lists@××××××××××××××××××.net>
Re: [gentoo-user] start X at startup without a login manager "Sebastian Günther" <samson@××××××××××××××××.de>
Re: [gentoo-user] start X at startup without a login manager Paul Hartman <paul.hartman+gentoo@×××××.com>
Re: [gentoo-user] start X at startup without a login manager gibboris@×××××.com