You are not logged in.

#1 2010-05-21 22:00:09

keither
Member
Registered: 2009-07-31
Posts: 57

[SOLVED]xfce and fluxbox in slim

Hello all. I run Arch 64 with Xfce4, and my login manager in SLiM. I wanted to paly around with fluxbox, and it would be nice if I could start more than one environment from SLiM. I think I followed the directions on the wiki, but when I select fluxbox it just sends me to Xfce anyway. (SLiM also sends me to Xfce when I comment everything out so the exec startfluxbox is the only think in my xinitrc file). I've posted the relevant config files.

/etc/skel/.xinitrc

case $1 in
xfce4)
        exec startxfce4
        ;;
fluxbox)
        exec startfluxbox
        ;;
*)
        exec startxfce4
        ;;
esac

/etc/slim.conf

...
login_cmd           exec /bin/bash -login ~/.xinitrc %session
...
sessions            xfce4,fluxbox
...

Last edited by keither (2010-05-22 17:37:29)

Offline

#2 2010-05-21 22:14:54

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: [SOLVED]xfce and fluxbox in slim

You need to edit YOUR .xinitrc (/home/<user>/.xinitrc). Skel stores default configuration files for new users.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2010-05-22 17:24:02

keither
Member
Registered: 2009-07-31
Posts: 57

Re: [SOLVED]xfce and fluxbox in slim

Whoops. Okay, so when I edit MY .xinitrc so that only exec startfluxbox is uncommented, I can start up in fluxbox. However, when I use the lines above to try and switch between environments, I have the same problem again -- it just takes me back to Xfce no matter what I select.

Offline

#4 2010-05-22 17:37:05

keither
Member
Registered: 2009-07-31
Posts: 57

Re: [SOLVED]xfce and fluxbox in slim

Actually, false alarm. I forgot to uncomment exex startxfce4 at the top. Problem solved.

Offline

Board footer

Powered by FluxBB