Xnext installation guide
(draft Ð 07/15/1996)
valid for Xnext.app V1.205 and server 2.05 or higher

Installation folder

Xnext is configured for installation in /usr/X11R6, like the most other implemenatations of the X€window€system.   The packages are set to install in this folder.  You may, however, place the contents of the packages wherever you like.  Just make sure that there is a link named X11R6 in /usr that points to the real location.

Setup

If you want to start Xnext using the xinit or startx programs (which is not recommended with the 2.0 servers), set the DISPLAY environment variable to your local host:
in the .login script or .cshrc, add a line like
	setenv DISPLAY `/bin/hostname`:0.0
The Xnext.app does this automagically.  You don't have to worry about it.

X server executable

The server is called Xnext, and it is located in /usr/X11R6/bin.  You shouldn't invoke it directly, however.  Get the Xnext.app frontend or use the xinit program or the startx script to start up the server.

Xnext.app

The  NEXTSTEP frontend lets you configure the server parameters in its Preferences panel.
You can then start and stop the X server via the Server> menu.
If you have X11 applications compiled under NEXTSTEP, giving them the .xapp extension enables you to start them via double clicking in the Workspace like NEXTSTEP applications.

Starting up with xinit

If you don't want to use the frontend, start up the server with the xinit command.
To configure the size and depth of the X screen, you have to create a file called .xserverrc in your home folder.
The file should only contain one line with the server command and options like this:
	/usr/X11R6/bin/Xnext -screen 0 1120x832x12

This creates one screen (always use -screen 0) that is 1120 pixels wide and 832 pixels high.  It has a depth of 12, which means 12bit color (like on a NeXTstation color).
Choose your desired screen depth from:
  1 Ð> 1 bit black and white display; use this on monochrome NeXT hardware.
  8 Ð> 8 bit grayscale.
12 Ð> 12 bit 4/4/4 color; like on NeXTstation color.
24 Ð> 24 bit true color.

There is this other option you may use instead of -screen to cover the whole dps screen:
	-dpsscreen 0 12