From owner-freebsd-questions@FreeBSD.ORG Tue Oct 2 22:15:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A46FA1065670 for ; Tue, 2 Oct 2012 22:15:47 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 673F58FC0A for ; Tue, 2 Oct 2012 22:15:47 +0000 (UTC) Received: by iagk10 with SMTP id k10so1240890iag.13 for ; Tue, 02 Oct 2012 15:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=0IEz18iupWHweVdvhXXFPuzOMhU8h8PP2HTG9/+ZW7E=; b=o9tPI+bfb4jPJTlVwv3PJE/Ys7u6gwJHmEWQaEdfE/OEZrO7HnasEWf82fBOx1ooxI 8aS+v/tLxFpftRYWFF8Yovs5vPWtGlNas8M7jP/kNPsFpOm9SWeCMLZt03aEB5LLFaXc k2WvR8wCp4fXahfk9ThbbBSDL4CLvzFVvPlOPMirzEXW6OX/z/nJ4otFu2RiIL9QvJ6e ulKqXw5u2DWlS1je/8e8j/Irhy1O0MTl4rjuiq4Uu3ZlyiXghQHJKzmwr0LVu6148sEw CndyocOjAnypfJEaGnKurhMaLtOfbiJFZjFiN96TVulryrrUO3v1EICc2RVN2zqSk7Zw CChw== Received: by 10.50.181.200 with SMTP id dy8mr10395009igc.38.1349216146668; Tue, 02 Oct 2012 15:15:46 -0700 (PDT) Received: from luna.wi.rr.com (cpe-184-58-138-79.wi.res.rr.com. [184.58.138.79]) by mx.google.com with ESMTPS id ez8sm1832623igb.17.2012.10.02.15.15.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 15:15:46 -0700 (PDT) From: ajtiM To: "Steve O'Hara-Smith" Date: Tue, 2 Oct 2012 17:15:37 -0500 User-Agent: KMail/1.13.7 (FreeBSD/9.1-RC1; KDE/4.8.4; i386; ; ) References: <201210020542.51933.lumiwa@gmail.com> <201210021626.59958.lumiwa@gmail.com> <20121002230247.a0adef1750155275397330fd@sohara.org> In-Reply-To: <20121002230247.a0adef1750155275397330fd@sohara.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201210021715.38171.lumiwa@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: sockstat 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: Tue, 02 Oct 2012 22:15:47 -0000 On Tuesday 02 October 2012 17:02:47 Steve O'Hara-Smith wrote: > On Tue, 2 Oct 2012 16:26:59 -0500 > > ajtiM wrote: > > On Tuesday 02 October 2012 05:50:57 Steve O'Hara-Smith wrote: > > > On Tue, 2 Oct 2012 05:42:51 -0500 > > > > > > ajtiM 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. Done. Thank you. Mitja -------- http://jpgmag.com/people/lumiwa