tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Glitchy X-windows login problem
@ 1995-09-29  5:04 dulaney
  0 siblings, 0 replies; only message in thread
From: dulaney @ 1995-09-29  5:04 UTC (permalink / raw)
  To: tru64-unix-managers

  Well, two excellent answers from Knut Helleboe and Mike Inglesias. First, 
the original question. 

------------------------------------------------------------------------------
Hello,
  I have an relatively minor problem but annoying problem.  Most folks log in
to the alpha 3000-600 running OSF 3.2 I manage via character based telnet. 
All users on the system use the Korn shell.  Telnet logins execute
/etc/profile and then $HOME/.profile as normal.  However, any logins from the
console seem to skip /etc/profile and proceed directly to $HOME/.profile.  The
PC-based X-terminal server (Xoftware/32) I am evaluating does not experience
the same problem.  How do I get /etc/profile to run when logging in from the
console? 
------------------------------------------------------------------------------

  The answer seems to be that xdm (X-windows display manager) uses /bin/sh
when it starts the X-windows sessions. Both Mike and Knut suggested looking at 
the scripts for clues.
  Unfortunately, I've gotten bogged down in begining-of-the-the-quarter-quick
-make-sure-all-the-computers-work frenzy and I haven't been able to track it
any further. To make it worse, I'm still relatively new at UNIX (started out
life as a VAX manager) and this X-windows stuff is *really* new to me.  I 
didn't want to fuss around with the scripts until I had a better idea of what 
I was doing.  Does anyone know of a good book that gives the basics of dealing 
with X-windows and troubleshooting them?
    --Tom


------------------------------------------------------------------------------
Tom Dulaney				Systems Manager
system@biovx1.biology.ucla.edu		UCLA Life Sciences Computing Center
Office: (310) 825-1367			Fax: (310) 206-3987
------------------------------------------------------------------------------

The original responses for the curious:
------------------------------------------------------------------------------

xdm uses /bin/sh to run the startup scripts in /usr/lib/X11/xdm, so
you'll need to modify those scripts to run the korn shell if you
want them run that way.
Mike

This probably have some connection with the way the xdm-session is started.
Have a look at the startup scripts in /usr/lib/X11/xdm. You might find a hint
there. Perhaps the session don't start with '-ls' to the xterm/dxterm. If
that is true you won't get a 'login' shell.
GOOD LUCK ;-)
Knut Helleboe

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-09-29  5:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-29  5:04 SUMMARY: Glitchy X-windows login problem dulaney

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