Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Default Desktop/X Login Manager
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
Guest






PostPosted: Thu Jun 20, 2002 1:24 am    Post subject: Default Desktop/X Login Manager Reply with quote

I'd like to use kdm instead of xdm as the default (started at boot time) X login manager. kdm is better for my purposes as my gentoo machine is headless, and kdm offers a menu of window managers for the remote machine to select from. I have both xdm and kdm configured ok.

It looks to me like the system starts up one of the three "dm"s (gdm being the third) from /etc/init.d/xdm, after that script has been added to one of the runlevels. So far, so good. The "xdm" script decides which dm to use by looking for the DISPLAYMANAGER variable from /etc/profile.env. So, it seems that I am meant to select the default dm by exporting DISPLAYMANANGER="kdm" from within /etc/profile.env.

The problem is, that /etc/profile.env seems to be overwritten at some earlier point in the boot process. Is there a file I am supposed to be modifying instead, that will be used in the boot-time recreation of /etc/profile.env?

I understand that I could modify /etc/init.d/xdm to make kdm the default window manager. It seems like someone went through some trouble to set things up in a more sophisticated way, though, and I'd to like to "do it right", through the means provided in the script, if I could. I'll start breaking things later once I understand better how the system works. I'm a long time Slackware user, and am pretty amazed so far.
Back to top
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jun 20, 2002 1:27 am    Post subject: Reply with quote

RTFM. Edit your /etc/rc.conf.
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jun 20, 2002 1:45 am    Post subject: Reply with quote

Thanks for the answer. I had forgotten all about rc.conf.
Back to top
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