[SOLVED] SBo's SLiM login manager vs. Xfce (Slackware 14.0)
SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
SBo's SLiM login manager vs. Xfce (Slackware 14.0)
On one of my machines, I have Slackware 14.0RC2 with Xfce. Until now, I've always more or less used GDM as login manager, but I want to try something new (following a general "the-less-GNOME-the-better" idea).
I added the according stanza in /etc/rc.d/rc.4 to start SLiM, switched manually to init4 and got the SLiM connection window OK.
But when I try to login with my user, I only get a brief "Failed to execute login command", and then there's the SLiM window again.
So what's the thing to do after a stock SLiM installation?
I haven't tried Slim on SW 14, but I think shutdown and restart wont work with XFCE. Something about new PolicyKit. But please do let us know how that went.
I guess XFCE internally use D-Bus and ConsoleKit to reboot and shutdown (http://pifostap.org.ua/blog/2011/12/...down-dbus.html). In -current (few changelogs before 14.0 RC's) every window manager got updated .xinitrc so it now starts D-Bus (for DE-independent auto-mounting deamons).
OK, I did quite a lot of experimenting, and I got it right finally. I started from SBo's SlackBuild script and made a few - essentially cosmetic - alterations to it.
The trick here was to run 'xwmconfig' as simple user, of course. Which generated a nice ~/.xinitrc. Now everything works fine, logout and reboot buttons work with Xfce, and I have built a nice custom login splash for my "Microlinux Enterprise Desktop".
I tried Slim recently, but it seemed to take more time and effort to get through to the desktop.
Like most pretty things, there's usually a cost involved..
I'd compare it to the NVidia driver. When you don't know how to install it, you can spend a whole afternoon pulling your hair out. But when you know it, it's done in less than two minutes, and it's dead easy.
1) Install SBo's slim, as it comes. Use 'sbopkg' maybe.
2) Edit /etc/rc.d/rc.4 and add the stanza you can find in README.Slackware in SBo's build.
3) As a normal user, run 'xwmconfig' and choose your desktop environment (Xfce, WindowMaker, ...). This will create a ~/.xinitrc file that JustWorks(tm).
4) Eventually, set initdefault to 4 in /etc/inittab if you haven't already done that.
SLiM is easily themable. There's an excellent HOWTO on the site.
Thanks to kikinovak, your thread and link in the post #11 is helpful to me.
I can add the a small patch, which changes location of the manpages from default /usr/share/man to /usr/man. Most of the Slackware packages have this. Thanks and sorry for my english.