Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jan 2009 13:06:08 -0500
From:      Jimmie James <jimmiejaz@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   Re: x11-toolkits/linux-gtk2 problem/question.
Message-ID:  <497B5890.9050309@gmail.com>
In-Reply-To: <44eiysvmo8.fsf@lowell-desk.lan>
References:  <4979F1B1.4090808@gmail.com> <44eiysvmo8.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Lowell Gilbert wrote:
> Jimmie James <jimmiejaz@gmail.com> 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



You're right, missed the message during the install, scrolled off 
screen.  Following the pkg-message in 
/usr/ports/emulators/linux_base-f8/pkg-message and reinstalling 
linux-gtk2-2.6.10_1 still gives me the same message.

I knew I forgot something with the original message.

FreeBSD 7.1-STABLE #0: Tue Jan  6 03:43:02 EST 2009 
jimmie@fortytwo.zapto.org:/usr/obj/usr/src/sys/FORTYTWO

linux-atk-1.9.1_1   Accessibility Toolkit, Linux/i386 binary
linux-cairo-1.0.2   Linux cairo binary
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-flashplugin-9.0r152 Adobe Flash Player NPAPI Plugin
linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
linux-gspca-kmod-1.0.20 A port of the linux gspcav1 webcam driver

*** linux-gtk2-2.6.10_1 GTK+ library, version 2.X, Linux binary *** 
What's giving me the error.

linux-jpeg-6b.34    RPM of the JPEG lib
linux-kmod-compat-20080408 Adaptation layer to build linux drivers on 
FreeBSD
linux-libsigc-2.0.17 Callback Framework for C++ (linux version)
linux-openssl-0.9.7f SSL and crypto library (Linux Version)
linux-pango-1.10.2_1 Linux pango binary
linux-png-1.2.8_2   RPM of the PNG lib
linux-tiff-3.7.1    TIFF library, Linux/i386 binary
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries

*** linux_base-f8-8_10  Base set of packages needed in Linux mode (for 
i386/amd64)***  emulators/linux_base-f8

linux_dri-7.0       Binary Linux DRI libraries for 3D hardware 
acceleration of
linuxdoc-1.1_1      The Linuxdoc SGML DTD
lirc-0.8.0_2        Linux Infared Remote Control
sgmlformat-1.7_2    Generates groff and HTML from linuxdoc and docbook 
SGML doc
v4l_compat-1.0.20060801 Video4Linux compatibility header

-- 
Over the years I've come to regard you as people I've met.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?497B5890.9050309>