[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-user
Subject: Re: sourcing .profile (ksh) on login through kdm/xdm
From: Richard Bos <allabos () freeler ! nl>
Date: 2001-04-30 18:33:04
[Download RAW message or body]
From "man xterm";
-ls This option indicates that the shell that is
started in the xterm window will be a login shell (i.e.,
the first character of argv[0] will be a dash, indicating to
the shell that it should read the user's .login or .profile).
=> -ls is your friend.
On Monday 30 April 2001 19:38, Jason Jesso wrote:
> I am running Linux-Mandrake 8.0 and can't seem to get my $HOME/.profile to
> executed when I login through kdm.
>
> I am using ksh. When I open a terminal and su - "user" my .profile is
> executed, but I would like it to be executed when I open an xterm, etc ...
>
> I found the following statement is KDE's FAQ, but what do I put into the
> .xsession to ensure that .profile is sourced???
> -----
> 9.11. KDE (kdm) does not read my .bash_profile!
>
> Well, xdm (and kdm) does not run a login shell, so .profile, .bash_profile,
> etc. are not sourced. When the user logs in, xdm runs Xstartup as root and
> then Xsession as user. So the normal practice is to add statements in
> Xsession to source the user profile. Please edit your Xsession and
> .xsession files.
> ------
>
> Thanks
> Jason
--
Richard Bos
For those who have no (/)home the journey is endless
--
Send posts to: kde-user@lists.netcentral.net
Send all commands to: kde-user-request@lists.netcentral.net
Put your command in the SUBJECT of the message:
"subscribe", "unsubscribe", "set digest on", or "set digest off"
All kde mailing lists are archived at http://lists.kde.org
**********************************************************************
This list is from your pals at NetCentral <http://www.netcentral.com/>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic