You are not logged in.
Pages: 1
Commands such as iwconfig and wpa_supplicant can no longer be found, however typing the full command eg. /usr/sbin/wpa_supplicant does still work.
From what i have found halt, reboot, telinit and the wireless_tools/wpa_supplicant are the only commands that no longer work, but they could be more.
This happened after setting inittab to start X at boot and uninstalling slim, but i can't think how this would be related.
Thanks
Dinosaw
Last edited by Dinosaw (2010-11-29 21:35:07)
Offline
what do you get when you echo $PATH ?
Hofstadter's Law:
It always takes longer than you expect, even when you take into account Hofstadter's Law.
Offline
You're starting X without starting a login shell. Thus, your PATH is never correctly set by /etc/profile. You'll need to wrap your startx command in a bash login shell, inside the /bin/su call. Something along the lines of...
/bin/su -l userfoo -c 'bash -l -c startx'
Offline
You're starting X without starting a login shell. Thus, your PATH is never correctly set by /etc/profile. You'll need to wrap your startx command in a bash login shell, inside the /bin/su call. Something along the lines of...
/bin/su -l userfoo -c 'bash -l -c startx'
This worked, thanks!
Offline
Pages: 1