KDE 4 Cannot run as regular user

Mel fbsd.questions at rachie.is-a-geek.net
Tue Oct 14 20:48:17 UTC 2008


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.


More information about the freebsd-questions mailing list