LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-10-2013, 05:35 PM   #1
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Question 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?
 
Old 04-10-2013, 05:44 PM   #2
dreamwalking
Member
 
Registered: Dec 2005
Distribution: Slackware 14
Posts: 106

Rep: Reputation: 31
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 )
 
Old 04-10-2013, 05:56 PM   #3
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
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?

Last edited by BroX; 04-10-2013 at 05:58 PM.
 
Old 04-10-2013, 05:58 PM   #4
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Original Poster
Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by dreamwalking View Post
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.
 
Old 04-10-2013, 06:03 PM   #5
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Original Poster
Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by BroX View Post
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:.)
 
Old 04-10-2013, 06:07 PM   #6
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Original Poster
Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by BroX View Post

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.

Last edited by JWJones; 04-10-2013 at 06:08 PM.
 
Old 04-10-2013, 06:12 PM   #7
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
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
 
Old 04-10-2013, 06:24 PM   #8
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Original Poster
Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by BroX View Post
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...?

Last edited by JWJones; 04-10-2013 at 06:25 PM.
 
Old 04-10-2013, 06:27 PM   #9
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
Maybe the script should be set executable?
Code:
# chmod +x slim.Slackbuild
# ./slim.Slackbuild
I assume slim.Slackbuild does exist in /home/john/slim/ ?
 
Old 04-10-2013, 07:08 PM   #10
Lilgamesh
Member
 
Registered: Mar 2013
Posts: 33

Rep: Reputation: Disabled
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
 
Old 04-10-2013, 11:23 PM   #11
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Original Poster
Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by BroX View Post
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.
 
Old 04-10-2013, 11:25 PM   #12
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Original Poster
Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by Lilgamesh View Post
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.
 
Old 04-11-2013, 10:00 AM   #13
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Original Poster
Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
OK, I went back to square one, and successfully got SLiM installed and configured. Thank you everyone for your help!
 
Old 04-11-2013, 10:05 AM   #14
yenn
Member
 
Registered: Jan 2011
Location: Czech Republic
Distribution: Slackware, Gentoo, FreeBSD
Posts: 176

Rep: Reputation: 28
Quote:
Originally Posted by BroX View Post
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.
 
1 members found this post helpful.
Old 04-11-2013, 10:10 AM   #15
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Original Poster
Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by yenn View Post
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!
 
  


Reply

Tags
slackware 14



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install minimal, slim Gnome on Lenny cccc Debian 10 02-11-2011 12:26 PM
[SOLVED] Can't get x-server to work on a slim Lenny install Count Zero Debian 11 09-21-2009 02:18 AM
slim login problem - anyone succeed in configuring slim? rkrishna Slackware 20 02-18-2008 06:50 AM
Slim install? Perhaps even automated? TL_CLD Slackware 7 10-10-2006 04:16 PM
Slim FTP server install help Fuel Slackware 4 09-15-2004 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration