Subject: Gdm 2.14 refuses to start scim automatically
Package: scim
Version: 1.4.4-1+b1
Severity: important


Hi Ming Hua,

I encountered a problem with scim after the upgrade of system today,
especially the upgrade of gdm from 2.12 to 2.14.

I have been used to put a 95im-scim script under /etc/X11/Xsessiond.d
with the contents:

export GTK_IM_MODULE="scim"
export XMODIFIERS="@im=SCIM"
exec scim -d

and this method works well for a long time.

But today, after the upgrade, when I start gnome by gdm, it reports in
~/.xsession-errors repeatedly

/etc/gdm/Xsession: Beginning session setup...
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
GTK Panel of SCIM 1.4.4


(process:13501): Gtk-WARNING **: This process is currently running
setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

   http://www.gtk.org/setuid.html

Refusing to initialize GTK+.
GTK Panel of SCIM 1.4.4


(process:13503): Gtk-WARNING **: This process is currently running
setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

   http://www.gtk.org/setuid.html

Refusing to initialize GTK+.
GTK Panel of SCIM 1.4.4


(process:13511): Gtk-WARNING **: This process is currently running
setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

   http://www.gtk.org/setuid.html

Refusing to initialize GTK+.

The startup of gnome session is, therefore, stalled.

Then I change the method: I put the three lines into ~/.gnomerc,
rather than the previous global position.  But a similar error occurs
again.

Now, I have to strip the command `scim -d' from ~/.gnomerc, and add it
into the startup session list of gnome to get scim works properly.

I wonder if scim contains any setuid gtk programms?  Or, is something
wrong with gdm 2.14?

Thank you very much.


-- Package-specific info:
Related packages:
ii  libscim8c2a    1.4.4-1+b1     library for SCIM platform
ii  scim           1.4.4-1+b1     smart common input method platform
ii  scim-gtk2-immo 1.4.4-1+b1     GTK+2 input method module with SCIM as backe
ii  scim-m17n      0.1.3-2        M17N Input Method Engine for SCIM
ii  scim-modules-s 1.4.4-1+b1     socket modules for SCIM platform
ii  scim-pinyin    0.5.0-2        smart pinyin IM engine for SCIM platform

Related environment variables:
$XMODIFIERS=
$GTK_IM_MODULE=

Installed SCIM components:
/usr/lib/scim-1.0:
1.4.0
scim-helper-launcher
scim-helper-manager
scim-launcher
scim-panel-gtk

/usr/lib/scim-1.0/1.4.0:
Config
Filter
FrontEnd
Helper
IMEngine
SetupUI

/usr/lib/scim-1.0/1.4.0/Config:
simple.so
socket.so

/usr/lib/scim-1.0/1.4.0/Filter:
sctc.so

/usr/lib/scim-1.0/1.4.0/FrontEnd:
socket.so
x11.so

/usr/lib/scim-1.0/1.4.0/Helper:
setup.so

/usr/lib/scim-1.0/1.4.0/IMEngine:
m17n.so
pinyin.so
rawcode.so
socket.so

/usr/lib/scim-1.0/1.4.0/SetupUI:
aaa-frontend-setup.so
aaa-imengine-setup.so
panel-gtk-setup.so
pinyin-imengine-setup.so

-- System Information:
Debian Release: testing/unstable
 APT prefers unstable
 APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages scim depends on:
ii  libatk1.0-0                 1.11.4-1     The ATK accessibility toolkit
ii  libc6                       2.3.6-7      GNU C Library: Shared libraries
ii  libcairo2                   1.0.4-2      The Cairo 2D vector graphics libra
ii  libfontconfig1              2.3.2-5.1    generic font configuration library
ii  libfreetype6                2.1.10-3     FreeType 2 font engine, shared lib
ii  libgcc1                     1:4.1.0-1+b1 GCC support library
ii  libglib2.0-0                2.10.2-2     The GLib library of C routines
ii  libgtk2.0-0                 2.8.17-2     The GTK+ graphical user interface
ii  libpango1.0-0               1.12.1-2     Layout and rendering of internatio
ii  libpng12-0                  1.2.8rel-5.1 PNG library - runtime
ii  libscim8c2a                 1.4.4-1+b1   library for SCIM platform
ii  libstdc++6                  4.1.0-1+b1   The GNU Standard C++ Library v3
ii  libx11-6                    2:1.0.0-6    X11 client-side library
ii  libxcursor1                 1.1.5.2-5    X cursor management library
ii  libxext6                    1:1.0.0-4    X11 miscellaneous extension librar
ii  libxfixes3                  1:3.0.1.2-4  X11 miscellaneous 'fixes' extensio
ii  libxi6                      1:1.0.0-5    X11 Input extension library
ii  libxinerama1                1:1.0.1-4    X11 Xinerama extension library
ii  libxrandr2                  2:1.1.0.2-4  X11 RandR extension library
ii  libxrender1                 1:0.9.0.2-4  X Rendering Extension client libra
ii  zlib1g                      1:1.2.3-11   compression library - runtime

Versions of packages scim recommends:
ii  m17n-env                      0.0.3-7    set up multilingual X environment
ii  scim-gtk2-immodule            1.4.4-1+b1 GTK+2 input method module with SCI

-- no debconf information


--
Hongzheng Wang

Reply via email to