[Desktop-packages] [Bug 1364173] Re: Xsession sourced scripts shouldn't be run using user's default shell
** Changed in: kdebase-workspace Status: New => Unknown -- You received this bug notification because you are a member of Desktop 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: Unknown 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1364173]
I found out that kdm runs /etc/kde4/kdm/Xsession using user's default shell. http://i.imgur.com/xyiJ1b8.jpg It is not sane as in Xsession(5) manpage notes: /etc/X11/Xsession is a Bourne shell (sh(1)) script which is run when an X Window System session is begun by startx(1) or a display manager such as xdm(1). -- You received this bug notification because you are a member of Desktop 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1364173]
Here's the Zsh bug report end that Zsh is behave properly, but not the same way as Bash do. Z-Shell breaks im-config configuration scripts, making input method malfunction http://www.zsh.org/mla/workers/2014/msg00886.html -- You received this bug notification because you are a member of Desktop 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1364173] [NEW] Xsession sourced scripts shouldn't be run using user's default shell
Public bug reported: Recently I encountered a problem that my input method malfunction because the environmental variables are wrongly set(but it 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 quit the im- config input method configure Xsession.d script. While that's another Z-shell's bug, the problem is, /etc/X11/Xsession (and all the Xsession.d scripts it sourced) **shouldn't** run in Z-shell. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: x11-common 1:7.7+1ubuntu8 ProcVersionSignature: Ubuntu 3.13.0-35.62-lowlatency 3.13.11.6 Uname: Linux 3.13.0-35-lowlatency i686 NonfreeKernelModules: nvidia .proc.driver.nvidia.gpus.0: Error: [Errno 21] 是個目錄: '/proc/driver/nvidia/gpus/0' .proc.driver.nvidia.registry: Binary: .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86 Kernel Module 331.38 Wed Jan 8 18:44:57 PST 2014 GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) .tmp.unity.support.test.0: ApportVersion: 2.14.1-0ubuntu3.3 Architecture: i386 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: kwin CurrentDesktop: KDE Date: Tue Sep 2 07:18:58 2014 DistUpgraded: 2014-04-19 12:12:02,233 DEBUG fork pid is: 0 DistroCodename: trusty DistroVariant: kubuntu ExtraDebuggingInterest: I just need to know a workaround GraphicsCard: NVIDIA Corporation G92 [GeForce GTS 250] [10de:0615] (rev a2) (prog-if 00 [VGA controller]) Subsystem: Gigabyte Technology Co., Ltd Device [1458:34e7] InstallationDate: Installed on 2013-03-08 (542 days ago) InstallationMedia: Ubuntu 12.10 Quantal Quetzal - Release i386 (20121017.2) MachineType: System manufacturer System Product Name PackageArchitecture: all ProcKernelCmdLine: root=UUID=aa9c6442-c0f4-4544-9f01-706d10aee605 ro crashkernel=384M-2G:64M,2G-:128M splash crashkernel=384M-:128M SourcePackage: xorg UpgradeStatus: Upgraded to trusty on 2014-04-19 (135 days ago) dmi.bios.date: 08/18/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 1101 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: P7H55-M dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1101:bd08/18/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP7H55-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer version.compiz: compiz 1:0.9.11.2+14.04.20140714-0ubuntu1 version.libdrm2: libdrm2 2.4.56+git1408251830.391bba~gd~t version.libgl1-mesa-dri: libgl1-mesa-dri 10.4~git1408311930.e34a36~gd~t version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 10.4~git1408311930.e34a36~gd~t version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.4.99+git1408211931.ba5fcc~gd~t version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.914+git1408311930.2c564c~gd~t version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10+git1408170730.16c885~gd~t xserver.bootTime: Tue Sep 2 07:05:53 2014 xserver.configfile: /etc/X11/xorg.conf xserver.errors: xserver.logfile: /var/log/Xorg.0.log xserver.outputs: xserver.version: 2:1.15.1-0ubuntu2 ** Affects: xorg (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 kubuntu trusty -- You received this bug notification because you are a member of Desktop 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 “xorg” package in Ubuntu: New Bug description: Recently I encountered a problem that my input method malfunction because the environmental variables are wrongly set(but it 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 quit the im-config input method configure Xsession.d script. While that's another Z-shell's bug, the problem is, /etc/X11/Xsession (and all the Xsession.d scripts it sourced) **shouldn't** run in Z-shell. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: x11-common 1:7.7+1ubuntu8 ProcVersionSignature: Ubuntu 3.13.0-35.62-lowlatency 3.13.11.6 Uname: Linux 3.13.0-35-lowlatency i686 NonfreeKernelModules: nvidia .proc.driver.nvidia.gpus.0: Error: [Errno 21] 是個目錄: '/proc/driver/nvidia/gpus/0' .proc.driver.nvidia.registry: Binary: .proc.driver.nvidia.version: NVRM
[Desktop-packages] [Bug 1364173] Re: Xsession sourced scripts shouldn't be run using user's default shell
** Also affects: dummy-kdm (Ubuntu) Importance: Undecided Status: New ** Changed in: xorg (Ubuntu) Status: New = Invalid ** Package changed: dummy-kdm (Ubuntu) = kde-workspace (Ubuntu) ** Description changed: - Recently I encountered a problem that my input method malfunction + Recently I encountered a problem that my input method malfunctions because the environmental variables are wrongly set(but it 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 quit the im- - config input method configure Xsession.d script. + Z-shell(my current default shell)'s bug that prematurely quits before + the Xsession.d im-config input method configure script completes. While that's another Z-shell's bug, the problem is, /etc/X11/Xsession (and all the Xsession.d scripts it sourced) **shouldn't** run in Z-shell. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: x11-common 1:7.7+1ubuntu8 ProcVersionSignature: Ubuntu 3.13.0-35.62-lowlatency 3.13.11.6 Uname: Linux 3.13.0-35-lowlatency i686 NonfreeKernelModules: nvidia .proc.driver.nvidia.gpus.0: Error: [Errno 21] 是個目錄: '/proc/driver/nvidia/gpus/0' .proc.driver.nvidia.registry: Binary: .proc.driver.nvidia.version: - NVRM version: NVIDIA UNIX x86 Kernel Module 331.38 Wed Jan 8 18:44:57 PST 2014 - GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) + NVRM version: NVIDIA UNIX x86 Kernel Module 331.38 Wed Jan 8 18:44:57 PST 2014 + GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) .tmp.unity.support.test.0: - + ApportVersion: 2.14.1-0ubuntu3.3 Architecture: i386 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: kwin CurrentDesktop: KDE Date: Tue Sep 2 07:18:58 2014 DistUpgraded: 2014-04-19 12:12:02,233 DEBUG fork pid is: 0 DistroCodename: trusty DistroVariant: kubuntu ExtraDebuggingInterest: I just need to know a workaround GraphicsCard: - NVIDIA Corporation G92 [GeForce GTS 250] [10de:0615] (rev a2) (prog-if 00 [VGA controller]) -Subsystem: Gigabyte Technology Co., Ltd Device [1458:34e7] + NVIDIA Corporation G92 [GeForce GTS 250] [10de:0615] (rev a2) (prog-if 00 [VGA controller]) + Subsystem: Gigabyte Technology Co., Ltd Device [1458:34e7] InstallationDate: Installed on 2013-03-08 (542 days ago) InstallationMedia: Ubuntu 12.10 Quantal Quetzal - Release i386 (20121017.2) MachineType: System manufacturer System Product Name PackageArchitecture: all ProcKernelCmdLine: root=UUID=aa9c6442-c0f4-4544-9f01-706d10aee605 ro crashkernel=384M-2G:64M,2G-:128M splash crashkernel=384M-:128M SourcePackage: xorg UpgradeStatus: Upgraded to trusty on 2014-04-19 (135 days ago) dmi.bios.date: 08/18/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 1101 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: P7H55-M dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1101:bd08/18/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP7H55-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer version.compiz: compiz 1:0.9.11.2+14.04.20140714-0ubuntu1 version.libdrm2: libdrm2 2.4.56+git1408251830.391bba~gd~t version.libgl1-mesa-dri: libgl1-mesa-dri 10.4~git1408311930.e34a36~gd~t version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 10.4~git1408311930.e34a36~gd~t version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.4.99+git1408211931.ba5fcc~gd~t version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.914+git1408311930.2c564c~gd~t version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10+git1408170730.16c885~gd~t xserver.bootTime: Tue Sep 2 07:05:53 2014 xserver.configfile: /etc/X11/xorg.conf xserver.errors: - + xserver.logfile: /var/log/Xorg.0.log xserver.outputs: - + xserver.version: 2:1.15.1-0ubuntu2 -- You received this bug notification because you are a member of Desktop 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-workspace” package in Ubuntu: New Status in “xorg” package in Ubuntu: Invalid Bug description: Recently I encountered a problem that my input
[Desktop-packages] [Bug 1364173] Re: Xsession sourced scripts shouldn't be run using user's default shell
** Bug watch added: KDE Bug Tracking System #338740 https://bugs.kde.org/show_bug.cgi?id=338740 ** Also affects: kdebase-workspace via https://bugs.kde.org/show_bug.cgi?id=338740 Importance: Unknown Status: Unknown ** Description changed: Recently I encountered a problem that my input method malfunctions - because the environmental variables are wrongly set(but it is fully + 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. - While that's another Z-shell's bug, the problem is, /etc/X11/Xsession - (and all the Xsession.d scripts it sourced) **shouldn't** run in - Z-shell. + 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 - ProblemType: Bug - DistroRelease: Ubuntu 14.04 - Package: x11-common 1:7.7+1ubuntu8 - ProcVersionSignature: Ubuntu 3.13.0-35.62-lowlatency 3.13.11.6 - Uname: Linux 3.13.0-35-lowlatency i686 - NonfreeKernelModules: nvidia - .proc.driver.nvidia.gpus.0: Error: [Errno 21] 是個目錄: '/proc/driver/nvidia/gpus/0' - .proc.driver.nvidia.registry: Binary: - .proc.driver.nvidia.version: - NVRM version: NVIDIA UNIX x86 Kernel Module 331.38 Wed Jan 8 18:44:57 PST 2014 - GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) - .tmp.unity.support.test.0: + workarounded the issue (however I have no idea why). Switching to other + display managers instead of KDM worked also) - ApportVersion: 2.14.1-0ubuntu3.3 - Architecture: i386 - CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' - CompositorRunning: kwin - CurrentDesktop: KDE - Date: Tue Sep 2 07:18:58 2014 - DistUpgraded: 2014-04-19 12:12:02,233 DEBUG fork pid is: 0 - DistroCodename: trusty - DistroVariant: kubuntu - ExtraDebuggingInterest: I just need to know a workaround - GraphicsCard: - NVIDIA Corporation G92 [GeForce GTS 250] [10de:0615] (rev a2) (prog-if 00 [VGA controller]) - Subsystem: Gigabyte Technology Co., Ltd Device [1458:34e7] - InstallationDate: Installed on 2013-03-08 (542 days ago) - InstallationMedia: Ubuntu 12.10 Quantal Quetzal - Release i386 (20121017.2) - MachineType: System manufacturer System Product Name - PackageArchitecture: all - ProcKernelCmdLine: root=UUID=aa9c6442-c0f4-4544-9f01-706d10aee605 ro crashkernel=384M-2G:64M,2G-:128M splash crashkernel=384M-:128M - SourcePackage: xorg - UpgradeStatus: Upgraded to trusty on 2014-04-19 (135 days ago) - dmi.bios.date: 08/18/2010 - dmi.bios.vendor: American Megatrends Inc. - dmi.bios.version: 1101 - dmi.board.asset.tag: To Be Filled By O.E.M. - dmi.board.name: P7H55-M - dmi.board.vendor: ASUSTeK Computer INC. - dmi.board.version: Rev X.0x - dmi.chassis.asset.tag: Asset-1234567890 - dmi.chassis.type: 3 - dmi.chassis.vendor: Chassis Manufacture - dmi.chassis.version: Chassis Version - dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1101:bd08/18/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP7H55-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: - dmi.product.name: System Product Name - dmi.product.version: System Version - dmi.sys.vendor: System manufacturer - version.compiz: compiz 1:0.9.11.2+14.04.20140714-0ubuntu1 - version.libdrm2: libdrm2 2.4.56+git1408251830.391bba~gd~t - version.libgl1-mesa-dri: libgl1-mesa-dri 10.4~git1408311930.e34a36~gd~t - version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A - version.libgl1-mesa-glx: libgl1-mesa-glx 10.4~git1408311930.e34a36~gd~t - version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A - version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2 - version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2 - version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.4.99+git1408211931.ba5fcc~gd~t - version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.914+git1408311930.2c564c~gd~t - version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10+git1408170730.16c885~gd~t - xserver.bootTime: Tue Sep 2 07:05:53 2014 - xserver.configfile: /etc/X11/xorg.conf - xserver.errors: + Reproducible: Always - xserver.logfile: /var/log/Xorg.0.log - xserver.outputs: - - xserver.version: 2:1.15.1-0ubuntu2 + Steps to Reproduce: + Currently there's no simple reproduce method as another software(zsh)'s bug involved. -- You received this bug notification because you are a member of Desktop 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: Unknown Status in “kde-workspace” package in Ubuntu:
[Desktop-packages] [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 Desktop 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp