LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-27-2012, 10:10 AM   #1
flyer103
Member
 
Registered: Mar 2010
Location: Beijing, China
Distribution: Slackware
Posts: 41

Rep: Reputation: 1
fcitx cannot launch --current


Hello everyone.
Last night, I upgraded slackware-current. But today, when I launch fcitx, it gives me the following message and now I can't use fcitx to type:

Quote:
flyer@flyer:~$ [INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-fullwidth-char.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-classic-ui.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-kimpanel-ui.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-chttrans.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-autoeng.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-pinyin.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-vk.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-xim.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-remote-module.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-punc.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-x11.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-table.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-quickphrase.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-qw.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-ipc.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/addon.c:138-Load Addon Config File:fcitx-dbus.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/module/chttrans/chttrans.c:258-Load Config File /home/flyer/.config/fcitx/conf/fcitx-chttrans.config
[ERROR] /tmp/SBo/fcitx-4.1.2/src/module/remote/remote.c:72-Can't open socket /tmp/fcitx-socket-:0: Address already in use
[WARN] /tmp/SBo/fcitx-4.1.2/src/module/dbus/dbusstuff.c:83-Connection Error (/usr/bin/dbus-launch terminated abnormally without any error message)
[WARN] /tmp/SBo/fcitx-4.1.2/src/module/dbus/dbusstuff.c:83-Connection Error (/usr/bin/dbus-launch terminated abnormally without any error message)
[WARN] /tmp/SBo/fcitx-4.1.2/src/module/dbus/dbusstuff.c:83-Connection Error (/usr/bin/dbus-launch terminated abnormally without any error message)
[WARN] /tmp/SBo/fcitx-4.1.2/src/module/dbus/dbusstuff.c:83-Connection Error (/usr/bin/dbus-launch terminated abnormally without any error message)
[WARN] /tmp/SBo/fcitx-4.1.2/src/module/dbus/dbusstuff.c:83-Connection Error (/usr/bin/dbus-launch terminated abnormally without any error message)
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:202-Load Table Config File:db.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:202-Load Table Config File:erbi.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:202-Load Table Config File:wanfeng.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:202-Load Table Config File:wbx.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:202-Load Table Config File:qxm.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:202-Load Table Config File:wbpy.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:202-Load Table Config File:cangjie.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:202-Load Table Config File:zrm.conf
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:82-Dianbaoma
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:82-Erbi
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:82-Wanfeng
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:82-Wubi
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:82-Bingchan
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:82-WubiPinyin
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:82-Cangjie
[INFO] /tmp/SBo/fcitx-4.1.2/src/im/table/table.c:82-Ziranma
[INFO] /tmp/SBo/fcitx-4.1.2/src/ui/classic/classicui.c:301-Load Config File /home/flyer/.config/fcitx/conf/fcitx-classic-ui.config
[INFO] /tmp/SBo/fcitx-4.1.2/src/ui/classic/classicui.c:323-Save Config to /home/flyer/.config/fcitx/conf/fcitx-classic-ui.config
[ERROR] /tmp/SBo/fcitx-4.1.2/src/lib/fcitx/module.c:107-addon fcitx-dbus doesn't have function with id 0
[ERROR] /tmp/SBo/fcitx-4.1.2/src/frontend/ipc/ipc.c:241-DBus Not initialized
It seems that the DBus has something wrong.But I couldn't google why it gives such error message.
Please give me some tips. Thank you.

Last edited by flyer103; 07-27-2012 at 10:11 AM.
 
Old 07-29-2012, 08:42 AM   #2
kite
Member
 
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306

Rep: Reputation: 47
Have you tried to recompile fcitx? A fresh compiled fcitx is working fine here under slackware64-current.
 
Old 08-01-2012, 09:53 AM   #3
flyer103
Member
 
Registered: Mar 2010
Location: Beijing, China
Distribution: Slackware
Posts: 41

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by kite View Post
Have you tried to recompile fcitx? A fresh compiled fcitx is working fine here under slackware64-current.
Yes,I have recompiled fcitx from source, but in openbox, it still couldn't launch. But surprisingly, I can use the same fcitx in KDE or XFCE.
Does it have something to do with the desktop environment?
 
Old 08-01-2012, 11:03 AM   #4
apeitheo
Member
 
Registered: Apr 2006
Location: /home/apeitheo
Distribution: Slackware, Fedora, Ubuntu, openSUSE
Posts: 30

Rep: Reputation: 8
I think KDE and Xfce automatically launch a dbus session. In OpenBox, as far as I know, this isn't the case. Try launching fcitx with dbus-launch and see if it works:
Code:
dbus-launch fcitx
 
Old 08-01-2012, 12:23 PM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
to have an active consolekit session with dbus in -current with openbox, you have to modify slightly your ~/.xinitrc.
in the last lines of the file you have the session start in a line like this
Code:
  exec ck-launch-session openbox
modify it so it will read
Code:
  exec ck-launch-session dbus-launch --exit-with-session openbox
then dbus will be active for the whole openbox session

Last edited by ponce; 08-01-2012 at 12:24 PM.
 
1 members found this post helpful.
Old 08-02-2012, 09:25 AM   #6
flyer103
Member
 
Registered: Mar 2010
Location: Beijing, China
Distribution: Slackware
Posts: 41

Original Poster
Rep: Reputation: 1
Talking

Quote:
Originally Posted by ponce View Post
to have an active consolekit session with dbus in -current with openbox, you have to modify slightly your ~/.xinitrc.
in the last lines of the file you have the session start in a line like this
Code:
  exec ck-launch-session openbox
modify it so it will read
Code:
  exec ck-launch-session dbus-launch --exit-with-session openbox
then dbus will be active for the whole openbox session
Thanks! After I add

Code:
  exec ck-launch-session dbus-launch --exit-with-session openbox
in the ~/.xinitrc file, I can use fcitx!
I need to learn something about dbus. Thanks for your help, @kite, @apeitheo, @ponce
 
Old 05-14-2021, 11:19 PM   #7
englianhu
LQ Newbie
 
Registered: Oct 2015
Location: Sςιβrοκεrs TrαdιηgŪ
Distribution: CentOS, Ubuntu
Posts: 12

Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by apeitheo View Post
I think KDE and Xfce automatically launch a dbus session. In OpenBox, as far as I know, this isn't the case. Try launching fcitx with dbus-launch and see if it works:
Code:
dbus-launch fcitx
refered to https://askubuntu.com/a/1246265/424049 and then
Code:
dbus-launch fcitx

thanks,saw the input method in system tool now

Refer to https://fcitx-im.org/wiki/Install_Fcitx_5 if not workable (Install Fcitx 5 from Flatpak)

Last edited by englianhu; 05-14-2021 at 11:50 PM. Reason: install fcitx 5
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SCIM and FCITX in my slackware12.1 chuanweizuo Slackware 17 12-17-2008 04:16 AM
Fcitx: How does one configure Fcitx? The input and control panels too small to read. harryhaller Slackware 11 06-09-2008 12:37 AM
problem on fcitx 2ndSpace Slackware - Installation 0 12-18-2005 12:11 AM
fcitx Maurice Arthur Mandriva 6 10-21-2004 07:55 PM
fcitx problems hobylinux Linux - Software 13 10-01-2004 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration