Slim can not switch windowmanagers

Post Reply
PelleB
Posts: 70
Joined: 21. Sep 2010, 05:44

Slim can not switch windowmanagers

Post by PelleB »

Slim seems unable to start anything but Openbox. I have added the sessiondir to slim.conf, I can cycle through the alternatives using F1, but whatever I choose, I get Openbox.

I tried to use GDM in stead (by changing the order in rc4), but I get Slim anyway.

I think the best solution would be try replace Slim, but how do I do that? GDM is preinstalled, so I would expect it to work, but I might try someting else too.

Per B.
djemos
Salix Warrior
Posts: 1448
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Slim can not switch windowmanagers

Post by djemos »

Gdm has problems because it is an old version. I recompiled but because of elogind cannot login to X. Slim cannot switch window-managers as gdm. To use gdm included in iso and not recompiled package and see if it works for you, type
sudo chmod 644 /usr/bin/slim
sudo init 3
login as user and type
sudo init 4 to go to gdm
to go back to slim
sudo chmod 755 /usr/bin/slim
sudo init 3
login as user and type
sudo init 4

Can edit /etc/slim.conf and add the line if does not exist
sessions xfce4,icewm-session,wmaker,blackbox
and also edit ~/.dmrc and change Session= to whatever you like. e.g. openbox, xfce etc to change default session. Of course xfce or wmaker etc have to be installed.
run xwmconfig to choose window manager.
PelleB
Posts: 70
Joined: 21. Sep 2010, 05:44

Re: Slim can not switch windowmanagers

Post by PelleB »

Thanks again, now it works!

Slim should be able to read /usr/share/xsessions and run whatever is chosen.

As for now, I will stay with GDM. I will put more effort into configuring Salix 15, whenever it comes.
Post Reply