You are not logged in.
Ever since ConsoleKit has now been removed from the repositories whenever I start SpaceFM I get prompted for a password:
Automount: /usr/bin/udisksctl mount -b /dev/sde1 -o 'noexec,nosuid,noatime'
==== AUTHENTICATING FOR org.freedesktop.udisks2.filesystem-mount ===
Authentication is required to mount Kingston DataTraveler 108 (/dev/sde1)
Authenticating as: wfdwfd
Password: I'm booting with systemd so is there a dot file I need to configure or a utility I need to install to have SpaceFM automount my USBs and DVDs without the need to enter a password?
Last edited by KairiTech (2012-11-04 22:37:43)
Offline
I think it is because your user session is not authorised due to consolekit removal.
What output do you get from
loginctl show-session $XDG_SESSION_ID
Offline
I had the same issue to begin with , i used to do startx to enter desktop, but after reading around i found i now have to use "xinit -- vt01" to log to desktop now it all works again.
Certified Android Junkie
Arch 64
Offline
I think it is because your user session is not authorised due to consolekit removal.
What output do you get from
loginctl show-session $XDG_SESSION_ID
See below...and below that what's in my .zshrc...
Id=6
Timestamp=Sun, 2012-11-04 15:39:25 EST
TimestampMonotonic=396926895
DefaultControlGroup=name=systemd:/user/wfdwfd/6
VTNr=1
TTY=tty1
Remote=no
Service=login
Leader=3374
Audit=6
Type=tty
Class=user
Active=no
State=online
KillProcesses=no
IdleHint=no
IdleSinceHint=1352061565756529
IdleSinceHintMonotonic=396896690
Name=wfdwfdif [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]
then
if [[ ! -e /tmp/.X0-lock ]]
then
xinit /usr/bin/dbus-launch openbox-session
fi
exit
fiOffline
smakked, update your system - startx works fine now, the required parameters are now provided by /etc/X11/xinit/xserverrc.
KairiTech, how do you start your X session? Active=no in your loginctl output means you're not working in a valid session.
Offline
KairiTech, is your X really running on tty1? I have similar problems on my pc and 'loginctl show-session' gives the same output as yours, but it seems I am actually running on tty2. Ctrl-alt F2 takes me to X and F1 to the login shell. $XDG_VTNR also says I am on 1 though.
Offline
KairiTech, is your X really running on tty1? I have similar problems on my pc and 'loginctl show-session' gives the same output as yours, but it seems I am actually running on tty2. Ctrl-alt F2 takes me to X and F1 to the login shell. $XDG_VTNR also says I am on 1 though.
You are exactly right. [Ctrl]-[Alt]-[F1] takes me to login shell and [Ctrl]-[Alt]-[F2] to X.
I start X with ...
xinit /usr/bin/dbus-launch openbox-sessionHow do I fix that?
Offline
Use startx, as I recommended to smakked above.
Offline
Thanks all. A little mix and match of all of your suggestions and it works with...
exec xinit /usr/bin/dbus-launch openbox-session -- vt1Mostly I seemed to have had the '-- vt1' in the wrong place.
Thanks again.
Offline
Nice, that fixed things for me as well.
Thanks ![]()
Offline
I actually want to do something opposite. I am using SpaceFM as desktop manager but I do not want it to automount (I already have devmon for that). Is it possible to disable automounting while still having it run in the background?
Offline
Thanks all. A little mix and match of all of your suggestions and it works with...
exec xinit /usr/bin/dbus-launch openbox-session -- vt1Mostly I seemed to have had the '-- vt1' in the wrong place.
I realize that this is marked "solved" but: isn't a dbus session launched for us if we pull in /etc/X11/xinit/xinitrc.d in ~/.xinitrc?
So, if one has
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fiin one's ~./xinitrc, it will run
/etc/X11/xinit/xinitrc.d/30-dbus(which you can look up) for one?
I had a script similar to that in my ~/.xinitrc for a while. Then, one supposedly doesn't need "dbus-launch [whatever]". One does need to start X on the same console one has logged in on, though. I have this
# straight to X
vt=$(fgconsole 2>/dev/null)
(( vt == 1 )) && startx -- vt$vt &> ~/.xlog
unset vtas the last item in ~/.bashrc which I found somewhere on the wiki; seems to work.
Am I making too much of this? I like things simple.
Last edited by Antoine (2012-11-20 20:12:38)
Offline