From owner-freebsd-questions@FreeBSD.ORG Mon Sep 14 21:27:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3D46106568F for ; Mon, 14 Sep 2009 21:27:57 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id 6A4DC8FC0C for ; Mon, 14 Sep 2009 21:27:57 +0000 (UTC) Received: by ywh9 with SMTP id 9so4826207ywh.32 for ; Mon, 14 Sep 2009 14:27:56 -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:cc:content-type; bh=5ejljmElydpzEQZ0uR1Yu0VTBkq3evI8TNW3+PM1Z2I=; b=ud4gsaBg13xdx74ypaaCsr+TfE9Gp0jr14QnJSS0CdO65tOM+jOXKaqVaVEkwhmQ9X EtINVEz8VwUpZIQDAv0GNNTwyh1XkNtCptOJZFDWbM8b59Aic86T2lnZzx3fyPiE0To8 EF0VenR0an+4yB63cwpFUoosA1UjZiF8Fr5n4= 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 :cc:content-type; b=wW/bTNK6y4JZk+PEmvL0+9fF5Ay7fvXLQizA2JfBph3DRXT5K32rZ+8ss3w9KIK88S bObFdz4cH1KYWbuO1o/jUHfVPS+P5CK/FRHCaCpCJd2NvyCHGUS6BGoa8diq9fm7ZOuZ xy6PyX5fY+BpEQzFh3Jb1duMDmhpYUWkkK9n8= MIME-Version: 1.0 Received: by 10.90.154.14 with SMTP id b14mr4103745age.85.1252963676503; Mon, 14 Sep 2009 14:27:56 -0700 (PDT) In-Reply-To: References: Date: Mon, 14 Sep 2009 17:27:56 -0400 Message-ID: From: "illoai@gmail.com" To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: where to put `startx` serverargs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2009 21:27:57 -0000 2009/9/12 Alexander Best : > hi there, > > since i don't use ipv6 X produces the following warning when starting up: > > _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 > _XSERVTransOpen: transport open failed for inet6/otaku:0 > _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 > > so i'd to start X this way: `startx -- -nolisten inet6`. > > i looked through the man pages of startx and xinit but couldn't find where to > put the argument "-nolisten inet6" so `startx` picks it up automatically. > > currently i have this extra line in /usr/local/bin/startx: "serverargs = > -nolisten inet6" but that's just a hack because i couldn't find any > information on where to put the serverarg. > It seems to me that there should be a place in /etc/X11/xorg.conf However I cannot find it. I know it seems a bit clunky, but I would just put a short script in my $HOME/scripts (or wherever) rather than futzing with the actual startx script. -- --