LDM doesn't set ~/.dmrc correctly

Bug #820417 reported by Marc Nieper-Wißkirchen
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
LTSP5
Fix Released
Low
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

LDM_SESSION=$CURRENT_SET

and

NEW_SESSION_SETTING=$(get_desktop_file $LDM_SESSION)

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'.

Marc

Tags: ldm ltsp
no longer affects: ldm (Ubuntu)
Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

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?

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :
Changed in ltsp:
assignee: nobody → Alkis Georgopoulos (alkisg)
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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