Unable to launch itd.service on ubuntu touch #43

Closed
opened 2022-11-27 17:44:22 +00:00 by eacelmar · 8 comments

phablet@ubuntu-phablet:~$ systemctl --user start itd
Failed to start itd.service: Process org.freedesktop.systemd1 exited with status 1
See user logs and 'systemctl --user status itd.service' for details.

phablet@ubuntu-phablet:~$ systemctl status --user itd.service

Failed to get properties: Process org.freedesktop.systemd1 exited with status 1

Also, itctl does throw an error that the socket does not exist at the required location, I assume this is due to the former error

phablet@ubuntu-phablet:~$ systemctl --user start itd Failed to start itd.service: Process org.freedesktop.systemd1 exited with status 1 See user logs and 'systemctl --user status itd.service' for details. phablet@ubuntu-phablet:~$ systemctl status --user itd.service Failed to get properties: Process org.freedesktop.systemd1 exited with status 1 Also, itctl does throw an error that the socket does not exist at the required location, I assume this is due to the former error
Owner

This is definitely not an ITD bug, it seems to be a DBus issue, but regardless, I looked around and found some things that you can try.

If you run echo $XDG_RUNTIME_DIR in your terminal, do you get any output?

Can you also send the output of systemctl status --user dbus?

This is definitely not an ITD bug, it seems to be a DBus issue, but regardless, I looked around and found some things that you can try. If you run `echo $XDG_RUNTIME_DIR` in your terminal, do you get any output? Can you also send the output of `systemctl status --user dbus`?
Author
  1. Yes I do get an output

phablet@ubuntu-phablet:~$ echo $XDG_RUNTIME_DIR
/run/user/32011

phablet@ubuntu-phablet:~$ systemctl status --user dbus

Failed to get properties: Process org.freedesktop.systemd1 exited with status 1

1. Yes I do get an output phablet@ubuntu-phablet:~$ echo $XDG_RUNTIME_DIR /run/user/32011 2. phablet@ubuntu-phablet:~$ systemctl status --user dbus Failed to get properties: Process org.freedesktop.systemd1 exited with status 1
Owner

Do you have the dbus-user-session package installed?

Do you have the `dbus-user-session` package installed?
Author

I installed it, rebooted, but both status messages still show the same error as before

I installed it, rebooted, but both status messages still show the same error as before
Owner

What happens if you run export XDG_RUNTIME_DIR=/run/user/$(id -u) and then try to run the commands above?

What happens if you run `export XDG_RUNTIME_DIR=/run/user/$(id -u)` and then try to run the commands above?
Author

I did as you said, but still the same status message appears

I did as you said, but still the same status message appears
Owner

In this case, it seems Ubuntu Touch might not support DBus user sessions, which is interesting because a lot of software requires them to exist, and there's no way to implement much of ITD's functionality without them, so unfortunately, it doesn't seem like ITD would work very well in Ubuntu Touch. You should ask someone else who has an Ubuntu Touch device if they can run ITD, and ask them how they did it if they can. If you figure it out, please tell me as I would like to add documentation about it. Sorry that I couldn't be of help here.

In this case, it seems Ubuntu Touch might not support DBus user sessions, which is interesting because a lot of software requires them to exist, and there's no way to implement much of ITD's functionality without them, so unfortunately, it doesn't seem like ITD would work very well in Ubuntu Touch. You should ask someone else who has an Ubuntu Touch device if they can run ITD, and ask them how they did it if they can. If you figure it out, please tell me as I would like to add documentation about it. Sorry that I couldn't be of help here.
Author

Hey,

I upgraded Ubuntu Touch to the now-released Focal version of Ubuntu, and by now there don't seem to be any dbus errors anymore as itd now runs almost without flaws on Ubuntu Touch.
Apparently dbus was not adequatly supported in the xenial version of Ubuntu Touch.

Best,
Al

Hey, I upgraded Ubuntu Touch to the now-released Focal version of Ubuntu, and by now there don't seem to be any dbus errors anymore as itd now runs almost without flaws on Ubuntu Touch. Apparently dbus was not adequatly supported in the xenial version of Ubuntu Touch. Best, Al
Sign in to join this conversation.
No description provided.