Re: xsession : How to include .login

Barry James (bjames@terraware.net)
Thu, 10 Oct 1996 13:36:35 +0000

On Oct 10, 4:25pm, Max Hadersbeck wrote:
> Subject: xsession : How to include .login
> Hi
> How can I say the .xsession file to execute the .login file.
> During normal login the .login file is not executed.
> I tried in the .xsession #!/bin/bash -login
> but then the xdm restarts immediately.
> Thanks MAX
>-- End of excerpt from Max Hadersbeck

XSession File:
#!/bin/tcsh

set login=$HOME/.login
if ( -f $login ) then
if ( -x $login ) then
exec $login
else
exec /bin/<your shell> $login
endif

good luck!

Regards,
Barry

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices