Slim login manager in -Current
I had Slim working with the latest -Current updates, but that was with a package I built before updating.
I borked my system yesterday and had to do a fresh install. Now I can't get Slim working. I tried running the Slim SlackBuild from Slackbuilds.org, and it failed without giving any errors. I figured out that the problem was with this section: Code:
( cd $PKG Code:
( cd $PKG Anyway, now the package builds successfully, but Slim won't start. My system just hangs at a black screen after 'Starting up X11 session manager...' Has anybody been able to get Slim working in -Current? |
MMmmmm
I been having issues with my Slim stuff too I got Slim from SBOpkg as you did it boinked at startup and I had to get sysvinit-scripts from SalixOS (thanks gapan) which adds a place for slim before gdm,etc in /etc/rc.d/rc.4 heres my rc.4 Code:
#! /bin/sh see here too http://www.linuxquestions.org/questi...07#post3852707 |
Thanks for the quick response.
So you have Slim working on the latest Slackware-Current with a package you built on the latest Current? Because I already added something similar to my rc.4 and Slim fails to start. (black screen) EDIT: I see some libpng errors in /var/log/slim.log I'll try rebuilding slim against libpng 1.4.0 and see if it fixes the problem. |
Yes definitely upgrade libpng. I don't use -current but I know libpng was recently fixed.
|
Piratesmack
yes, I have Slim in Absolute-Live http://linux.softpedia.com/get/Syste...SB-55041.shtml and also in almost all my *buntu/debian/slack installs the auto login as root or user is feature not found elseware |
1 Attachment(s)
Compiling against libpng 1.4.0 didn't help.
Attached is my Slim.log |
Not sure if this was a good idea, but I patched the Makefile to use /usr/include/libpng14 instead of /usr/include/libpng12 and now it works!
I just added "sed -i 's/png12/png14/g' Makefile" to the SlackBuild |
Well, first of all, SlackBuilds are only tested on the stable version of Slackware, like 13.0, not on the -current version.
If you run -current, you are supposed to be able to change source code, mess around with bash scripts, etc. :) But, I have SLiM running on -current, after applying the following patch to the png.c file that is included in the source: Code:
--- slim-1.3.1_orig/png.c 2008-09-25 21:54:15.000000000 -0300 |
@piratesmack: We posted at the sabe time :)
Your patch uses the newer libpng, my patch uses the older header file. Both ways it should work I guess. I preferred to point at the older libpng, as SLiM was working with the older lib previously, so less chance of surprises! |
Thanks for the patch, niels.horn.
Glad to have this working. |
All times are GMT -5. The time now is 04:17 AM. |