[comp.sys.next] changing login panel

jpm@lanl.gov (James P Mcgee) (02/05/90)

Want to have some fun with your login panel?  Just login as
root, browse to /usr/lib/NextStep, then double click on
nextlogin.tiff.  Edit to your hearts content. Save.  Reboot.

Warnings:
1. Make sure you save a copy of the original nextlogin.tiff.
2. It probably wouldn't work to move the two white typein areas.
3. Don't blame me if your system manager/boss/users get ticked off at you.
4. I tried copying the file to /usr/local/lib/NextStep, but that
   didn't work.

Request:
Please send me some interesting panels.

Pat McGee, jpm@lanl.gov

dayglow@csli.Stanford.EDU (Eric T. Ly) (02/05/90)

In article <42814@lanl.gov> jpm@lanl.gov (James P Mcgee) writes:
>
>Want to have some fun with your login panel?  Just login as
>root, browse to /usr/lib/NextStep, then double click on
>nextlogin.tiff.  Edit to your hearts content. Save.  Reboot.

Or, instead of rebooting, just restart the Window Server by typing "exit"
in the "Name:" field of the login window.

						Eric Ly
						CSLI, Stanford University

hue@netcom.UUCP (Jonathan Hue) (02/05/90)

In article <42814@lanl.gov> jpm@lanl.gov (James P Mcgee) writes:
>
>Want to have some fun with your login panel?  Just login as
>root, browse to /usr/lib/NextStep, then double click on
>nextlogin.tiff.  Edit to your hearts content. Save.  Reboot.

There is no need to reboot.  Just type exit and hit return twice instead
of typing in your username and password.

-Jonathan

eps@toaster.SFSU.EDU (Eric P. Scott) (02/05/90)

In article <42814@lanl.gov> jpm@lanl.gov (James P Mcgee) writes:
>Want to have some fun with your login panel?  Just login as
>root, browse to /usr/lib/NextStep, then double click on
>nextlogin.tiff.  Edit to your hearts content. Save.

It's a very bad idea, IMHO, to change vendor-supplied files when
it's unnecessary.

Try copying nextlogin.tiff and doing
	dwrite loginwindow ImageFile /your/file/name
(logged in as or su'ed to root)
The alternate file will take effect the next time loginwindow
loads (i.e. after typing "exit" or "console" or rebooting).
It does not have to be in /usr/lib/NextStep either, so you can
put it someplace that normally gets backed up.

Other than keeping the same size and fields for username/password,
you can do pretty much what you want with the pixels.  If you've
also used
	dwrite loginwindow HostName localhost
to display the hostname on top, there will be fairly obvious
additional constraints.

We have two files we use in preference to NeXT's available for
anonymous FTP from sutro.sfsu.edu if you'd like to look at them:

	gatorlogin.tiff		SFSU mascot (scanned image)
	sfsulogo.tiff		Official SFSU logo (by hand)

					-=EPS=-

lacsap@mit-amt.MEDIA.MIT.EDU (Pascal Chesnais) (02/05/90)

You do not want to edit the default login panel nextlogin.tiff, but rather
you want to create your own login panel and as root do a 

dwrite loginwindow ImageFile mylogin.tiff

The other alternative is to add it to /etc/ttys, but doing this will cause
a bug to show up in that the person loggin into console will never appear
in /etc/utmp...

In .8 I replaced the login panel, then someone at NeXT figured out that
people would do this, so now there is an easy facility to do this. The
tiff files can be 4bit per pel, the NeXT will happily half tone it. The
only thing to be sensitive of is that loginwindow will put in white stripes
for the password and username... This is all documented online (I forget
where)

pasc
-- 
Pascal Chesnais, Research Specialist, Electronic Publishing Group
Media Laboratory, E15-348, 20 Ames Street, Cambridge, Ma, 02139 (617) 253-0311
NeXTmail: lacsap@plethora.media.mit.edu