Take the 2-minute tour ×

When I try to launch any GUI application through a terminal in my RHEL 5.4, it takes a very long time for the GUI to come up. Also, sometimes it just hangs.

I see the following messages in the terminal :

Launching a SCIM daemon with Socket FrontEnd...
GTK IM Module SCIM : Cannot connect to Panel!

What might be the issue?

share|improve this question

migrated from stackoverflow.com Apr 25 '11 at 12:31

This question came from our site for professional and enthusiast programmers.

Can you provide the output of the command env? I'm especially interested in the content of GTK_IM_MODULE. –  binfalse Apr 25 '11 at 12:44
The GUI application may be hanging because of some other issue. The highlighted message is of "SCIM", which you can safely stop from being started at boot-time. Stop it for once and check the GUI apps. –  SHW Apr 25 '11 at 13:00
Here is the o/p of env | grep "GTK*" GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2 GTK_IM_MODULe=scim –  user6956 Apr 26 '11 at 7:06
Please make sure that GTK libraries are installed. try "export GTK_IM_MODULE=scim-bridge" –  Raza May 28 '13 at 18:22

2 Answers 2

Generally, issues like this can be fixed by updating and/or re-installing the GUI software. A configuration file may be corrupted or contain invalid syntax. Pin-pointing the problem with errors like this is difficult, so I cannot give a specific answer. If other RHEL 5 users are not having this problem on the same type of hardware, then the problem may lie in a configuration file or the graphics card. If many users with different hardware types have this problem, then it is a software bug that can be fixed with an update (when available).

share|improve this answer

Check that your reverse DNS is configured correctly. When it is not, strange things can happen. In particular, applications can take a long time to start (waiting for a reverse dns lookup timeout).

$ dig -x yourIP +short

share|improve this answer

Your Answer


