LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 02-16-2008, 08:19 AM   #16
/y0shi
Member
 
Registered: Jan 2006
Location: berlin, germany
Distribution: slackware 12.0
Posts: 58
Thanked: 0

[Log in to get rid of this advertisement]
Just because the thread is so SLiM I wanted to tell how good SLiM works on several slackware 12 boxes I configured.

You simply have to run make && make install

or you can even instead of make install run make DESTDIR=/tmp/slimpkg install and than go there and run makepkg slim-1.3.0-i686-1.tgz (for example).

If you installed that package or did run make install you have a file /etc/slim.conf in there I do "deamon no" and "hidecursor true" you can chose a default user there and so one ...

In /etc/inittab you can chose runlevel 4 as default and than I change my /etc/rc.d/rc.4 so it matches the following:

Code:
#! /bin/sh
#
# rc.4          This file is executed by init(8) when the system is being
#               initialized for run level 4 (XDM)
#
# Version:      @(#)/etc/rc.d/rc.4      2.00    02/17/93
#
# Author:       Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
# At least 47% rewritten by:  Patrick J. Volkerding <volkerdi@slackware.com>
#

# Tell the viewers what's going to happen...
echo "Starting up X11 session manager..."
if [ -x /usr/bin/slim ]; then 
  exec /usr/bin/slim
fi  

# Try to use GNOME's gdm session manager.  This comes first because if
# gdm is on the mac[...]
And because I'm lacy enought I usually do something like that:
Code:
cp my_favorit_picture.jpg /usr/share/slim/themes/default/background.jpg
/y0shi is offline     Reply With Quote
Old 02-18-2008, 02:17 AM   #17
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 642
Thanked: 3

Original Poster
/y0shi
thank you for the help, right now i am using wdm, haev to try slim too, but my only problem was to, get it running. i think i even tried editing the rc.4 file. i have to check once again. anyway thank you for your information, it will also help others who wanted to make slim their login manager

regards
rkrishna is offline     Reply With Quote
Old 02-18-2008, 02:27 AM   #18
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 3,697
Thanked: 103
You can test run slim (or wdm) by booting normally into runlevel 3. Then login as root and just run display manager. This will at least tell if it's working. If it does start, you can then check if it works for runlevel 4 by editing your rc.4 file as needed. Then from a console give the command 'init 4'. If it works (at least to let you login) but you need/want to change something or re-test, after logging in from the GUI as root, open a terminal and run 'init 5'. This will kill the display manager and return you to the command-line login. To re-test run 'init 4' again. this makes it easier to be sure you have got things working right before commiting to booting up in runlevel 4.
gnashley is offline     Reply With Quote
Old 02-18-2008, 02:46 AM   #19
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 793
Blog Entries: 2
Thanked: 0
Quote:
open a terminal and run 'init 5'
You mean init 3.
simcox1 is offline     Reply With Quote
Old 02-18-2008, 07:27 AM   #20
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 3,697
Thanked: 103
No, actually I menat 'init 5'. Trying to switch to runlevel 3 from runlevel 4 can cause lockups. If youn really need to be back in runlevel 3 after being in runlevel 4, you can run 'init 3' after logging in from runlevel 5 -but this shouldn't be necessary as runlevel 5 and 3 are setup the same for Slackware. I'm not sure why it doesn't always work to switch directly from 4 to 3 and not all setups will show this problem, but still it seems to be a safer way to exit from runlevel 4.
gnashley is offline     Reply With Quote
Old 02-18-2008, 07:50 AM   #21
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 642
Thanked: 3

Original Poster
Quote:
No, actually I menat 'init 5'. Trying to switch to runlevel 3 from runlevel 4 can cause lockups
that was a new information. i always tried init3, and i never cared about the outcomes.
but all other linuxes use init 5 for graphical login manager

i tried slim from telinit 3 and it caused some problem. wil try slim later
rkrishna is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
How to slim Linux? veeruk101 Linux - General 14 08-28-2009 09:35 PM
Slim down Kaffeine Ashrack Linux - Software 5 04-09-2007 04:48 PM
USB Scanner Genius ColorPage-HR7X Slim problem theMagus Linux - Hardware 1 12-15-2006 03:47 PM
SLiM & WDM problem soupnazi.tar.gz Slackware 1 07-07-2006 06:28 AM
New Slim Distro's available! therion12 Linux - Distributions 5 01-15-2002 10:42 AM


All times are GMT -5. The time now is 10:45 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration