On Thu, Jan 8, 2009 at 7:29 AM, Quayle, Bill <[email protected]> wrote:
> I didn't see any reply to this on the list, and we are experiencing similar 
> problems.
>
> We have just built RHEL 5.2 servers and are using SRSS 4.1, when logging in to
> the servers via ssh, /etc/profile is sourced as it should.  When starting a 
> Gnome
> or KDE session via a Sun Ray, /etc/profile is never sourced.
>
> Login shell is either bash or ksh...

You're talking about the shell running inside a terminal window, right?

Make sure that your terminal emulator program (typically gnome-terminal
or Konsole for KDE) is configured to launch the shell as a "login" shell.
For gnome-terminal that's done by a checkbox labeled "Run command as
a login shell" in the configuration profile editor's "Title and Command" tab.

I think gnome-terminal's default is to run the shell as a non-login shell,
and as you can see in the shell's manpage that will cause the shell to
skip reading /etc/profile.

OttoM.
__
ottomeister

Disclaimer: These are my opinions.  I do not speak for my employer.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to