LDM doesn't set ~/.dmrc correctly

Bug #820417 reported by Marc Nieper-Wißkirchen on 2011-08-03
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Alkis Georgopoulos

Bug Description

I am running Natty on an LTSP fat client and server.

In /usr/share/ldm/rc.d/X50-dmrc-processing, ldm reads and/or sets ~/.dmrc depending on the chosen session.

The variables $LDM_SESSION and $CURRENT_SET usually contain strings like "gnome-session --session=ubuntu". In particular, they usually contain spaces.

This seems to make the lines




behave badly as only the first part 'gnome-session' is looked at. The result (due to the further processing of said script) is that the session that ends up in ./~dmrc is always 'gnome-failsafe'.


no longer affects: ldm (Ubuntu)

Hello Marc,
from your analysis I take it that this bug can be fixed by adding quotation marks in appropriate places in /usr/share/ldm/rc.d/X50-dmrc-processing?

Alkis Georgopoulos (alkisg) wrote :
Changed in ltsp:
assignee: nobody → Alkis Georgopoulos (alkisg)
importance: Undecided → Low
status: New → Fix Committed
Alkis Georgopoulos (alkisg) wrote :

Fix released in LTSP 5.3.2.

Changed in ltsp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers