Page 1 of 1

Slim can not switch windowmanagers

Posted: 11. Jan 2021, 08:15
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.

Re: Slim can not switch windowmanagers

Posted: 11. Jan 2021, 12:36
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.

Re: Slim can not switch windowmanagers

Posted: 11. Jan 2021, 19:08
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.