On Sun, Feb 12, 2006 at 01:42:02PM -0700, Joshua Reed wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have been using Linux for quite a bit, and still prefer the console
> login to such bulky things as gdm, kdm, or even qingy, plus I have a
> rotated monitor (portrait mode).
> I would like a screen saver when I am not logged in though.  One of
> the options that runs nicely is the caca demos (cacafire etc).  these
> run until you hit any key and then return.  I would like to run these
> on each terminal, and then when they exit, run agetty.  Of course this
> is not as easy just modifying my inittab from
> c6:23456:respawn:/sbin/agetty 38400 tty6 linux
> to
> c6:23456:respawn:{/usr/bin/cacafire && /sbin/agetty 38400 tty6 Linux ;}
> I wish it were that simple.
> Any advice on how to get this set up and working?

This is completely untested, but could you do something like:

c6:23456:respawn:/sbin/agetty -l /usr/local/bin/newlogin.sh 38400 tty6 Linux

and then make /usr/local/bin/newlogin.sh be:

#!/bin/sh
/usr/bin/cacafire
/bin/login

This would only work if agetty isn't too picky about what login program
it uses.  It may also be less secure, so be careful.

By the way, I had never heard of cacafire before--that's really cool.


-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868

Attachment: signature.asc
Description: Digital signature

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to