- This topic has 3 replies, 2 voices, and was last updated Apr 20-7:06 pm by aledosim.
-
AuthorPosts
-
April 19, 2020 at 8:36 pm #35047Member
aledosim
Hello again 🙂
I’ve opened this thread: https://www.antixforum.com/forums/topic/how-to-change-login-manager/ to know how to proceed on display manager change. Installed LXDM that seems light and fast on my Philco PHN 10103 32bit netbook, I like it. But it cant start the sessions properly.
It doesn’t run the global startup scripts (noted that it runs the window manager specific ones) and when I try to start a “file manager” session (like ROX-IceWM) it crashes displaying a dialog saying “Xsession: unable to launch “rox-icewm” X session — “rox-icewm” not found; falling back to default session.”
I may be wrong, but it seems that antiX’s Slim is configured to execute the desktop-session script when logging in. Perhaps I need to point out to LXDM to execute the same script, but I’m lost.
Any help is appreciated, thanks.April 20, 2020 at 2:37 am #35053Member
Xecure
::This is something I have yet to figure out about using other login managers that are not slim.
We are suposed to tell the login manager to access the antiX specific sessions. Something related to /etc/X11/xsession %session
For Slim: https://www.antixforum.com/forums/topic/antix-core-slim-help/#post-31725For lxdm, you may have to see how to add a reference to /etc/xprofile
https://wiki.archlinux.org/index.php/LXDM#Advanced_Session_ConfigurationI will be trying to figure this out in the next few days, but for lightdm.
If you figure this out, please come back and explain it for us. I would be very interested in having this.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.April 20, 2020 at 12:56 pm #35090Member
aledosim
::Hey there.
I studied LXDM’s Xsession and realized that it detects that it is a Debian system and calls it the system’s default Xsession. But antiX does not use this standard file to start sessions, instead it runs the desktop-session script with the input argument being the session chosen by the user, as can be seen from Slim’s settings.
The solution I found was to change the line where LXDM’s Xsession calls the default file through the antiX script.Replaced this line on /etc/lxdm/Xsession:
# mandriva, debian, ubuntu exec /etc/X11/Xsession "$LXSESSION"with this one:
# mandriva, debian, ubuntu exec /usr/local/bin/desktop-session "$LXSESSION"Initially I made this post to find less intrusive solutions to the problem, as it would be to change the Xsession file somewhere, but with Xecure’s answer it seems to me that the best is this way and that I don’t have much confidence to change the system files (which I see more and more as something bad).
Anyway, I think it is better to create some intermediate script that links the system scripts. The ideal solution would be to incorporate this change into the repository package, how can we do this?April 20, 2020 at 7:06 pm #35118Member
aledosim
::Now I noted that when user choose the default session, it unsuceeds to login and show up the greeter screen again. Its because it passes “startlxde” as argument to Xsession, resulting in some error.
- This reply was modified 3 years ago by aledosim.
-
AuthorPosts
- You must be logged in to reply to this topic.