etc/profile.d/input-method-config.sh: line 10:
/etc/X11/Xsession.d/70im-config_launch: No such file or directory
As a result the session will not be configured correctly.
You should fix the problem as soon as feasible.
What is the error?
There is no directory:
HTML Code:
/etc/X11/Xsession.d
How do you "fix the problem"?
Last edited by rsteinmetz70112; November 16th, 2019 at 04:30 AM.
-
Re: Error found when loading /etc/profile
Running im-config get:
Code:
im-config
Gtk-Message: 22:31:11.394: GtkDialog mapped without a transient parent. This is discouraged.
Followed by a pop up :
Code:
Current configuration for the input method:
Active configuration: missing (normally missing)
Normal automatic choice: ibus (normally ibus or fcitx or uim)
Override rule: zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx:ja_JP,fcitx:ko_KR,fcitx:vi_VN,fcitx
Current override choice: (en_US)
Current automatic choice: ibus
Number of valid choices: 2 (normally 1)
The override rule is defined in /etc/default/im-config.
The configuration set by im-config is activated by re-starting X.
Explicit selection is not required to enable the automatic configuration if the active one is default/auto/cjkv/missing.
Available input methods: ibus xim
Unless you really need them all, please make sure to install only one input method tool.
-
Re: Error found when loading /etc/profile
OK
I removed and reinstalled the im-config package where where
is supposed to be, with no luck. The file was still missing.
I found a backup? directory
and copied into
Code:
/etc/X11/Xsession.d/
and the error message went away.
Not sure why reinstalling
didn't fix the issue. I'm wondering what else should be in
Code:
/etc/X11/Xsession.d/
the only thing in it now is
Last edited by rsteinmetz70112; November 18th, 2019 at 05:55 PM.
---
Bookmarks
Bookmarks
Posting Permissions
so I am not an expert on this topic: I would suggest that the ones who are; have had problems, and had to wrestle with them.
So from that link I gave, https://askubuntu.com/questions/162391/ ... cale-issue
if you type
into a terminal; and hit the enter key; and if you copy the results and paste them back here please
(th terminal is the black tv screen near the Menu button; and if you select all text in the terminal; right-click and you can copy all that text;
paste it back here, inside the code tags: look at the top line as you type your reply; 5 from the left is the symbol for code tags; click on it and paste inside that little window that opens
After trying to see what package was involved in the offending file (where in the below I replaced our real dropbox groupname with "groupname"):
$ rpm -qf /usr/share/modules/init/sh
/usr/share/modules/init/bash: eval: line 42: syntax error near unexpected token `('
/usr/share/modules/init/bash: eval: line 42: ` Dropbox (groupname) set +x; _mlshdbg='x' ;;'
/usr/share/modules/init/bash: line 60: export: module: not a function
/usr/share/modules/init/bash: eval: line 42: syntax error near unexpected token `('
/usr/share/modules/init/bash: eval: line 42: ` Dropbox (groupname) set +x; _mlshdbg='x' ;;'
/usr/share/modules/init/bash: line 60: export: module: not a function
file /usr/share/modules/init/sh is not owned by any package
$
Regardless of /usr/share/modules/init/sh being reportedly not owned by any package, hunting around on the internet led me to believe an environment-modules package was involved, so risking corrupting other things I decided to try uninstalling it:
$ sudo apt-get remove environment-modules
[sudo] password for (username):
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
environment-modules
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
After this operation, 594 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 297080 files and directories currently installed.)
Removing environment-modules (4.1.1-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
$
Now on reboot I received a different error message with red exclamation mark:
Error found when loading /etc/profile:
/etc/profile.d/modules.sh: line 6: /usr/share/modules/init.sh: No such file or
directory
As a result the session will not be configured correctly.
You should fix the problem as soon as feasible.
:
It looked to me like the uninstall of the environment-modules package left a file behind so I moved the modules.sh away
sudo mv /etc/profile.d/modules.sh ~/away
And finally on reboot I was able to log in and be shown my desktop without any error message so I will mark this problem solved.
PS: thankfully my environment is OK as I was able to run other applications that are under development.