[Xorg] Installing as non-root user

Adam Jackson ajax at nwnk.net
Fri Aug 13 15:22:18 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 13 August 2004 18:04, Markus Kuhn wrote:
> Is there a simple/neat way (e.g., setting a small number of environment
> variables) to "make install" X11R6.7 from the cvs tree as a non-root user
> into my home directory (say in ~/local/X11R6/ instead of /usr/X11R6/), to
> do development work and testing on the client-side of X11R6 without
> changing anything outside my home directory?

In host.def:

#define ProjectRoot /home/foo/X11R6
#define NothingOutsideProjectRoot YES

make World and make install like normal.  If you want to run the server, chown 
it to root and chmod it 4711.

Add /home/foo/X11R6/lib to LD_LIBRARY_PATH and /home/foo/X11R6/bin to PATH to 
use the newly-installed libraries and programs.

- - ajax
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBHT8jW4otUKDs0NMRAoBjAKDpX/bf92U2MiROLAaeyNXI72WqowCgqPZa
mKFh69dVbmJZyAbvJTqjjSI=
=fqW+
-----END PGP SIGNATURE-----



More information about the xorg mailing list