BEDTIME READING-CHANGING LOGIN SCREEN GRAPHICS

Mike Andrew / Kurt Wall

1) GUI Boot Display.

The gui boot display is specific to Caldera. Redhat use a similar, but not same, technique.

Unfortunately, in order for this screen to work, the Kernel is patched. Thereofore, any change of kernel, other than that supplied by Caldera, breaks the gui,

To disable the gui, and revert to standard console mode, as root, edit /etc/lilo.conf

a) #hash the the line
#message - /boot/message

b) change the line
vga = 274
to
vga = normal

c) type 'lilo'

2) LOGIN Display

To disable this 'feature' and have a standard console login do one of the following to /etc/inittab

a) change your run level from 5 to 3 as follows
id:3:initdefault:

b) OR, prevent the kdm from running
#gu:5:respawn .....

3) CHANGE LOGO SCREENS

All any user needs is a file named $HOME/.kdmpic that is their picture. And symlinks to everyone else's $HOME/.kdmpic in /opt/kde/share/apps/kdm/pics/users.

If you use NIS, the script below will create symbolic links from the kdm pics directory to everyone's ~/.kdmpic. This will enable anyone to put a .kdmpic in their directory and have it show up on anyone's machine who is running an NIS client. It should be trivial to modify the script to other environments.

The requirements for $HOME/.kdmpic:

1. It should be in xpm format
2. It should be 62x63 in size
3. It should have 256 colors

#!/bin/bash

PIC_ROOT=/opt/kde/share/apps/kdm/pics/users
LOG_FILE=$PIC_ROOT/.kdmpics-installed
USERS=$(ypcat passwd | sed 's/:.*//')

[ -f $LOGFILE ] ∓mp;∓mp; rm -f $LOG_FILE

for user in $USERS; do
home_dir=$(ypcat passwd | grep ^$user: | awk -F: '{print $6}')
echo Linking $PIC_ROOT/$user.xpm to $home_dir/.kdmpic
ln -sf $home_dir/.kdmpic $PIC_ROOT/$user.xpm
echo $PIC_ROOT/$user.xpm >> $LOG_FILE
done
 
 

searchSearch Index