You are not logged in.

#1 2012-09-29 11:03:06

Lowra
Member
Registered: 2009-09-21
Posts: 192

[SOLVED] Use ck-launch-session dbus-launch when X starts at login

Hey
I hope this will be my last thread for a few days:

My "DE" is Openbox + PCManFM.
In order to mount my external hard drive in PCManFM, Openbox has to be started with "ck-launch-session dbus-launch exec openbox-session" in my .xinitrc.

When I was using manual login to virtual console + the startx command, mounting my external hdd worked flawlessly.

But now, I've set up a automatic login + automatic start of X at login following these articles, and it doesn't work anymore:
https://wiki.archlinux.org/index.php/Au … al_console
https://wiki.archlinux.org/index.php/Start_X_at_Boot

So here's my question: How can I use Automatic login to virtual console + start x at boot + the ck-launch-session dbus-launch commands to get everything to work ?

I've blindly tried to put ck-launch-session dbus-launch in my Openbox's autostart file, but it wasn't successful.

Thank you, Archers !

Last edited by Lowra (2012-09-29 12:22:10)

Offline

#2 2012-09-29 11:27:02

2ManyDogs
Member
Registered: 2012-01-15
Posts: 1,658

Re: [SOLVED] Use ck-launch-session dbus-launch when X starts at login

What's in your .xinitrc file ?

Offline

#3 2012-09-29 11:36:15

Lowra
Member
Registered: 2009-09-21
Posts: 192

Re: [SOLVED] Use ck-launch-session dbus-launch when X starts at login

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

exec ck-launch-session dbus-launch openbox-session
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

Offline

#4 2012-09-29 11:37:59

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] Use ck-launch-session dbus-launch when X starts at login

remove dbus-launch, it is started from /etc/X11/xinit/xinitrc.d/*

Offline

#5 2012-09-29 12:21:38

Lowra
Member
Registered: 2009-09-21
Posts: 192

Re: [SOLVED] Use ck-launch-session dbus-launch when X starts at login

65kid wrote:

remove dbus-launch, it is started from /etc/X11/xinit/xinitrc.d/*

Solved, thanks to this, thank you 65kid yikes !

Offline

Board footer

Powered by FluxBB