← Back to team overview

touch-packages team mailing list archive

[Bug 1364173] Re: Xsession sourced scripts shouldn't be run using user's default shell

 

Launchpad has imported 2 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=338740.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-09-01T23:59:05+00:00 V字龍(Vdragon) wrote:

Recently I encountered a problem that my input method malfunctions
because the environmental variables are wrongly set(which is, fully
configured using im-config), after hours of debugging I found that it's
Z-shell(my current default shell)'s bug that prematurely quits before
the Xsession.d im-config input method configure script completes.

The problem is, /etc/X11/Xsession (and all the Xsession.d scripts it sourced) **shouldn't** be run in Z-shell.  Patching /etc/kde4/kdm/Xsession # invoke global X session script. code from
. /etc/X11/Xsession
to
/etc/X11/Xsession

workarounded the issue (however I have no idea why).  Switching to other
display managers instead of KDM worked also)

Reproducible: Always

Steps to Reproduce:
Currently there's no simple reproduce method as another software(zsh)'s bug involved.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1364173/comments/2

------------------------------------------------------------------------
On 2014-09-02T00:02:15+00:00 V字龍(Vdragon) wrote:

Downstream bug report:
Bug #1364173 “Xsession sourced scripts shouldn't be run using us...” : Bugs : KDE Base Workspace
https://bugs.launchpad.net/kdebase-workspace/+bug/1364173

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1364173/comments/3


** Changed in: kdebase-workspace
       Status: Unknown => New

** Changed in: kdebase-workspace
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1364173

Title:
  Xsession sourced scripts shouldn't be run using user's default shell

Status in KDE Base Workspace:
  New
Status in “kde-workspace” package in Ubuntu:
  New
Status in “xorg” package in Ubuntu:
  Invalid

Bug description:
  Recently I encountered a problem that my input method malfunctions
  because the environmental variables are wrongly set(which is, fully
  configured using im-config), after hours of debugging I found that
  it's Z-shell(my current default shell)'s bug that prematurely quits
  before the Xsession.d im-config input method configure script
  completes.

  The problem is, /etc/X11/Xsession (and all the Xsession.d scripts it sourced) **shouldn't** be run in Z-shell.  Patching /etc/kde4/kdm/Xsession # invoke global X session script. code from
  . /etc/X11/Xsession
  to
  /etc/X11/Xsession

  workarounded the issue (however I have no idea why).  Switching to
  other display managers instead of KDM worked also)

  Reproducible: Always

  Steps to Reproduce:
  Currently there's no simple reproduce method as another software(zsh)'s bug involved.

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1364173/+subscriptions


References