You are not logged in.

#1 2012-01-21 06:55:03

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,634
Website

Make a multiboot OB and Fluxbox entry without login manager

In this scenario you don't use a login manager but grub to choose your session and you login automatically or sign in.
Main advantage : it is much faster.

1. Edit  in your boot partiton in /boot/grub/menu.lst

title      ArchBang Linux OB
root       (hd0,10)
kernel     /boot/vmlinuz-linux root=/dev/sda11 ro noresume 4
initrd     /boot/initramfs-linux.img

title      ArchBang Linux Fluxbox
root       (hd0,10)
kernel     /boot/vmlinuz-linux root=/dev/sda11 ro noresume 5
initrd     /boot/initramfs-linux.img

2.In etc/inittab
change

x:5:once:/bin/su paul -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"

to

x:45:once:/bin/su paul -l -c "/bin/bash --login -c startx >/dev/null 2>&1"

Note in stead of a 5  a 45.

3. in /home/user/.xinitrc
replace

exec ck-launch-session openbox-session

with

rl=$(runlevel | grep -o [0-6])

case $rl in
    4) exec openbox-session;;
    5) exec startfluxbox;;
esac

Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

Board footer

Powered by FluxBB