← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 820417] [NEW] LDM doesn't set ~/.dmrc correctly

 

Public bug reported:

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

** Affects: ldm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ldm ltsp

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ldm in Ubuntu.
https://bugs.launchpad.net/bugs/820417

Title:
  LDM doesn't set ~/.dmrc correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ldm/+bug/820417/+subscriptions


Follow ups

References