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 1Lkrt8-0006tK-4y for garchives@archives.gentoo.org; Sat, 21 Mar 2009 03:28:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 854A5E039B; Sat, 21 Mar 2009 03:28:44 +0000 (UTC) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by pigeon.gentoo.org (Postfix) with ESMTP id 5A157E039B for ; Sat, 21 Mar 2009 03:28:44 +0000 (UTC) Received: by wf-out-1314.google.com with SMTP id 28so1547159wfc.10 for ; Fri, 20 Mar 2009 20:28:44 -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=zkRvYEi08tTSvZJwan5SjG1dO0p4CcKho9tH0Oz72Tg=; b=uRb9lM/r+OD15eOnAcEKUT/HNnZIauM0bYdikisL3iNKrtzEIxl0vHXjmjTBmW+VnO eD4GncdZXZuIZhzXGFgAlf9eZh7ptv290Jg3SoHM9M59s1Ut4RolJnriFJ/DLHFUgvKh FcU6X75t6lwUHAVgck7RH+0LoHMkZAkFZ+qzw= 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=NoygtXV7XeLJaoE3XikFgxjll8y8YKJ3a/xcnHycbcH0qeA/bgl9VOoA+vuMdn/QHG BehqEoLtmLEjDu4u9w5wjX+gdVfZA9+RINJJbi3QwA8CS+JoUrQxecNGslJMJjjEJhen 0hpHpv5BaYJQMtI0JrIjVFQtBsyaywNUr+q2M= 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.142.158.3 with SMTP id g3mr1778976wfe.265.1237606123973; Fri, 20 Mar 2009 20:28:43 -0700 (PDT) In-Reply-To: <20090321032839.7d73178b@ViciousVincent> References: <5cd9791d0903200809h27b4704ci9c44cb00a9561ee@mail.gmail.com> <20090321032839.7d73178b@ViciousVincent> Date: Sat, 21 Mar 2009 11:28:43 +0800 Message-ID: <5cd9791d0903202028r7af5e1a2w2518bad21b1e6190@mail.gmail.com> Subject: Re: [gentoo-user] Re: start X at startup without a login manager From: fei huang To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=000e0cd181c0642c7a046598a1f9 X-Archives-Salt: 60db5bdc-015b-455d-b3c8-e68733968102 X-Archives-Hash: 0df3860aa5d2e3ac3a040bee61a9a5eb --000e0cd181c0642c7a046598a1f9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable thank you all for the help! the problem is finally solved. thanks James! I realized that the bash is not a login shell when invoked that way, and my locale variable in .bash_profile did not take effect. the command line now becomes: *su -l myname -c '-l' 'startx' * and worked! thanks Sebastian G=FCnther, this is really a important comment in the man page that I missed totally, I changed to "-l" instead to avoid the trick and many nice login manager recommended here, I'll try them out later, compiling QT or GNOME components is a heavy work for my poor celeron processor. thanks again.. fei --000e0cd181c0642c7a046598a1f9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable thank you all for the help!
the problem is finally solved.

than= ks James!=A0 I realized that the bash is not a login shell when invoked th= at way, and my locale variable in .bash_profile did not take effect. the co= mmand line now becomes:

su -l myname -c '-l= 9; 'startx'

and worked!

thanks=A0 Sebastian G=FCnther,=A0 this is really a important = comment in the man page that I missed totally, I changed to "-l" = instead to avoid the trick


and many nice login manager recommended here, I'll try them out= later, compiling QT or GNOME components is a heavy work for my poor celero= n processor.



thanks again..

fei --000e0cd181c0642c7a046598a1f9--