From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 13:43:16 2008 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 544AD1065686 for ; Thu, 9 Oct 2008 13:43:16 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2D60A8FC21 for ; Thu, 9 Oct 2008 13:43:15 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 15135 invoked from network); 9 Oct 2008 13:43:15 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Oct 2008 13:43:15 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 4DF6628465; Thu, 9 Oct 2008 09:43:14 -0400 (EDT) To: "Tom Stuart" References: <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com> From: Lowell Gilbert Date: Thu, 09 Oct 2008 09:43:14 -0400 In-Reply-To: <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com> (Tom Stuart's message of "Tue\, 7 Oct 2008 23\:58\:14 -0600") Message-ID: <44tzblhojx.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: KDE 4 Cannot run as regular user 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: Thu, 09 Oct 2008 13:43:16 -0000 "Tom Stuart" writes: > I just installed KDE4 via ports and am getting errors upon attempting > to start as a "regular" user. When I run startkde as root it works > fine but I don't want to use root on this machine. > > Error Generated when started as a regular user > $ startx > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > /libexec/ld-elf.so.1: Shared object "libX11.so.6" not found, required by "xinit" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by "xauth" > > The files are there > $ ls -l /usr/local/lib/libXau.so /usr/local/lib/libX11.so > lrwxr-xr-x 1 root wheel 11 Oct 6 03:09 /usr/local/lib/libX11.so -> > libX11.so.6 > lrwxr-xr-x 1 root wheel 11 Oct 6 03:06 /usr/local/lib/libXau.so -> > libXau.so.6 > $ ls -l /usr/local/lib/libXau.so.6 /usr/local/lib/libX11.so.6 > -rwxr-xr-x 1 root wheel 1080722 Oct 6 03:09 /usr/local/lib/libX11.so.6 > -rwxr-xr-x 1 root wheel 10604 Oct 6 03:06 /usr/local/lib/libXau.so.6 > > $ cat .xinitrc > exec /usr/local/kde4/bin/startkde > > $ uname -a > FreeBSD xxx.xxx.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Oct > 6 02:45:38 MDT 2008 root@xxx.xxx.net:/usr/obj/usr/src/sys/xxx > i386 > > I'm sure this is a very little issue but I appreciate your patience > and help in resolving this issue. I'll guess the problem isn't related to KDE, but to X in general. Can you start twm as your local user? With a minimal .xinitrc file? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/