Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDM doesn't load /etc/profile on startup.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
SilverSnake
n00b
n00b


Joined: 01 Oct 2002
Posts: 50
Location: Linköping, Sweden

PostPosted: Mon Oct 07, 2002 3:10 pm    Post subject: KDM doesn't load /etc/profile on startup. Reply with quote

Heya,

I'd like to know how to get my /etc/profile loaded when I start kdm. Right now it's not loaded when i start kdm, but it is loaded if I start xdm, but since I don't really like xdm (icky login window, that you prolly can change, and it's a hazzle to change between WMs) I'd like to fix it with kdm instead.

Have been talking some about this with rac in this topic (X starts REAL slow).
_________________
da SilverSnake is back!
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Oct 08, 2002 1:03 pm    Post subject: Reply with quote

Make sure you source /etc/profile in ~/.bashrc and ~/.bash_profile
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
SilverSnake
n00b
n00b


Joined: 01 Oct 2002
Posts: 50
Location: Linköping, Sweden

PostPosted: Tue Oct 08, 2002 3:42 pm    Post subject: Reply with quote

Sorry for being a bit newbish here, but to source it, does that mean I should add just '/etc/profile' in those files, or is there like some import command I should use before it? e.g. 'source /etc/profile' ?

Thanks for helpin me out :)
_________________
da SilverSnake is back!
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Tue Oct 08, 2002 3:53 pm    Post subject: Reply with quote

SilverSnake wrote:
Sorry for being a bit newbish here, but to source it, does that mean I should add just '/etc/profile' in those files, or is there like some import command I should use before it? e.g. 'source /etc/profile' ?


you add a line:
Code:
source /etc/profile

or
Code:
. /etc/profile


Notice the dot at the begining of the 2nd example, it is the same as the source directive.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum