Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Change in rc.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
deno
Guru
Guru


Joined: 13 Sep 2006
Posts: 411

PostPosted: Fri Nov 03, 2006 9:20 am    Post subject: [SOLVED] Change in rc.conf Reply with quote

What happened with DISPLAYMANAGER variable in rc.conf?

Before in rc.conf we had commented line with question:

# What display manager do you use ? [ xdm | gdm | kdm | entrance ]

and below:

DISPLAYMANAGER=""

should I add DISPLAYMANAGER="kdm", since I use kdm as displaymnager, in new rc.conf file? If yes then why new rc.conf, and if no what happened with DISPLAYMANAGER variable?


Last edited by deno on Fri Nov 03, 2006 11:02 am; edited 1 time in total
Back to top
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Fri Nov 03, 2006 9:39 am    Post subject: Reply with quote

If you had read the file properly, you would have realized (like me) that the XSESSION variable now does the trick.

I'm not sure if it was a good idea, as I prefer to use XSESSION for when I'm in text-mode and I want to start something light like fluxbox and DISPLAYMANAGER for kdm. Maybe they will revert to it tomorrow :lol:
Back to top
View user's profile Send private message
deno
Guru
Guru


Joined: 13 Sep 2006
Posts: 411

PostPosted: Fri Nov 03, 2006 9:45 am    Post subject: Reply with quote

:oops:

thanx
Back to top
View user's profile Send private message
deno
Guru
Guru


Joined: 13 Sep 2006
Posts: 411

PostPosted: Fri Nov 03, 2006 9:59 am    Post subject: Reply with quote

well , i have just tried it and XSESSION doesn't do the trick. It starts xdm (I want kdm) + xdm will not start kde.

And how should XSESSION read my mind and know what displaymanager I want to use? Even if someone run kde as I, he/she may want to use gdm as displaymanager.

It is good that DISPLAYMANAGER variable still works.
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Fri Nov 03, 2006 10:07 am    Post subject: Reply with quote

Hi

Check the '/etc/conf.d/xdm'.

It has been moved from rc.conf.
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 558
Location: uk

PostPosted: Fri Nov 03, 2006 10:27 am    Post subject: Reply with quote

FWIW I was confused by this as well

Probably our noob status, but the following is unedited in the new rc.conf

Quote:

# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit. The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the


Are you saying that selecting kde-3.5 launches kdm or Gnome launches gdm, looking in /etc/X11/Sessions/ does not appear to do so? How do individual users select their preferred window manager?
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 558
Location: uk

PostPosted: Fri Nov 03, 2006 10:35 am    Post subject: Reply with quote

keyson wrote:
Hi

Check the '/etc/conf.d/xdm'.

It has been moved from rc.conf.


Thanks! That explains it. :)
Back to top
View user's profile Send private message
deno
Guru
Guru


Joined: 13 Sep 2006
Posts: 411

PostPosted: Fri Nov 03, 2006 11:01 am    Post subject: Reply with quote

nice : ). thanx
Back to top
View user's profile Send private message
Karlhungus
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2005
Posts: 79
Location: Halifax, Nova Scotia

PostPosted: Fri Nov 03, 2006 7:50 pm    Post subject: Reply with quote

Actually apparently it's still supposed to be in rc.conf


https://bugs.gentoo.org/show_bug.cgi?id=153955

also when i actually read my /etc/conf.d/xdm:

# What display manager do you use ? [ xdm | gdm | kdm | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="kdm"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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