You are not logged in.

#1 2016-12-21 17:28:51

shaugh
Member
Registered: 2016-12-21
Posts: 1

[Solved] No systemd --user

I noticed this issue after trying to reboot and getting

sean@scuba ~
  % reboot
Failed to set wall message, ignoring: Interactive authentication required.
Failed to reboot system via logind: Interactive authentication required.
Failed to talk to init daemon.
sean@scuba ~
  % loginctl session-status c1
c1 - sean (1000)
           Since: Wed 2016-12-21 11:16:11 CST; 3min 49s ago
          Leader: 310 (nodm)
            Seat: seat0; vc7
             TTY: ???
          Remote: user root
         Service: nodm; type x11; class user
           State: closing
            Unit: session-c1.scope
                  └─310 /usr/bin/nodm

systemd --user isn't working unless I set XDG_RUNTIME_DIR:

sean@scuba ~
  % systemctl --user status mopidy                                                                                                                                                                                                    1
Failed to connect to bus: No such file or directory

sean@scuba ~
  % export XDG_RUNTIME_DIR=/run/user/`id -u`                                                                                                                                                                                          1

sean@scuba ~
  % systemctl --user status mopidy
● mopidy.service - Mopidy music server
   Loaded: loaded (/home/sean/.config/systemd/user/mopidy.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2016-12-21 11:17:36 CST; 8min ago
 Main PID: 642 (mopidy)
   CGroup: /user.slice/user-1000.slice/user@1000.service/mopidy.service
           └─642 /usr/bin/python2 /usr/bin/mopidy

Dec 21 11:17:44 scuba mopidy[642]: INFO     Start refreshing Google Music playlists
Dec 21 11:17:44 scuba mopidy[642]: INFO     Starting Mopidy core
Dec 21 11:17:44 scuba mopidy[642]: INFO     Starting Mopidy frontends: MpdFrontend, HttpFrontend, MprisFrontend, GMusicScrobblerFrontend
Dec 21 11:17:44 scuba mopidy[642]: INFO     MPD server running at [::ffff:127.0.0.1]:6600
Dec 21 11:17:44 scuba mopidy[642]: INFO     HTTP server running at [::ffff:127.0.0.1]:6680
Dec 21 11:17:44 scuba mopidy[642]: INFO     MPRIS server connected to D-Bus session bus
Dec 21 11:17:44 scuba mopidy[642]: INFO     Starting GLib mainloop
Dec 21 11:17:45 scuba mopidy[642]: INFO     Finished refreshing Google Music library in 1s
Dec 21 11:17:48 scuba mopidy[642]: INFO     Loaded 0 playlists from Google Music
Dec 21 11:17:48 scuba mopidy[642]: INFO     Finished refreshing Google Music playlists in 5s

Can anyone help me with this? Is it because I'm using nodm to log in?

Solved: Using getty autologin instead of nodm.

Last edited by shaugh (2016-12-23 16:51:42)

Offline

Board footer

Powered by FluxBB