[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
** Changed in: ubuntukylin Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
This bug was fixed in the package im-config - 0.32-1ubuntu3 --- im-config (0.32-1ubuntu3) artful; urgency=high * debian/patches/discard-fcitx-launch-errors.patch: - Discard STDERR messages when launching Fcitx to prevent that the DMs' error dialog is shown gratuitously at login (LP: #1722427). -- Gunnar HjalmarssonSun, 15 Oct 2017 11:21:00 +0200 ** Changed in: im-config (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
@Laney / release team: To gain time, and since I hope there is still time for this to make it to the ISO, I have uploaded an im-config change to the unapproved queue, even if there was no preceding approval from the release-team. Hope this is considered ok. ** Changed in: im-config (Ubuntu) Importance: Undecided => High ** Changed in: im-config (Ubuntu) Status: New => In Progress ** Changed in: im-config (Ubuntu) Milestone: None => ubuntu-17.10 ** Changed in: im-config (Ubuntu) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) ** No longer affects: fcitx (Ubuntu) ** No longer affects: lightdm (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
Hi, Gunnar, I have modified the 22_fcitx.rc in ubuntu kylin as you mentioned, and It worked, Thank you! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
I have found another way to fix this issue, which I think is better. Fcitx is launched at login from the /usr/share/im- config/data/22_fcitx.rc file. Changing line #6 in that file from /usr/bin/fcitx & to /usr/bin/fcitx 2>/dev/null & makes the 'noise' from launching Fcitx disappear so it won't trigger the error dialog. This keeps the fix within the im-config package without involving lightdm. At least this worked for me on Unity. It would be great if some Kylin users could test it on Ubuntu Kylin. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
Attached a debdiff corresponding to the merge proposal. This will hopefully be handled on Monday. ** Patch added: "lightdm_fcitx-workaround.debdiff" https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+attachment/4969747/+files/lightdm_fcitx-workaround.debdiff ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
This is the .xsession-errors file I mentioned. ** Changed in: lightdm (Ubuntu) Importance: Undecided => High ** Changed in: lightdm (Ubuntu) Status: New => In Progress ** Changed in: lightdm (Ubuntu) Milestone: None => ubuntu-17.10 ** Changed in: lightdm (Ubuntu) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) ** Attachment added: ".xsession-errors" https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1722427/+attachment/4969503/+files/.xsession-errors -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
if i uninstall fcitx or remove /etc/profile.d/input-method-config.sh, this error would not appear. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
Thanks for your report. I can reproduce this sometimes on Unity with LightDM and the Fcitx packages for Simplified Chinese. When it happens, ~/.xsession-errors looks like the attached file. The explanation is a temporary file in /etc/profile.d for configuring input methods (see bug #1720250). LightDM checks for errors when sourcing that file, and apparently the launch of Fcitx results in messages written to STDERR (sometimes...). I have submitted a LightDM merge proposal to disable that error check for now. @Iain: Can you please look at this. I suppose that there is no LightDM release planned before release, so we should probably make an Ubuntu only upload with this one change. ** Also affects: lightdm (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
** Branch linked: lp:~gunnarhj/lightdm/fcitx-workaround -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
** Changed in: ubuntukylin Status: New => Confirmed ** Changed in: ubuntukylin Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
** Also affects: im-config (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1722427] Re: [error-report]error occurs when reading /etc/profile
** Also affects: fcitx (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722427 Title: [error-report]error occurs when reading /etc/profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1722427/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs