April 21, 2015, 01:27:42 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
Author Topic: Installing and configureing slim?  (Read 1535 times)
Posts: 17

« on: October 03, 2009, 07:41:08 am »

I want to use Slim (simple login manager) instead of whatever the default is.
I installed it. I couldn't figure out how to use it, so I followed the instructions in this tutorial.

My /etc/inittab now looks like this (sorry about the length):
# /etc/inittab
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
# Originall by Patrick volkerdi (Slackware)
# Modified by Eko M. Budi for Vector Linux
# 0 = halt
# 1 = single user mode : minimum HW
# 2 = multiuser text desktop : network
# 3 = multiuser text server  : network, servers
# 4 = multiuser GUI desktop  : network, X-window
# 5 = multiuser GUI server   : network, servers, X-window
# 6 = reboot
# This is only for VL Dynamite
# 7/8 = autologin boot !     :  HACKING :P
# Default runlevel. (Do not set to 0 or 6 !)

# Single User Mode (runs when system boots).

# Multi User Mode

# Script to run when switching runlevel

# Local initialisation in the end of multiuser

# Kill basic services
k0:0:wait:/etc/rc.d/rc.K   # Halt
k1:1:wait:/etc/rc.d/rc.K   # Single user
k6:6:wait:/etc/rc.d/rc.K   # Reboot


# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -a -t3 -r now

# What to do when power fails (shutdown to single user).
pf::powerfail:/sbin/shutdown -f -h +2 "THE POWER IS FAILING"

# If power is back before shutdown, cancel the running shutdown.
pg:0123456:powerokwait:/sbin/shutdown -c "THE POWER IS BACK"

# If power comes back in single user mode, return to multi user mode.
ps:S:powerokwait:/sbin/init 2

# NOTE NOTE NOTE adjust this to your getty or you will not be
# able to login !!
# Note: for 'agetty' you use linespeed, line.
# for 'getty_ps' you use line, linespeed and also use 'gettydefs'
# 0 is for User Mode Linux only
# 1 is used for autologin, so it is not activated on level 78
#0:12345:respawn:/sbin/mingetty tty0
1:23:respawn:/sbin/mingetty tty1
2:234578:respawn:/sbin/mingetty tty2
3:234578:respawn:/sbin/mingetty tty3
4:234578:respawn:/sbin/mingetty tty4
5:234578:respawn:/sbin/mingetty tty5
6:234578:respawn:/sbin/mingetty tty6

# Separate console for runlevel 1
# So when switching to runlevel 1 everyone will be loged out
c1:1:respawn:/sbin/mingetty tty1
c2:1:respawn:/sbin/mingetty tty2
c3:1:respawn:/sbin/mingetty tty3
c4:1:respawn:/sbin/mingetty tty4
c5:1:respawn:/sbin/mingetty tty5
c6:1:respawn:/sbin/mingetty tty6

# The getties in multi user mode on consoles an serial lines.
# Serial lines
#s1:12345:respawn:/sbin/agetty 19200 ttyS0 vt100
#s2:12345:respawn:/sbin/agetty 38400 ttyS1 vt102

# Dialup lines
#d1:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0 vt100
#d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100

## Launch X for run level 4/5
x:5:respawn:/usr/bin/slim >& /dev/null

# End of /etc/inittab

It works, but I now have two problems. I have to su to root and manually start the wicd daemon, for some reason it doesn't run at startup. When I press the logout button in my window manager (Icewm) it kills all applications but nothing else happens. The only way to logout/shutdown/ is to press the power button on my computer.
Posts: 17

« Reply #1 on: October 04, 2009, 05:21:48 pm »

A couple of days later, I changed my mind... can someone post an original copy of /etc/inittab so that I can reset? I was stupid and forgot to make a backup.
Posts: 3261

-- Just being myself --

« Reply #2 on: October 04, 2009, 05:46:21 pm »

what version of VL you are currently using?
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!