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

Marc Nieper-Wißkirchen marc at nieper-wisskirchen.de
Wed Aug 3 14:44:21 UTC 2011


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 Ubuntu
Foundations Bugs, which is subscribed to ldm in Ubuntu.
https://bugs.launchpad.net/bugs/820417

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

Status in “ldm” package in Ubuntu:
  New

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

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




More information about the foundations-bugs mailing list