You are not logged in.
Hello,
I have fresh Arch installation with Openbox from yesterday and i'm frustrated. When i login after boot it's ok, but when i login again I have error when I'm trying to connect to nework using nm-applet. X also don't start, despite I have startx in .zprofile.
Error:
(32) No session found for uid 1000 (unknown)journalctl:
lip 24 21:18:13 lenovo polkitd[463]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.9, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
lip 24 21:18:14 lenovo login[438]: pam_unix(login:session): session closed for user gjm
lip 24 21:18:14 lenovo NetworkManager[418]: <info> (wlan0): device state change: activated -> deactivating (reason 'connection-removed') [100 110 38]
lip 24 21:18:14 lenovo systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
lip 24 21:18:14 lenovo NetworkManager[418]: <info> NetworkManager state is now DISCONNECTING
lip 24 21:18:14 lenovo systemd[1]: Started Getty on tty1.
lip 24 21:18:14 lenovo systemd[1]: Starting Getty on tty1...
lip 24 21:18:15 lenovo NetworkManager[418]: <info> (wlan0): device state change: deactivating -> disconnected (reason 'connection-removed') [110 30 38]
lip 24 21:18:15 lenovo NetworkManager[418]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 560
lip 24 21:18:15 lenovo NetworkManager[418]: <info> (wlan0): DHCPv4 state changed bound -> done
lip 24 21:18:15 lenovo kernel: wlan0: deauthenticating from b0:48:7a:fa:d9:d2 by local choice (Reason: 3=DEAUTH_LEAVING)
lip 24 21:18:15 lenovo dhcpcd[423]: wlan0: carrier lost
lip 24 21:18:15 lenovo NetworkManager[418]: <info> Removing DNS information from /usr/bin/resolvconf
lip 24 21:18:15 lenovo kernel: cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
lip 24 21:18:15 lenovo NetworkManager[418]: <info> NetworkManager state is now DISCONNECTED
lip 24 21:18:15 lenovo NetworkManager[418]: <warn> Connection disconnected (reason -3)
lip 24 21:18:15 lenovo dbus[421]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
lip 24 21:18:15 lenovo NetworkManager[418]: <info> (wlan0): supplicant interface state: completed -> disconnected
lip 24 21:18:15 lenovo systemd[1]: Starting Network Manager Script Dispatcher Service...
lip 24 21:18:15 lenovo dbus[421]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
lip 24 21:18:15 lenovo systemd[1]: Started Network Manager Script Dispatcher Service.
lip 24 21:18:23 lenovo login[4292]: pam_unix(login:session): session opened for user gjm by LOGIN(uid=0)
lip 24 21:18:23 lenovo login[4292]: pam_systemd(login:session): Cannot create session: Already occupied by a session
lip 24 21:18:23 lenovo login[4292]: LOGIN ON tty1 BY gjm
lip 24 21:18:26 lenovo org.a11y.Bus[4456]: Activating service name='org.a11y.atspi.Registry'
lip 24 21:18:26 lenovo org.a11y.Bus[4456]: Successfully activated service 'org.a11y.atspi.Registry'
lip 24 21:18:26 lenovo org.a11y.atspi.Registry[4492]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.RegistryWhat should I do?
Last edited by gjm (2015-07-25 07:25:56)
Offline
Are you logging in as a user or as root? https://bbs.archlinux.org/viewtopic.php?id=188126
Can you start X when you log in the first time? If not, tell us what happens when you type 'startx'? Post the log and your ~/.xinitrc.
When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
like thisIt makes the code more readable and - in case of longer listings - more convenient to scroll through.
Offline
I'm logging in as user. When I log in first time it work's ok, my .zprofile is sourced and X starts.
.profile:
emulate sh -c 'source /etc/profile'
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx.xinitrc:
xset r rate 250 50
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Constant Deceleration" 0.75
exec dbus-launch openbox-sessionI don't know what it means:
lip 24 21:18:23 lenovo login[4292]: pam_unix(login:session): session opened for user gjm by LOGIN(uid=0)
lip 24 21:18:23 lenovo login[4292]: pam_systemd(login:session): Cannot create session: Already occupied by a sessionOne more thing - I also see, when I'm closing Openbox something is holding my processes. It's systemd --user and (sd-pam).
Last edited by gjm (2015-07-25 09:47:06)
Offline
exec dbus-launch openbox-sessionremove dbus-launch .
using dbus-launch used to be necessary when polkit used consolekit, but polkit uses logind for that purpose now.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
You still need the xinitrc.d dbus snippet though, as described on the xinitrc wiki page.
Possible duplicate of: https://bbs.archlinux.org/viewtopic.php?id=200069
Try if downgrading to systemd 221-2 helps.
Last edited by Alad (2015-07-25 13:41:35)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline