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

Reply via email to