From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 20:48:17 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 0F9F01065686 for ; Tue, 14 Oct 2008 20:48:17 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id D20138FC37 for ; Tue, 14 Oct 2008 20:48:16 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 1992FAFBC02; Tue, 14 Oct 2008 12:48:16 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 14 Oct 2008 22:48:14 +0200 User-Agent: KMail/1.9.7 References: <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com> In-Reply-To: <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810142248.14928.fbsd.questions@rachie.is-a-geek.net> Cc: Tom Stuart 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: Tue, 14 Oct 2008 20:48:17 -0000 On Wednesday 08 October 2008 07:58:14 Tom Stuart wrote: > Hello, > > 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 Where the files are on your system is of no concern. Whether ld(1) knows where they are is. ldconfig -r |grep Xau should show /usr/local/lib/libXau.so.6, if not, ldconfig -m /usr/local/lib run as root should fix your problem. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.