/usr/bin/im-launch i3 fails

Bug #1879352 reported by Wl-dustin on 2020-05-18

This bug report will be marked for expiration in 9 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
i3-wm (Ubuntu)
Undecided
Unassigned
im-config (Ubuntu)
Low
Unassigned

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".

Wl-dustin (wl-dustin) wrote :

I was able to fix this by changing

```
exec $STARTUP
```

to

```
$STARTUP
```

Interestingly, this doesn't leave a shell process running -- it leaves `gdm-x-session` running. So perhaps that is emulating a shell somehow, but gets the unquoting wrong for `exec`?

tags: added: focal
affects: xorg (Ubuntu) → im-config (Ubuntu)
Gunnar Hjalmarsson (gunnarhj) wrote :

@Wl-dustin: Where was that "exec $STARTUP" call? In some i3 config file?

Changed in im-config (Ubuntu):
status: New → Incomplete
Wl-dustin (wl-dustin) wrote :

From the first comment:
```
 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
```
it's in `/etc/X11/Xsession.d/99x11-common_start`

Gunnar Hjalmarsson (gunnarhj) wrote :

Can it be that you previously have had im-config installed on your machine and later uninstalled it without purging? What does

dpkg -l im-config

output? Any difference if you do:

sudo apt purge im-config

?

Changed in im-config (Ubuntu):
importance: Undecided → Low
Changed in i3-wm (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers