x11/slim-1.3.0-r1 won't log me in because of a session error Reproducible: Always Steps to Reproduce: 1. use openrc-0.2.5 2. etc-update of rc.conf 3. start slim over xdm 4. try to log in Actual Results: slim comlains about unavailable sessions Expected Results: slim should log me in It happened after updating rc.conf. I noticed that XSESSION var was missing since update and added it again. Slim needs this var to know which session to use, in my case it was XSESSION="Xfce4".
AFAIK, XSESSION has nothing to do with slim. When I used slim, I defined in /etc/slim.conf: login_cmd exec /bin/bash -login ~/.xinitrc %session sessions fluxbox,blackbox,e17 Then my ~/.xinitrc contained something like: case "$1" in fluxbox) exec fluxbox ;; blackbox) exec blackbox ;; e17) exec e ;; esac How are you handling your login with slim? @x11: maybe the lack of XSESSION concerns you with xinit or others?
XSESSION gets used when running startx/xinit. If slim runs one of those behind the scenes, it could be influenced.
XSESSION is now defined in /etc/env.d/90xsession. Users can override it in ~/.xinitrc as usual. This is documented in the openrc migration guide [1] which is mentioned in openrc's pkg_postinst. [1] http://www.gentoo.org/doc/en/openrc-migration.xml
(In reply to comment #3) > XSESSION is now defined in /etc/env.d/90xsession. Users can override it in > ~/.xinitrc as usual. > > This is documented in the openrc migration guide [1] which is mentioned in > openrc's pkg_postinst. > > [1] http://www.gentoo.org/doc/en/openrc-migration.xml Right, but setting XSESSION in /etc/env.d/90xsession also triggered "Cannot execute login command" in slim.
Pascal, could you attach /etc/slim.conf and ~/.xinitrc here?
Created attachment 158947 [details] slim.conf
yup, here it is. Used ~/.xinitrc only for compiz-fusion but haven't it installed at the moment thus it doesn't exists. Using still XSESSION var
(In reply to comment #7) > yup, here it is. Used ~/.xinitrc only for compiz-fusion but haven't it > installed at the moment thus it doesn't exists. > > Using still XSESSION var > So, you set Xsession in /etc/env.d/90xsession like the docs described and the problem went away? Anyway, I just switched to openrc myself and had no problems..so, I'm going to resolve this one because I don't know what is wrong.