Gentoo Archives: gentoo-user

From: Marc Joliet <marcec@×××.de>
To: Gentoo-User ML <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] SLiM fails to load Fluxbox
Date: Thu, 16 Apr 2009 15:56:59
Message-Id: 20090416175629.4330673b@marcec.huntemann.uni-oldenburg.de
In Reply to: [gentoo-user] SLiM fails to load Fluxbox by Liviu Andronic
1 Am Thu, 16 Apr 2009 09:28:26 +0200
2 schrieb Liviu Andronic <landronimirc@×××××.com>:
3
4 > Dear all,
5 > I'm using x11-misc/slim as a login manager, and I have troubles with
6 > loading any DE other than Xfce. I've followed the wiki entry [1], but
7 > I must still be doing something wrong: it fails to load Fluxbox
8 > whether I select Fluxbox or Xfce with F1.
9 > It's actually quite funny: selecting Fluxbox I get Xfce loaded on top
10 > of Fluxbox; in this case, when I log out of Xfce I fall back onto
11 > Fluxbox. I suspect that an "xfce" entry is left in some init script,
12 > but i cannot figure out where it would be.
13 > Thanks,
14 > Liviu
15 >
16 > [1] http://en.gentoo-wiki.com/wiki/SLiM
17 >
18 >
19 > [I] x11-misc/slim
20 > Installed versions: 1.3.1-r5(16:01:49 08/04/09)(branding pam screenshot)
21 > [I] x11-wm/fluxbox
22 > Installed versions: 1.0.0-r2(15:08:30 12/10/08)(gnome imlib nls
23 > slit toolbar truetype -kde -vim-syntax -xinerama)
24 >
25 > liviu@localhost ~ $ rc-status default | grep -i xdm
26 > xdm [ started ]
27 > liviu@localhost ~ $ cat /etc/conf.d/xdm | grep -i slim
28 > DISPLAYMANAGER="slim"
29 > liviu@localhost ~ $ cat .xinitrc
30 > #SLiM session call
31 > DEFAULT_SESSION=dbus-launch startxfce4
32 ^^^^^^^^^^^^^^^^^^^^^^
33 This sets DEFAULT_SESSION to dbus-launch and then executes startxfce4. That
34 would explain why you have fluxbox and xfce both started simultaneously. You
35 need to put the whole thing in quotes, like so:
36
37 DEFAULT_SESSION="dbus-launch startxfce4"
38
39 >
40 > case $1 in
41 > fluxbox)
42 > exec startfluxbox
43 > ;;
44 > *)
45 > exec $DEFAULT_SESSION
46 > ;;
47 > esac
48 >
49 > # load local modmap
50 > test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
51 >
52 > liviu@localhost ~ $ cat /etc/slim.conf | grep -i login_cmd
53 > login_cmd exec /bin/bash -login ~/.xinitrc %session
54 > liviu@localhost ~ $ cat /etc/slim.conf | grep -i sessions
55 > sessions xfce,fluxbox
56 > liviu@localhost ~ $ cat /etc/slim.conf | grep -i sessionst
57 > #sessionstart_cmd /usr/bin/sessreg -a -l :0.0 %user
58 > #sessionstop_cmd /usr/bin/sessreg -d -l :0.0 %user
59
60 HTH
61 --
62 Marc Joliet
63 --
64 Lt. Frank Drebin: "It's true what they say: cops and women don't mix. Like
65 eating a spoonful of Drāno; sure, it'll clean you out, but it'll leave you
66 hollow inside."

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] SLiM fails to load Fluxbox Liviu Andronic <landronimirc@×××××.com>