Unable to launch itd.service on ubuntu touch #43
Labels
No Label
Bug
Cantfix
Duplicate
Enhancement
External
Help Wanted
In Progress
Invalid
Question
Waiting
Waiting For Info
Waiting for Upstream
Wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Elara6331/itd#43
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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
?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
Do you have the
dbus-user-session
package installed?I installed it, rebooted, but both status messages still show the same error as before
What happens if you run
export XDG_RUNTIME_DIR=/run/user/$(id -u)
and then try to run the commands above?I did as you said, but still the same status message appears
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.
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