Date: Tue, 2 Oct 2012 23:02:47 +0100 From: Steve O'Hara-Smith <ateve@sohara.org> To: ajtiM <lumiwa@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: sockstat Message-ID: <20121002230247.a0adef1750155275397330fd@sohara.org> In-Reply-To: <201210021626.59958.lumiwa@gmail.com> References: <201210020542.51933.lumiwa@gmail.com> <20121002115057.0ae66ab26cb60757e66cc7f0@sohara.org> <201210021626.59958.lumiwa@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Oct 2012 16:26:59 -0500 ajtiM <lumiwa@gmail.com> wrote: > On Tuesday 02 October 2012 05:50:57 Steve O'Hara-Smith wrote: > > On Tue, 2 Oct 2012 05:42:51 -0500 > > > > ajtiM <lumiwa@gmail.com> wrote: > > > Hi! > > > > > > I have FreeBSD 9.1-RC1 #0 and I running KDE 4.8.4 too. > > > If I run KDE and try sockstat -l46 I get: > > > > > > sockstat -l46 > > > USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN > > > ADDRESS ajtim knemo 35725 10 udp4 *:* *:* > > > root Xorg 33842 1 tcp6 *:6000 *:* > > > root Xorg 33842 3 tcp4 *:6000 *:* > > > > > > Is it normal root Xorg... > > > I am running Xorg (kde) as user. > > > > Yes, the X server needs device access not available to normal > > users so it run setuid root. > > Thank you. > I have no in /usr/local/bin/startx > clientargs="-nolisten tcp" You don't need this in clientargs, serverargs is the right place. It should be harmless though, I think. > serverargs="-nolisten tcp" > and is okay. That serverargs should prevent those sockets being used, so no not OK if the sockets are still open. In general though it's best to pass these to startx (perhaps from another script) rather than editing it, your changes will get lost next time startx gets updated. -- Steve O'Hara-Smith <ateve@sohara.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121002230247.a0adef1750155275397330fd>