public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: James Ausmus <james.ausmus@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] start X at startup without a login manager
Date: Fri, 20 Mar 2009 11:43:28 -0700	[thread overview]
Message-ID: <b79f23070903201143s4bc870c1w886a0601bc9cbacd@mail.gmail.com> (raw)
In-Reply-To: <49C3DBD4.5010407@f_philipp.fastmail.net>

[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]

On Fri, Mar 20, 2009 at 11:09 AM, Florian Philipp <
lists@f_philipp.fastmail.net> wrote:

> fei huang schrieb:
> > I don't have any "xdm", "gdm" stuff but would like to start my windows
> > manager directly at startup, cause I'm the only one that use it.
> >
>  You know that this is a possible security thread? Anyone who has access
> to your computer can simply press Ctrl+Alt+F1 and enter the console
> session you used to start x-server.
> Locking your X-session won't help against that.
>
>
I don't think so - with the local.start method that he's talking about, the
Virtual Console isn't logged in - X is started in the initscripts, not from
a logged in console...

Fei - try checking the value of the "HOME" and other environment variable
with the local.start method - I think that, since the initscripts are not
running in an "interactive" login prompt, some necessary env vars are not
being populated correctly. Maybe if you changed your su command to "su
myuser -c "source /etc/profile && startx &"?

HTH-

-James

[-- Attachment #2: Type: text/html, Size: 1464 bytes --]

  parent reply	other threads:[~2009-03-20 18:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-20 15:09 [gentoo-user] start X at startup without a login manager fei huang
2009-03-20 16:16 ` [gentoo-user] " Nikos Chantziaras
2009-03-20 20:27   ` Sebastian Günther
2009-03-21  2:28   ` Tom
2009-03-21  3:28     ` fei huang
2009-03-20 18:09 ` [gentoo-user] " Florian Philipp
2009-03-20 18:21   ` Joshua D Doll
2009-03-20 18:43   ` James Ausmus [this message]
2009-03-20 20:22   ` Sebastian Günther
2009-03-21  7:14     ` Florian Philipp
2009-03-20 20:33 ` Sebastian Günther
2009-03-20 20:34 ` Paul Hartman
2009-03-25 20:03   ` Mick
2009-03-25 20:20     ` Sebastian Günther
2009-03-25 20:22     ` Paul Hartman
2009-03-22 13:00 ` gibboris
2009-03-23  4:19   ` fei huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b79f23070903201143s4bc870c1w886a0601bc9cbacd@mail.gmail.com \
    --to=james.ausmus@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox