When I'm running
I got this error
Failed to get bus connection: Could not connect: Connection refused
I have to reboot. Can I repair this error without reboot?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
This message indicates that the D-Bus daemon has died. You need to restart it. Run
Perhaps the daemon is still running but not responding. If that's the case, kill it, then run
If the environment variable
DBUS_SESSION_BUS_ADDRESS is set, unset it. Most applications (I haven't checked about Evince) can find out the D-Bus address without it.
For more information, see Set environment variable for all of tmux shells when gnome-sessions gets restarted