You are not logged in.
Pages: 1
with my current boot/startup/login method (see below), /etc/profile is not being called. a little bit of googling tells me that /etc/profile is called at startup - but i'd like to know exactly when and by what. is it only called at bash login? what kind of magic does GDM do to call it?
i added a script /etc/rc.d/startx:
#!/bin/bash
case $1 in
start)
su jakob startx&
;;
stop)
killall X
;;
restart)
;;
*)
echo "invalid argument"
esac
and put startx in the DAEMONS array in /etc/rc.conf
Offline
Have your checked that startx is in /etc/rc.d/ folder? . If I remember correct the 'profile' is to be placed at the last position in you grub (menu.lst) of booting kernel.
Offline
/etc/profile is called when you start a login shell, try changing 'su kakob startx &' to 'su - jakob startx &'
Offline
thanks that's what i wanted to know
Offline
Pages: 1