Karmic, Lucid: /etc/gdm/Xsession fails to apply ~/.Xresources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
Lucid |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Binary package hint: gdm
The symptom is as follows -- my ~/.Xresources file and ~/.xsessionrc file are ignored when I login with an Ion3 session.
The problem is this:
From Jaunty to Karmic the /etc/gdm/Xsession dropped the following variables (among others):
SYSRESOURCE
USRRESOURCE
USERXSESSIO
USERXSESSIO
ALTUSERXSES
These variables are still needed for the following scripts in /etc/X11/
30x11-
40x11-
50x11-
I'll note that these have apparently gone missing before and were fixed in bug #229199.
To work around this as a user one can create a ~/.xprofile setting the missing variables. As an administrator, these variables can be set in /etc/xprofile.
Note: While I have set USERXSESSION and ALTUSERXSESSION which are used by 50x11-common_
I believe the information above should be sufficient but I'd be happy to fill in any gaps if I've left anything out. Let me know.
Changed in gdm (Ubuntu): | |
importance: | Undecided → Low |
summary: |
- Karmic /etc/gdm/Xsession fails to source ~/.xsessionrc or apply + Karmic, Lucid: /etc/gdm/Xsession fails to source ~/.xsessionrc or apply ~/.Xresources |
Changed in gdm (Ubuntu Lucid): | |
assignee: | nobody → Martin Pitt (pitti) |
milestone: | ubuntu-10.04-beta-2 → none |
status: | Confirmed → Triaged |
tags: | added: regression-potential |
tags: | added: patch |
Confirming on xubuntu karmic.
I see that /etc/gdm/Xsession does run the scripts in /etc/X11/ Xession. d/, one of which probably sourced $HOME/.xsessionrc at some time in the past. However, that script currently sources "$USERXSESSIONRC", which is not set by gdm's scripts. (It gets set in /etc/X11/Xession, which never gets run by gdm.) The same situation exists for $HOME/.Xresources .