1 |
On Fri, Mar 20, 2009 at 11:09 AM, Florian Philipp < |
2 |
lists@f_philipp.fastmail.net> wrote: |
3 |
|
4 |
> fei huang schrieb: |
5 |
> > I don't have any "xdm", "gdm" stuff but would like to start my windows |
6 |
> > manager directly at startup, cause I'm the only one that use it. |
7 |
> > |
8 |
> You know that this is a possible security thread? Anyone who has access |
9 |
> to your computer can simply press Ctrl+Alt+F1 and enter the console |
10 |
> session you used to start x-server. |
11 |
> Locking your X-session won't help against that. |
12 |
> |
13 |
> |
14 |
I don't think so - with the local.start method that he's talking about, the |
15 |
Virtual Console isn't logged in - X is started in the initscripts, not from |
16 |
a logged in console... |
17 |
|
18 |
Fei - try checking the value of the "HOME" and other environment variable |
19 |
with the local.start method - I think that, since the initscripts are not |
20 |
running in an "interactive" login prompt, some necessary env vars are not |
21 |
being populated correctly. Maybe if you changed your su command to "su |
22 |
myuser -c "source /etc/profile && startx &"? |
23 |
|
24 |
HTH- |
25 |
|
26 |
-James |