You are correct that uninstalling `im-config` and reverting
`99x11-common_start` to its original `exec $STARTUP`. But that just
hides the issue by removing the package containing the bug, and in
particular these lines in `70im-config_launch`:
```
if [ -x "$IMLAUNCH" ]; then
STARTUP="$IMLAUNCH $STARTUP"
fi
```
I'm sorry to insist, but I think the understanding of the issue is
incomplete. Please look at the error message in the first comment, and
compare:
```
rubin ~ $ bash -c '/usr/bin/nosuch xyz'
bash: /usr/bin/nosuch: No such file or directory
rubin ~ $ bash -c '"/usr/bin/nosuch xyz"'
bash: /usr/bin/nosuch xyz: No such file or directory
```
the shell includes only the first component of the command line in its
error message, indicating that it has searched for that string in PATH.
In the first comment, you'll see that a space character and `i3` appear
in the error message.
Another fix to this issue is to replace
```
exec $STARTUP
```
with
```
$STARTUP
```
meaning that something in how dash is interpreting that `exec` is
causing it to not split the argument correctly. If this was bash I
might suspect that STARTUP was an array, but dash appears to not support
arrays.
It should be possible to replicate this with a new install, installing
i3 and selecting that option from the login menu.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to im-config in Ubuntu.
https://bugs.launchpad.net/bugs/1879352
Title:
/usr/bin/im-launch i3 fails
Status in i3-wm package in Ubuntu:
Expired
Status in im-config package in Ubuntu:
New
Bug description:
Trying to run i3 in Focal Fossa, login fails. The screen goes black
briefly, then returns to the login screen. I expect this is
reproducible by just installing `i3`, selecting it on the settings in
the login screen, and logging in.
I see the following in the log:
```
May 18 11:32:21 hopper /usr/lib/gdm3/gdm-x-session[4733]:
/etc/X11/Xsession.d/99x11-common_start: line 5: /usr/bin/im-launch i3: No such
file or directory
```
Editing that file to just run `/usr/bin/im-launch i3` works fine. Is
this some kind of shell quoting issue, where it's trying to execve
that full string?
I believe this is in the `x11-common` package:
```
hopper ~ $ dpkg -S /etc/X11/Xsession.d/99x11-common_start
x11-common: /etc/X11/Xsession.d/99x11-common_start
```
but Launchpad complains that such a thing does not exist. Perhaps I
misunderstand "package".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/i3-wm/+bug/1879352/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp