trouble with arch shutting down too slowly and the Slice=-.slice command
I'm currently reading this
Here are the commands and output I get:
$sudo systemctl --user edit --full gnome-session-restart-dbus.service
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined
$echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus
$echo $XDG_RUNTIME_DIR
/run/user/1000
I'm supposed to be able to simply type the $systemctl --user edit --ful gnome-session-restart-dbus.service command and then add Slice=-.slice to the end, but I get those errors. I'm currently reading up on DBUS and trying to get a better understanding on the workings of systemctl/systemd, but I thought I'd post this while I'm researching.
Does anyone have suggestions?
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- kcupa2
3 comments
dont run as root?
the env is different with sudo so those
echos are meaningless for you.just a fyi, but that markdown is unreadable to old.reddit.com users
Hi, have you been able to fix this issue? I've added
Slice=-.slicetoo but without luck, since sometimes I still get the issueA stop job is running for User Manager for UID 1000Sorry, I wish I could remember more specifically what I did, it was a while ago and I've been having a number of small issues with both logging in and rebooting on different computers lately.
Unfortunately with this particular issue, if memory serves.. seems I just tinkered with a number of small things involving gdm global settings and (maybe) something with permissions, did a random rebooted, and then it.. worked!
One work around I used for a while, when the computer was booting up slowly, I disabled the gdm service from automatically starting on boot (
systemctl disable gdm), then had to manually start it (systemctl start gdm).But like I said, not sure if this is really any help. I've had a number of different issues related to gdm lately and I don't really know/remember what I did to solve this particular one!