SBo's SLiM login manager vs. Xfce (Slackware 14.0)
Hi,
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 did find something that works, sort of.
Edit my users' ~/.xinitrc like this: Code:
exec startxfce4 Correct me if I'm wrong... or if this seems too unorthodox. |
Hello,
Have you tried running xwmconfig again? I had to do that when I used slim and it solved the problem. |
Quote:
|
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.
|
Quote:
'exec startxfce' seems to work (as you stated), but my auto-generated .xinitrc (by xwmconfig) looks like this: Code:
# Slackware -current (14RC2) |
Quote:
|
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.. |
Quote:
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. 5) Enjoy. SLiM is easily themable. There's an excellent HOWTO on the site. |
And since we just initiated the Slackware Documentation Project, I just published a more detailed explanation there.
http://docs.slackware.com/howtos:slim Enjoy. |
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. The patch: Code:
zcat mandir.fix.patch.gz UPD: This is for SLiM version 1.3.4, and you want to change SlackBuild follow: Code:
cmake \ |
All times are GMT -5. The time now is 08:02 PM. |