Gentoo Archives: gentoo-user

From: Liviu Andronic <landronimirc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] SLiM fails to load Fluxbox
Date: Thu, 16 Apr 2009 07:28:43
Message-Id: 68b1e2610904160028t14f9c9c3nee8357bed5bfb6e8@mail.gmail.com
1 Dear all,
2 I'm using x11-misc/slim as a login manager, and I have troubles with
3 loading any DE other than Xfce. I've followed the wiki entry [1], but
4 I must still be doing something wrong: it fails to load Fluxbox
5 whether I select Fluxbox or Xfce with F1.
6 It's actually quite funny: selecting Fluxbox I get Xfce loaded on top
7 of Fluxbox; in this case, when I log out of Xfce I fall back onto
8 Fluxbox. I suspect that an "xfce" entry is left in some init script,
9 but i cannot figure out where it would be.
10 Thanks,
11 Liviu
12
13 [1] http://en.gentoo-wiki.com/wiki/SLiM
14
15
16 [I] x11-misc/slim
17 Installed versions: 1.3.1-r5(16:01:49 08/04/09)(branding pam screenshot)
18 [I] x11-wm/fluxbox
19 Installed versions: 1.0.0-r2(15:08:30 12/10/08)(gnome imlib nls
20 slit toolbar truetype -kde -vim-syntax -xinerama)
21
22 liviu@localhost ~ $ rc-status default | grep -i xdm
23 xdm [ started ]
24 liviu@localhost ~ $ cat /etc/conf.d/xdm | grep -i slim
25 DISPLAYMANAGER="slim"
26 liviu@localhost ~ $ cat .xinitrc
27 #SLiM session call
28 DEFAULT_SESSION=dbus-launch startxfce4
29
30 case $1 in
31 fluxbox)
32 exec startfluxbox
33 ;;
34 *)
35 exec $DEFAULT_SESSION
36 ;;
37 esac
38
39 # load local modmap
40 test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
41
42 liviu@localhost ~ $ cat /etc/slim.conf | grep -i login_cmd
43 login_cmd exec /bin/bash -login ~/.xinitrc %session
44 liviu@localhost ~ $ cat /etc/slim.conf | grep -i sessions
45 sessions xfce,fluxbox
46 liviu@localhost ~ $ cat /etc/slim.conf | grep -i sessionst
47 #sessionstart_cmd /usr/bin/sessreg -a -l :0.0 %user
48 #sessionstop_cmd /usr/bin/sessreg -d -l :0.0 %user

Replies

Subject Author
Re: [gentoo-user] SLiM fails to load Fluxbox Marc Joliet <marcec@×××.de>