Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Oct 2008 09:43:14 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Tom Stuart" <freebsdemail@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: KDE 4 Cannot run as regular user
Message-ID:  <44tzblhojx.fsf@be-well.ilk.org>
In-Reply-To: <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com> (Tom Stuart's message of "Tue\, 7 Oct 2008 23\:58\:14 -0600")
References:  <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Tom Stuart" <freebsdemail@gmail.com> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44tzblhojx.fsf>