GhostBSD-11 testing the "test" repository

Open development discussions

Moderator: Developer

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: GhostBSD-11 testing the "test" repository

Post by ASX » Wed May 31, 2017 11:50 am

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.

NevilleGoddard
Developer
Posts: 393
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 3 times
Been thanked: 1 time

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Wed May 31, 2017 12:01 pm

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

NevilleGoddard
Developer
Posts: 393
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 3 times
Been thanked: 1 time

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Wed May 31, 2017 12:05 pm

Close to SLiM login but very different to lightdm login and I think the same as lightdm with .xprofile "fix" login

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: GhostBSD-11 testing the "test" repository

Post by ASX » Wed May 31, 2017 12:08 pm

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

NevilleGoddard
Developer
Posts: 393
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 3 times
Been thanked: 1 time

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Wed May 31, 2017 12:21 pm

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.

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: GhostBSD-11 testing the "test" repository

Post by ASX » Wed May 31, 2017 12:32 pm

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

NevilleGoddard
Developer
Posts: 393
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 3 times
Been thanked: 1 time

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Wed May 31, 2017 12:41 pm

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"

NevilleGoddard
Developer
Posts: 393
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 3 times
Been thanked: 1 time

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Wed May 31, 2017 12:43 pm

So the difference is I used lightdm to log in
So the login manager changes the echo $PATH output

NevilleGoddard
Developer
Posts: 393
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 3 times
Been thanked: 1 time

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Wed May 31, 2017 12:47 pm

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.

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: GhostBSD-11 testing the "test" repository

Post by ASX » Wed May 31, 2017 12:49 pm

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

Post Reply