You are not logged in.
When I try to save something from gnome application, first time after boot, it takes ~30 seconds for file dialog to come up and I get this message in console:
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.UDisks2VolumeMonitor: Timeout was reached (g-io-error-quark, 24)
After that there is no delay to file dialog and problem goes away if I remove gvfs, but I need it for libgnome.
dbus[468]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
dbus[468]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
systemd[756]: Failed to create /user.slice/user-1000.slice/session-c1.scope/init.scope control group: Permission denied
systemd[756]: Failed to allocate manager object: Permission denied
dbus-daemon[744]: Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service'
systemd[567]: Starting Virtual filesystem service...
dbus-daemon[744]: Successfully activated service 'org.gtk.vfs.Daemon'
systemd[567]: Started Virtual filesystem service.
...
systemd[1]: Starting Disk Manager...
udisksd[941]: /usr/lib/udisks2/udisksd: error while loading shared libraries: libsystemd-login.so.0: cannot open shared object file: No such file or directory
systemd[1]: udisks2.service: Main process exited, code=exited, status=127/n/a
systemd[1]: Failed to start Disk Manager.
systemd[1]: udisks2.service: Unit entered failed state.
systemd[1]: udisks2.service: Failed with result 'exit-code'.
dbus[468]: [system] Failed to activate service 'org.freedesktop.UDisks2': timed out
gvfs-udisks2-volume-monitor[938]: (process:938): GVFS-RemoteVolumeMonitorDaemon-WARNING **: monitor says it's not supported
dbus-daemon[744]: Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
systemd[567]: Started Virtual filesystem service - disk device monitor.
dbus[468]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'libsystemd-login.so doesn't seem to exist anymore.
# /etc/fstab: static file system information
UUID=b21193b7-7bca-4046-8683-39960ecac51d / ext4 defaults,relatime,discard 0 1
UUID=f77e2bef-c6a5-4be9-ae7d-2623248f1815 swap swap defaults 0 0
#Caviar green 2TB
UUID=ce593a68-4e12-4894-aa75-eebc294d0ebd /home/jay/stash ext4 defaults,exec,noatime 0 1
## 4GB USB
#UUID=2d140025-7ea4-48a7-85a3-718e291f2af1 /mnt/usb ext4 user,noauto,noatime,sync 0 0
## cdrom
/dev/sr0 /mnt/cdrom iso9660 ro,user,noauto 0 0groups
root disk wheel games video audio optical vboxusers wireshark docker jay adbusers/etc/mkinitcpio.conf
HOOKS="base udev autodetect modconf block filesystems keyboard fsck"I have old install from 2011 and I think it was running old init system originally, so I may be missing some packages, but everything else is working ok.
Last edited by ien (2016-03-28 08:52:22)
Offline
Main problem seems to be that I can't start/stop/disable/enable services.
sudo systemctl disable xdm
/usr/bin/pkttyagent: error while loading shared libraries: libsystemd-login.so.0: cannot open shared object file: No such file or directorysudo[960]: jay : TTY=pts/0 ; PWD=/home/jay ; USER=root ; COMMAND=/usr/bin/systemctl disable xdm
sudo[960]: pam_unix(sudo:session): session opened for user root by (uid=0)
sudo[960]: pam_systemd(sudo:session): Unknown parameter 'kill-user=1', ignoring
sudo[960]: pam_systemd(sudo:session): Unknown parameter 'controllers=', ignoring
sudo[960]: pam_systemd(sudo:session): Cannot create session: Already running in a session
systemd[1]: Reloading.
sudo[960]: pam_unix(sudo:session): session closed for user root
dbus[429]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
systemd[1]: Starting Authorization Manager...
polkitd[976]: /usr/lib/polkit-1/polkitd: error while loading shared libraries: libsystemd-login.so.0: cannot open shared object file: No such file or directory
systemd[1]: polkit.service: Main process exited, code=exited, status=127/n/a
systemd[1]: Failed to start Authorization Manager.
systemd[1]: polkit.service: Unit entered failed state.
systemd[1]: polkit.service: Failed with result 'exit-code'.I have autologin service and displaymanager that starts xdm, that then runs .xinitrc.
cat /etc/systemd/system/
autologin@.service default.target.wants/ display-manager.service getty.target.wants/ multi-user.target.wants/
[/quote]
[quote]
cat /etc/systemd/system/autologin\@.service
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Getty on %I
Documentation=man:agetty(8)
After=systemd-user-sessions.service plymouth-quit-wait.service
After=rc-local.service
# If additional gettys are spawned during boot then we should make
# sure that this is synchronized before getty.target, even though
# getty.target didn't actually pull it in.
Before=getty.target
IgnoreOnIsolate=yes
# On systems without virtual consoles, don't start any getty. (Note
# that serial gettys are covered by serial-getty@.service, not this
# unit
ConditionPathExists=/dev/tty0
[Service]
Environment=TERM=linux
# the VT is cleared by TTYVTDisallocate
ExecStart=-/sbin/agetty --noclear -a jay %I 38400
Type=idle
Restart=always
RestartSec=0
UtmpIdentifier=%I
TTYPath=/dev/%I
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
KillMode=process
IgnoreSIGPIPE=no
# Unset locale for the console getty since the console has problems
# displaying some internationalized messages.
Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=
# Some login implementations ignore SIGTERM, so we send SIGHUP
# instead, to ensure that login terminates cleanly.
KillSignal=SIGHUP
[Install]
Alias=getty.target.wants/getty@tty1.servicecat .xinitrc
#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Set brush size scaling
xsetwacom set "Wacom Intuos3 6x8 Pad pad" StripLeftUp "key F"
xsetwacom set "Wacom Intuos3 6x8 Pad pad" StripLeftDown "key D"
amixer -q set "PCM" 45 # Set PCM volume
xmodmap ~/.Xmodmap &
xbindkeys &
xrdb -merge ~/.Xresources # Load Xresources
xset +fp /usr/share/fonts/local
xset fp rehash
setxkbmap fi
xset r rate 300 45 # Keyboard repeat rate
xset m 23/20 0
xsetroot -cursor_name left_ptr
urxvtd -q -o -f
exec awesome
[/quote]
[quote]
cat /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
#!/bin/sh
systemctl --user import-environment DISPLAY XAUTHORITY
if which dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment DISPLAY XAUTHORITY
filibsystemd-login.so was merged in libsystemd.so ages ago? Why does my system think it needs separate files?
I'm running latest 229-3 systemd.
Last edited by ien (2016-03-28 08:50:57)
Offline
Please edit your posts and use code tags instead of quote tags.
As for the problem, have you been fully updating your system? What is the output of
pacman -Q polkitOffline
Ok, problem was that I had polkit-git from 2012, instead of latest polkit.
Everything seems to be working now, thanks.
Offline