Does not perform same environment setup as gdm

Bug #583634 reported by Daniel Richard G.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: xdm

I'm reporting this against xdm 1:1.1.8-6ubuntu2 in Lucid, but this bug may be relevant to gdm and x11-common as well.

I've found at least two major differences in the environment initialization performed by gdm vs. xdm when a new session is launched:

1. /etc/gdm/Xsession will read in /etc/profile, /etc/xprofile, ~/.profile and ~/.xprofile . No such initialization occurs with xdm. You notice this if you (for example) add $HOME/bin to your path in ~/.bash_profile.

2. gdm sets XDG_CONFIG_DIRS in /etc/X11/Xsession.d/60xdg_path-on-session; xdm does nothing of the sort. I've found this to be a problem when using xdm with the Xubuntu desktop (by setting "DisplayManager*session: /etc/X11/xdm/Xsession /usr/share/xubuntu/session.sh" in /etc/X11/xdm/xdm-config). When XDG_CONFIG_DIRS is unset, you get a regular Xfce desktop (single taskbar at bottom, app menu at bottom-left) instead of the Xubuntu one (taskbar at top and bottom, app menu at top-left).

It is a bug that xdm is not interchangeable with gdm as far as the login session is concerned, but it's less clear how the two should be made equal in this respect. Modifying xdm's Xsession scripts to do the same thing would be the simplest solution, but then the same bug may arise with other display managers. I believe a better solution would be to move the above two bits of setup logic out of gdm, and into x11-common, to make them a common denominator of all display managers. (The 60xdg_path-on-session scriptlet is not from upstream, so that bit would be easy. Alas, /etc/gdm/Xsession is not ours.)

Tags: xubuntu
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Daniel,

Please run the command 'apport-collect BUGNUMBER', which will attach several files we need for debugging.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in xdm (Ubuntu):
status: New → Incomplete
Bryce Harrington (bryce)
tags: added: xubuntu
Revision history for this message
Daniel Richard G. (skunk) wrote :

Reverting the apport-bot, since that type of debugging info is not apropos to this bug.

Changed in xdm (Ubuntu):
status: Incomplete → New
tags: removed: needs-lspci-vvnn needs-xorglog
Bryce Harrington (bryce)
Changed in xdm (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.