You are not logged in.
hi.
I had problem with gdm (gdm gives only a black screen with a clock cursor solved since)
So I login directly from the console by running startx.
But nautilus began to throw errors when attempting to mount or unmount usb keys. 'Not authorized'.
Then I began to use ck-launch-session in .xinitrc with
exec ck-launch-session gnome-session
From what I understand it's the correct use. So nautilus should not have had problem after that. But that's changed nothing
WHY ? I just want to know why ?
Note: it's works now that I login from gdm. But I just want to understand that thing and what's wrong
Last edited by solstice (2011-10-09 18:40:27)
Offline
Offline
yes. I have.
Last edited by solstice (2011-10-09 17:12:30)
Offline
Try putting "dbus-launch" before gnome-session.
Registered Linux user #436067
Offline
It works ! Thanks
That becomes tricky to get all the pieces together to get it working.
I am confused. Then what's the purpose of dbus that I have added to the DAEMONS array in /etc/rc.conf. omg
I'll try to get some doc and found out...
Edit: it creates a dbus session... mmh.
Edit2:
I have used
exec ck-launch-session dbus-launch gnome-session
Is it a correct order ? or
exec dbus-launch ck-launch-session gnome-session
is better ?
Last edited by solstice (2011-10-09 19:06:55)
Offline
https://wiki.archlinux.org/index.php/Xi … us_session says it should be
exec ck-launch-session dbus-launch gnome-session
Edit: LOL - you wrote that part of the wiki yourself :-)
Edit 2:
https://wiki.archlinux.org/index.php/Xfce#Manually says
dbus-launch should actually be called after ck-launch-session, otherwise there will be authorization problems when mounting disks as a regular user, see https://bugs.archlinux.org/task/25031
Last edited by karol (2011-10-09 19:14:21)
Offline
I was going to ask why do I need to run dbus-launch a second time since it is launched from /etc/X11/xinit/xinitrc.d/30-dbus
But that's the culprit. All of this because I have included the snippet
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
in my ~/.xinitrc after seeing it in /etc/skel/.xinitrc
I shouldn't have done that. go figure !
Offline