where to put `startx` serverargs

Alexander Best alexbestms at math.uni-muenster.de
Tue Sep 15 23:33:03 UTC 2009


Roland Smith schrieb am 2009-09-16:
> On Tue, Sep 15, 2009 at 09:54:39PM +0200, Alexander Best wrote:
> > Roland Smith schrieb am 2009-09-15:
> > > You can put them in /usr/local/lib/X11/xinit/xserverrc, together
> > > with
> > > the X
> > > server.

> > > Roland

> > thx. could you tell me what exactly i need to put in that file?
> > because i
> > already tried adding `startx -- -nolisten inet6` to ~/.serverrc and
> > that
> > didn't work.

> Read the startx(1) and xinit() manual pages closely. What you should
> put in to
> the xserverrc is:

> -------- xerverrc --------
> #!/bin/sh
> exec /usr/local/bin/Xorg -nolisten inet6
> -------- xerverrc --------

> Roland

thx a bunch. that worked.

imo the xorg guys should allow people to disable ipv6 support at compile time
with a ./configure option.

cheers.
alex


More information about the freebsd-questions mailing list