Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2009 17:27:56 -0400
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        Alexander Best <alexbestms@math.uni-muenster.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: where to put `startx` serverargs
Message-ID:  <d7195cff0909141427s20de9fbcj73c740d068cbdc69@mail.gmail.com>
In-Reply-To: <permail-2009091211322580e26a0b00005ff8-a_best01@message-id.uni-muenster.de>
References:  <permail-2009091211322580e26a0b00005ff8-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/9/12 Alexander Best <alexbestms@math.uni-muenster.de>:
> 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.

-- 
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7195cff0909141427s20de9fbcj73c740d068cbdc69>