From owner-freebsd-questions@FreeBSD.ORG Sat Jan 24 13:49:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E503C106566C for ; Sat, 24 Jan 2009 13:49:47 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id BAB268FC1B for ; Sat, 24 Jan 2009 13:49:47 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 15362 invoked from network); 24 Jan 2009 13:49:47 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 24 Jan 2009 13:49:47 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 695A350820; Sat, 24 Jan 2009 08:49:44 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 86BAB1CCF3; Sat, 24 Jan 2009 08:49:43 -0500 (EST) To: jimmiejaz@gmail.com References: <4979F1B1.4090808@gmail.com> From: Lowell Gilbert Date: Sat, 24 Jan 2009 08:49:43 -0500 In-Reply-To: <4979F1B1.4090808@gmail.com> (Jimmie James's message of "Fri\, 23 Jan 2009 11\:34\:57 -0500") Message-ID: <44eiysvmo8.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: x11-toolkits/linux-gtk2 problem/question. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2009 13:49:48 -0000 Jimmie James writes: > While it looks like it install/runs fine (i.e, linux-flash9 works, > skype works) the following error is show > (process:47722): GLib-WARNING **: getpwuid_r(): failed due to unknown > user id (0) > > Following this advice, all I could find, > http://archive.netbsd.se/?ml=freebsd-emulation&a=2005-11&t=1506833 > The fix is, to tell /compat/linux/etc/nsswitch.conf to look at NIS too. > Is UID 0 in your /etc/passwd? Can you try changeing > /compat/linux/etc/nsswitch.conf to something like this: > > passwd: files nisplus nis > shadow: files nisplus nis > group: files nisplus nis > > Uid 0 is in my /etc/passwd, there's no /compat/linux/etc/passwd., and > changing /compat/linux/etc/nsswitch.conf to read the same doesn't fix > the error message. > > Advice, suggestions? Those setting for nsswitch.conf don't look right to me. There should have been a message printed out when you installed one of the linux_base ports, telling you how to configure it. I think the fc4 version is the default these days; if that is what you are using, the message is in the file /usr/ports/emulators/linux_base-fc4/pkg-message -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/