You are not logged in.
Hey everyone,
Since the update to Kernel 4.0, I've apparently not had a D-Bus session. I've setup D-Bus for the User session as shown https://wiki.archlinux.org/index.php/Systemd/User#D-Bus here.
When I login to TTY1 upon boot, I get the error:
Failed to get D-Bus connection: Connection refused
And there's this error when I try to start a systemd User service (None are running upon login, despite being enabled):
systemctl --user start stalonetray feh-wallpaper.service feh-wallpaper.timer clipit
Failed to get D-Bus connection: No such file or directory
I'm not even sure where to start with this.
I've opened up d-freet, and upon clicking the 'session' tab at the top, it lists lots of things on the left, but I'm not sure which ones are relevant. But the fact that they show up at all shows that I in fact *do* have a d-bus running, right...?
Would appreciate a few prods in the right direction on this!
Title edited for length ![]()
Last edited by Reded (2015-05-11 20:27:14)
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
What is in your journal?
Not a Sysadmin issue, moving to NC...
Offline
I'll pastebin the journal for this boot, but I've snipped out a few entries that look vaguely related.
May 10 02:37:17 EdsArchDesktop systemd[1057]: Listening on D-Bus User Message Bus Socket.
May 10 02:37:17 EdsArchDesktop systemd[1057]: Starting D-Bus User Message Bus Socket.
So apparently the D-Bus socket is working at least. However, a few lines down:
May 10 02:37:38 EdsArchDesktop systemd[1057]: Started D-Bus User Message Bus.
May 10 02:37:39 EdsArchDesktop login[447]: pam_systemd(login:session): Failed to create session: Connection timed out
May 10 02:37:39 EdsArchDesktop login[447]: LOGIN ON tty1 BY eddie
May 10 02:37:39 EdsArchDesktop systemd[1057]: Starting D-Bus User Message Bus...
And thanks for the moving - wasn't sure if this was a 'newbie' issue or not
http://pastebin.com/kqiMRXK0 for entire journal -b -x output.
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
How do you login?
Offline
I originally used this https://wiki.archlinux.org/index.php/Au … al_console but when I started getting this D-Bus issue I undid it to see if it fixed anything. Now I just type my username/password at the TTY manually.
EDIT: Unclickable link
EDIT#2: I should note that my journal output I pastebinned is from a boot-up AFTER I removed the automatic login thing.
Last edited by Reded (2015-05-10 11:46:56)
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
The plot thickens!
So I use a systemd user service to start up a tmux session with Weechat in it, as well as ncmpcpp, plus a 3rd pane which just has an empty zsh prompt. I realised that I'm completely able to start systemd services from within this tmux session, but not outside - which caused all sorts of fun with my desktop and things like Pulseaudio.
I disabled this service, and rebooted. Hey look, no d-bus error on login, and I'm able to start user services from a normal terminal, and Pulseaudio is behaving!
http://paste.debian.net/175248 for the service causing me issues. Looks fairly benign to me, and I've used it for a really long time. Oh well, for now I can do it manually ![]()
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline