Page 6 of 10

Re: GhostBSD-11 testing the "test" repository

Posted: Wed May 31, 2017 11:50 am
by ASX
NevilleGoddard wrote:Yes, I am. :D
Great! :D
Hang on while I reboot and enable lightdm :mrgreen:
No, let aside slim and lightdm for now ... you should login (text login) and your PATH should already include /sbin and /usr/sbin .... that's the issue.

Re: GhostBSD-11 testing the "test" repository

Posted: Wed May 31, 2017 12:01 pm
by NevilleGoddard
This is a text login, slim and lightdm disabled ooutput of echo $PATH

/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/neville/bin

Re: GhostBSD-11 testing the "test" repository

Posted: Wed May 31, 2017 12:05 pm
by NevilleGoddard
Close to SLiM login but very different to lightdm login and I think the same as lightdm with .xprofile "fix" login

Re: GhostBSD-11 testing the "test" repository

Posted: Wed May 31, 2017 12:08 pm
by ASX
NevilleGoddard wrote:This is a text login, slim and lightdm disabled ooutput of echo $PATH

/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/neville/bin
This look correct, but is not the same you reported a couple of posts ago:
viewtopic.php?f=98&t=706&start=40#p3973

Re: GhostBSD-11 testing the "test" repository

Posted: Wed May 31, 2017 12:21 pm
by NevilleGoddard
Yes, ASX you're correct it is not the same.
Under SLiM, Lightdm and text login the echo $PATH outputs are all different however.
I'll check SLiM output again soon.

Re: GhostBSD-11 testing the "test" repository

Posted: Wed May 31, 2017 12:32 pm
by ASX
NevilleGoddard wrote:I did an install of FreeBSD11 with no fish and lightdm

echo $PATH returns:

/usr/local/bin:/usr/bin:/bin

I'll try now with slim enabled
what changed between above and below ?
NevilleGoddard wrote:This is a text login, slim and lightdm disabled ooutput of echo $PATH

/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/neville/bin

Re: GhostBSD-11 testing the "test" repository

Posted: Wed May 31, 2017 12:41 pm
by NevilleGoddard
The above echo $PATH output is when logged in with lightdm and then in a terminal entering "echo $PATH"

The below entry is a text login (no SLiM, no lightdm login) opening a terminal then entering "echo $PATH"

Re: GhostBSD-11 testing the "test" repository

Posted: Wed May 31, 2017 12:43 pm
by NevilleGoddard
So the difference is I used lightdm to log in
So the login manager changes the echo $PATH output

Re: GhostBSD-11 testing the "test" repository

Posted: Wed May 31, 2017 12:47 pm
by NevilleGoddard
When I use SLiM to login this is the echo $PATH output:

/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin

I have to log off now :) it's almost 1.00 am here.

Re: GhostBSD-11 testing the "test" repository

Posted: Wed May 31, 2017 12:49 pm
by ASX
NevilleGoddard wrote:So the difference is I used lightdm to log in
Ok, look like I misunderstood your sentence: "no fish and lightdm" as "no fish and NO lightdm".

Now, that it is clarified that the default login will contain /sbin and /usr/sbin .. to me it looks like
lightdm is overwriting/redefining the PATH so that it will contain only:

"/usr/local/bin:/usr/bin:/bin"

we are getting there ... now, the next question is:

where/when (related to lightdm) the PATH is redefined ?
I have to log off now :) it's almost 1.00 am here.
So early ? :mrgreen: :D