Subject: startx works for root user but not for other users
To: None <port-sun3@netbsd.org>
From: None <derry.birse@ind.alstom.com>
List: port-sun3
Date: 07/02/1999 10:05:03
I have been quite happily running X windows as root on my NetBSD 1.3.2 sun3/60,
however I recently added a few less privileged users but when I try to run
startx I get the following error.

/usr/libexec/ld.so: xterm: libXaw.so.6.1: No such file or directory

The users concerned run from a C shell and have the following in their startup
files:

set path=($path /usr/X11R6/bin)
setenv LD_LIBRARY_PATH /usr/X11R6/lib

I have even tried running xterm from the command line (not under X) where you
woild expect the message

xterm Xt error: Can't open display

but instead I get the above ld.so error. This is very strange, is it a
permissions problem?

Any help would be very much appreciated.

Derry Birse