You are not logged in.
Pages: 1
Hello ![]()
No idea what the hell has changed in my system to break this... but I think it's a PATH issue.
Basically, whenever I try and issue modprobe I get 'command not found' the same result from lspci and rc.d
I exported /usr/sbin locally in my user's .bashrc which fixed the lspci issue, however I'm still unable to run modprobe, even as root? :S
Like I said, I haven't been messing around with PATH variables at all, so I have no idea what caused this.
If someone could just possibly advise how I can get my bash back to the 'standard' configuration on a global scope I'd really appreciate it!
I just want it to be how it was when I first installed Arch, no custom exports or anything....
Many thanks in advance, any help is greatly appreciated!
Last edited by Starfall (2012-03-25 17:54:44)
Visit my blog and my DeviatArt page
Offline
What exactly is your $PATH set to at the moment? What does your /etc/profile look like? Any forgotten changes to /etc/profile.d? When you
su -can't you still run modprobe? What does
which modprobesay?
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Thanks for the response bohomil.
My path:
[$] echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbinNo changes to /etc/profile,d that I know of
Running modprobe using su - still reports that there's no command found
Using which to search for modprobe states that it's not found, both under my user account and under root ![]()
Don't know how the hell I borked this! D:
Visit my blog and my DeviatArt page
Offline
Don't know how the hell I borked this! D:
That's why it's so pretty. ![]()
Are you sure you have kmod installed properly? (That's a low level question, I know, but if you can't access it from the root account...)
Edit: ...and if you do have it, are the bin files executable?
Last edited by bohoomil (2012-03-25 17:04:46)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
![]()
I do have kmod installed
And they should be?
The only major changes I've made recently is changing my session manager, I switched from Slim to LightDM... but I'm pretty sure that wouldn't have an effect like this!
I really do think its just a PATH problem, because I used to be able to run these commands with no issues, then, randomly I can't. So when I exported sbin into my user's bashrc, I was able to run lspci, so I think it's the same issue with modprobe ![]()
Visit my blog and my DeviatArt page
Offline
Maybe check if things look better if your run X with startx?
Edit: For testing & emergency purposes I always have a generic X session option in my .xinitrc. Try launching X with
exec xterm -geometry 80x60+0+0 -name loginand check if you have access to modprobe then.
Last edited by bohoomil (2012-03-25 17:17:13)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
The only major changes I've made recently is changing my session manager, I switched from Slim to LightDM... but I'm pretty sure that wouldn't have an effect like this!
Guess again: https://wiki.archlinux.org/index.php/LightDM
Offline
Very interesting...
I started X with startx from tty1, ran a few tests... everything works as desired/expected ![]()
What the f*ck is LightDM doing? Haha
Visit my blog and my DeviatArt page
Offline
So now check the solution provided under karol's link. ![]()
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Ah crap... I didn't even see karol's post 
 Awesome, I'll check it out ![]()
Visit my blog and my DeviatArt page
Offline
What the f*ck is LightDM doing? Haha
Teaching you what 'butterfly effect' is all about: very small actions can have extremely complex effects ;P
Offline
Starfall wrote:What the f*ck is LightDM doing? Haha
Teaching you what 'butterfly effect' is all about: very small actions can have extremely complex effects ;P
Haha! Well, all in all, inadvertent lesson learned! It's all working now thanks to your link! ![]()
Visit my blog and my DeviatArt page
Offline
Pages: 1