Red Hat Bugzilla – Bug 200875
echo $GTK_IM_MODULE is not set when doing "su -"
Last modified: 2007-11-30 17:11:39 EST
Description of problem:
When doing "su -" to another user, env var GTK_IM_MODULE is not set
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. login with "A" user & do "echo $GTK_IM_MODULE"
2. open another gnome-terminal & do "su - B"
3. in B's terminal, again do "echo $GTK_IM_MODULE"
B's terminal has GTK_IM_MODULE var not set
echo $GTK_IM_MODULE should result in scim (or an IME)
"su -" starts a login shell with a fresh environment.
Use "su" if you want to keep the users env.