1 |
Hi, |
2 |
|
3 |
On Mon, Dec 14, 2009 at 19:17, Mick <michaelkintzios@×××××.com> wrote: |
4 |
> 2009/12/13 Mike Mazur <mmazur@×××××.com>: |
5 |
> |
6 |
>> I ran across this issue last night. |
7 |
>> |
8 |
>> At some point /etc/rc.conf was no longer being sourced. Instead, |
9 |
>> setting the XSESSION variable in /etc/env.d is the correct way to do |
10 |
>> it. From the pkg_postinst section of the x11-apps/xinit ebuild[1]: |
11 |
>> |
12 |
>> ewarn "If you use startx to start X instead of a login manager like gdm/kdm," |
13 |
>> ewarn "you can set the XSESSION variable to anything in /etc/X11/Sessions/ or" |
14 |
>> ewarn "any executable. When you run startx, it will run this as the |
15 |
>> login session." |
16 |
>> ewarn "You can set this in a file in /etc/env.d/ for the entire system," |
17 |
>> ewarn "or set it per-user in ~/.bash_profile (or similar for other shells)." |
18 |
>> ewarn "Here's an example of setting it for the whole system:" |
19 |
>> ewarn " echo XSESSION=\"Gnome\" > /etc/env.d/90xsession" |
20 |
>> ewarn " env-update && source /etc/profile" |
21 |
>> |
22 |
>> So, creating /etc/env.d/90xsession with the contents XSESSION="Gnome" |
23 |
>> (I use Gnome) did the trick. |
24 |
> |
25 |
> Thanks Mike, most helpful! What happens if you want to switch between |
26 |
> different sessions at/from the Display Manager stage? Do you place |
27 |
> them all in /etc/env.d/90xsession ? |
28 |
|
29 |
Sorry, I'm not sure how to do that. I'm the only user on my system and |
30 |
I don't use a graphical login manager. |
31 |
|
32 |
Mike |