Subject: Re: startx works for root user but not for other users
To: None <derry.birse@ind.alstom.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-sun3
Date: 07/02/1999 18:31:55
derry.birse@ind.alstom.com wrote:

> 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

LD_LIBRARY_PATH setting would be ignored on executing setuid'ed commands.
You should add "/usr/X11R6/lib" in /etc/ld.so.conf file.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp