Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Barry James <bjames@terraware.net>
Subject: Re: xsession : How to include .login
Date: Thu, 10 Oct 1996 13:36:35 +0000	[thread overview]
Message-ID: <9610101336.ZM23501@BJsUnixBox.terraware.net> (raw)
In-Reply-To: <max@cis.uni-muenchen.de>

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

       reply	other threads:[~1996-10-10 13:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <max@cis.uni-muenchen.de>
1996-10-10 13:36 ` Barry James [this message]
1996-10-10 17:44 xsession : How to include .login Przemek Klosowski
  -- strict thread matches above, loose matches on Subject: below --
1996-10-10 20:49 Eric Smith
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox