Skip to content

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?

3 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 100% up
Kind
Text
ID
kcupa2

Author

148
posts
15
comments
7
media
View profile

3 comments

sudo systemctl --user edit --full

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

2 points

Hi, have you been able to fix this issue? I've added Slice=-.slice too but without luck, since sometimes I still get the issue A stop job is running for User Manager for UID 1000

1 points

Sorry, 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!

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.