Login.app installation instructions


NOTE!
--------------------------------------------------------------
Installing this program requires root access and should only
be done by people who is familiar with the /etc/inittab file. 
Since installing requires you to make changes in this file, 
as described below, it is important that you know what these 
changes do to your system. If you edit this file in a 
completely wrong manner your computer may not boot correctly 
any more. You should be aware of this!



Requirements
--------------------------------------------------------------
(may run with older versions of the libs, I haven't tested yet.)

- libwraster (Window Maker raster library)
        (libwraster.so.2.0.0 /WindowMaker-0.6x.x or later) 
	Comes with Window Maker, available at ftp://windowmaker.org

- libPropList (Property list library) >= 0.10.1 
        (libPropList.so.0.2.2 or later)
	Available at ftp://windowmaker.org/pub/libs/

- root access
	To be able to complete the installation you need to
	make changes in the /etc/inittab file.



Installation
--------------------------------------------------------------
1) Take a look at the Makefile and (if necessary) modify it 
   to fit your system (probebly not necessary for most systems).

2) Type 'make'.

3) Type 'su' and enter the root password.

4) Type 'make install'.

5) Edit /etc/inittab to look something like this:

	[...]
	id:5:initdefault:
	[...]
	x:5:respawn:/usr/local/GNUstep/Apps/Login.app/Login >& /dev/null

	The ">& /dev/null" will redirect all the messages printed by 
	the X-server to /dev/null (all the messages will be thrown
	away). I you would like to save these messages to a file, then
	just replace the '/dev/null' string with a filename.

	NOTE! These changes discribes how a RedHat 4.2/5.0 Linux system
	could be configured. It could look a little bit different on
	other distributions. For example on a Slackware Linux system
	it looks like this:

	[...]
	id:4:initdefault:
	[...]
	x1:4:respawn:/usr/local/GNUstep/Apps/Login.app/Login >& /dev/null

	ALSO NOTE! Before you modify your /etc/inittab make sure that
	your X-server is configured correctly and that Login.app is 
	working ok. Log in as root and execute the same line you will 
	put in your /etc/inittab from the console, for example:
	/usr/local/GNUstep/Apps/Login.app/Login, this way you can avoid 
	unpleasant respawns of the X-server if something isn't working 
	correctly.

6) Type 'exit' to leave the root shell.

7) Reboot your system! (or just switch runlevel)

8) Done!
