From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 793201381F3 for ; Sun, 29 Sep 2013 05:03:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C9EAE0B46; Sun, 29 Sep 2013 05:03:39 +0000 (UTC) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 670C2E0B46 for ; Sun, 29 Sep 2013 05:03:38 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id ib11so3007735vcb.0 for ; Sat, 28 Sep 2013 22:03:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=r5uT/aZIzxxyATj2p1L6FM1HLiweP7lYcuH3p5F3e6s=; b=ULiV80A6/G25oXc61SsV3DD69/5BnV2xG2A4BP055dUEmK8FV061lFLvLjCwsGr+BR WRLtXNvUtBkTYyHjCP0gYnon7LfWvMDtZ1lh5hpxKnfe9WMic1Fq9pGg0yA6iRU6zzle vjtLiDFHopCCXTGH/Vz9dud4Y6W1uX9jhb1Fm88WF62ZZZXkbebzDBlXm+Tp4axKFFiD i23von/7KXpm05kAygkoBnOB/jsbkSaBEgyhEHKDgTF08FK2dmL3QR0nVAER4YEh98s7 Dtr8ybZTrMZh58Wc0xiqmKM6MKGw7d0DzmamVZZDWxFqsUD0NA+qxQI+jP+dn48bgUGh UZqA== X-Gm-Message-State: ALoCoQlMnJ7IAiyVakxJaRwp35hXXa95EPNGycMqAj7PrVvk7Eijk5oxBHjZ6BEYweH4+ANu5aUy Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.220.43.19 with SMTP id u19mr15123252vce.3.1380431017603; Sat, 28 Sep 2013 22:03:37 -0700 (PDT) Received: by 10.58.133.48 with HTTP; Sat, 28 Sep 2013 22:03:37 -0700 (PDT) In-Reply-To: <1380148217-6077-1-git-send-email-mattst88@gentoo.org> References: <1380148217-6077-1-git-send-email-mattst88@gentoo.org> Date: Sun, 29 Sep 2013 01:03:37 -0400 Message-ID: Subject: Re: [gentoo-catalyst] [PATCH] Start the X server only once. From: Douglas Freed To: gentoo-catalyst@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: e17de03a-7839-43ae-986f-2e2129e12645 X-Archives-Hash: 84aa15078ddaa9208ff11e1dd424f7ec On Wed, Sep 25, 2013 at 6:30 PM, Matt Turner wrote: > From: Matt Turner > > Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=481236 > --- > livecd/files/livecd-bashrc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/livecd/files/livecd-bashrc b/livecd/files/livecd-bashrc > index 983e657..9ea1fea 100644 > --- a/livecd/files/livecd-bashrc > +++ b/livecd/files/livecd-bashrc > @@ -4,7 +4,7 @@ if [ ! "$(grep nox /proc/cmdline)" ] > then > if [ -x /usr/bin/X ] > then > - if [ -e /etc/startx ] > + if [ -e /etc/startx -a $(tty) = "/dev/tty7" ]; > then > rm -f /etc/startx > ##STARTX > -- > 1.8.3.2 This doesn't work because the livecd inittab doesn't (afaict) start a getty on tty7, only tty1-6. I would change this to tty1 to solve that. -Doug