LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Trying to install SLiM (http://www.linuxquestions.org/questions/slackware-14/trying-to-install-slim-4175457727/)

JWJones 04-10-2013 05:35 PM

Trying to install SLiM
 
OK, now that I'm up and running with Slackware, I'm customizing.

I run Xfce only, enabled runlevel:4, which defaults to a VERY generic login manager (xdm?). So, wanting to dive into installing SlackBuilds, I downloaded SLiM, and installed (I think?), following these leads/instructions:

http://slackwiki.com/SLiM
http://slackbuilds.org/repository/14.0/system/slim/
http://slackbuilds.org/howto/

Everything seemed to install OK after running the slim.SlackBuild script in the terminal, and I logged out to test, but there's no SLiM login screen, just the generic (xdm?) still.

There's no "/slim/themes" in "/usr/share". But there are files listed in /tmp that seem to indicate that everything was installed.

How do I troubleshoot/fix my SLiM installation?

dreamwalking 04-10-2013 05:44 PM

According http://docs.slackware.com/howtos:window_managers:slim you have to run xwmconfig before you can use slim (which, apparently, will overwrite your current .xinitrc), maybe try that, if you haven't already?



(Edited:
Ohh, my 100th post :D)

BroX 04-10-2013 05:56 PM

Did you add
Code:

if [ -x /usr/bin/slim ]; then
  exec /usr/bin/slim -nodaemon
fi

to /etc/rc.d/rc.4 as per the instructions?

And what does
Code:

$ which slim
tell you?

EDIT:
If you don't have /usr/share/slim then you did not correctly install slim. Did you run the slackbuild script as root?

JWJones 04-10-2013 05:58 PM

Quote:

Originally Posted by dreamwalking (Post 4929374)
According http://docs.slackware.com/howtos:window_managers:slim you have to run xwmconfig before you can use slim (which, apparently, will overwrite your current .xinitrc), maybe try that, if you haven't already?

I gave that a try, and it didn't work.

JWJones 04-10-2013 06:03 PM

Quote:

Originally Posted by BroX (Post 4929385)
Did you add
Code:

if [ -x /usr/bin/slim ]; then
  exec /usr/bin/slim -nodaemon
fi

to /etc/rc.d/rc.4 as per the instructions?

And what does
Code:

$ which slim
tell you?

EDIT:
If you don't have /usr/share/slim then you did not correctly install slim. Did you run the slackbuild script as root?

Yes, I added that info to rc.4 (double checked, it's there).

Output for $ which slim:

Code:

which: no slim in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/qt/bin:.)

JWJones 04-10-2013 06:07 PM

Quote:

Originally Posted by BroX (Post 4929385)

EDIT:
If you don't have /usr/share/slim then you did not correctly install slim. Did you run the slackbuild script as root?

Yes, pretty sure I did, but there's at least a chance that I may not have. I believe I may have mistakenly tried to do it as a user first, which yielded no output in the terminal, realized what I did, and then ran as root, which did yield output.

BroX 04-10-2013 06:12 PM

So slim is not installed on your system.

Something like this should do it:
Code:

$ wget http://slackbuilds.org/slackbuilds/14.0/system/slim.tar.gz
$ tar xvf slim.tar.gz
$ cd slim
$ wget http://download.berlios.de/slim/slim-1.3.2.tar.gz
$ su -
Password:
# cd /path/to/slim
# ./slim.Slackbuild
# installpkg /tmp/slim-1.3.2-x86_64-1_SBo.tgz


JWJones 04-10-2013 06:24 PM

Quote:

Originally Posted by BroX (Post 4929397)
So slim is not installed on your system.

Something like this should do it:
Code:

# cd /path/to/slim
# ./slim.Slackbuild
# installpkg /tmp/slim-1.3.2-x86_64-1_SBo.tgz


OK, all seems to go well until cd /path/to/slim.

Output:

Code:

root@garcia:~# cd /home/john/slim
root@garcia:/home/john/slim# ./slim.Slackbuild
-su: ./slim.Slackbuild: No such file or directory

The download worked, the file is there, but...?

BroX 04-10-2013 06:27 PM

Maybe the script should be set executable?
Code:

# chmod +x slim.Slackbuild
# ./slim.Slackbuild

I assume slim.Slackbuild does exist in /home/john/slim/ ?

Lilgamesh 04-10-2013 07:08 PM

i guess you have downloaded slim.tar.gz and slim-1.3.2.tar.gz from browser and kept in same folder.

untar silm.tar.gz (tar xvzf)
go to slim directory
move slim-1.3.2.tar.gz file to the slim directory
chmod +x slim.Slackbuild
nuw run slim.slackbuild

txz package will be in /tmp

JWJones 04-10-2013 11:23 PM

Quote:

Originally Posted by BroX (Post 4929405)
Maybe the script should be set executable?
Code:

# chmod +x slim.Slackbuild
# ./slim.Slackbuild

I assume slim.Slackbuild does exist in /home/john/slim/ ?

Yes, it is there.

JWJones 04-10-2013 11:25 PM

Quote:

Originally Posted by Lilgamesh (Post 4929432)
i guess you have downloaded slim.tar.gz and slim-1.3.2.tar.gz from browser and kept in same folder.

untar silm.tar.gz (tar xvzf)
go to slim directory
move slim-1.3.2.tar.gz file to the slim directory
chmod +x slim.Slackbuild
nuw run slim.slackbuild

txz package will be in /tmp

I will give this a try tomorrow, when I return to work. Now, to get this ThinkPad T61 back on Slackware, instead of Linux Mint! I will probably go with KDE on it, however.

JWJones 04-11-2013 10:00 AM

OK, I went back to square one, and successfully got SLiM installed and configured. Thank you everyone for your help!

yenn 04-11-2013 10:05 AM

Quote:

Originally Posted by BroX (Post 4929397)
So slim is not installed on your system.

Something like this should do it:
Code:

$ wget http://slackbuilds.org/slackbuilds/14.0/system/slim.tar.gz
$ tar xvf slim.tar.gz
$ cd slim
$ wget http://download.berlios.de/slim/slim-1.3.2.tar.gz
$ su -
Password:
# cd /path/to/slim
# ./slim.Slackbuild
# installpkg /tmp/slim-1.3.2-x86_64-1_SBo.tgz


This works but why so complicated?

There already is sbopkg (http://docs.slackware.com/howtos:sla...es_with_sbopkg) - CLI tool to handle SlackBuilds from slackbuilds.org

Instead of all steps above, just run as root
Code:

$ sbopkg -i slim
You still have to modify rc.4 and inittab, but sbopkg takes care of the rest.

JWJones 04-11-2013 10:10 AM

Quote:

Originally Posted by yenn (Post 4929793)
This works but why so complicated?

There already is sbopkg (http://docs.slackware.com/howtos:sla...es_with_sbopkg) - CLI tool to handle SlackBuilds from slackbuilds.org

Instead of all steps above, just run as root
Code:

$ sbopkg -i slim
You still have to modify rc.4 and inittab, but sbopkg takes care of the rest.

Good to know, thanks!


All times are GMT -5. The time now is 07:55 PM.