From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Lkjgq-0006da-0O for garchives@archives.gentoo.org; Fri, 20 Mar 2009 18:43:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B65E0E047B; Fri, 20 Mar 2009 18:43:30 +0000 (UTC) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by pigeon.gentoo.org (Postfix) with ESMTP id 481D3E047B for ; Fri, 20 Mar 2009 18:43:30 +0000 (UTC) Received: by gxk24 with SMTP id 24so3206254gxk.10 for ; Fri, 20 Mar 2009 11:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=V0TJPA8dbcXfXBHkSgxU11pI4PjfB7EHfJerdfr0x40=; b=SsAcHKFerP5ATOPSmV7cj22uc9weU0cqRq4wKm0z9Jnp7/Qq9nJPDUiiqdKysPoK8n L+sqWOvDVExZm4HNPOgj9AxA53yCzTFb69reN8ZB9x6cJGdpdP0CchhdoNcBNUIRbcvU c0vdK3zZ0PJYn3wOgUWg3rGs4YsbytDPUmAo0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ISBp6a3o98ncUG3sZx+TEr5fd4PbxtzlbbD6wPX6MXmxdOefmgc8cV5bLiNZMZu39n JQT9SqVoibcyV7igDAn5Q1gFM6qOoIEr/67okkWqo3Map2117kyhH7Yg/bASm0Y5SSac 5twKCdogInptaGU9CNFSi4iV4o+gskTPrBE6Y= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.90.71.16 with SMTP id t16mr2274562aga.95.1237574608911; Fri, 20 Mar 2009 11:43:28 -0700 (PDT) In-Reply-To: <49C3DBD4.5010407@f_philipp.fastmail.net> References: <5cd9791d0903200809h27b4704ci9c44cb00a9561ee@mail.gmail.com> <49C3DBD4.5010407@f_philipp.fastmail.net> Date: Fri, 20 Mar 2009 11:43:28 -0700 Message-ID: Subject: Re: [gentoo-user] start X at startup without a login manager From: James Ausmus To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=00163630f33df27d8d0465914a52 X-Archives-Salt: 5305940a-3317-4110-8032-ebe95897da70 X-Archives-Hash: f5064d3d9d6e639510c4a69ca2111dc0 --00163630f33df27d8d0465914a52 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --00163630f33df27d8d0465914a52 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Fri, Mar 20, 2009 at 11:09 AM, Floria= n 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. >
=A0You know that this is a possible security thread? Anyone who has a= ccess
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 t= hat he's talking about, the Virtual Console isn't logged in - X is = started in the initscripts, not from a logged in console...

Fei - tr= y 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
--00163630f33df27d8d0465914a52--