-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 4 Dec 2001, John Weez wrote: >I want to issue a command the first time a user logs in from the X windows >login screen.
The gdm display manager uses /etc/X11/gdm/PreSession/Default to setup the console for the user at login. I think kdm uses the traditional xdm file: /etc/X11/xdm/GiveConsole. What I do is rename the gdm file and make Default a link to the xdm file. Then I add any desired commands to the xdm file. That way it will be executed by any of the three display managers. If the command is something that doesn't quit, make sure you run it in the background app using "&". Tony - -- Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/> PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D Chat: AOL/Yahoo: TonyG05 Linux. The choice of a GNU generation <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene <[EMAIL PROTECTED]> 0x6C94239D iD8DBQE8DgxGpCpg3WyUI50RArFkAJwLN2V0BkUS+uSixKkBUiMouUAOlQCfTbiz VB7uhF/WYeSfDkn01Xxp7Lw= =p21q -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
