where to put `startx` serverargs

Roland Smith rsmith at xs4all.nl
Tue Sep 15 22:16:40 UTC 2009


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
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090915/54d9eab0/attachment.pgp


More information about the freebsd-questions mailing list