GhostBSD-11 testing the "test" repository

Open development discussions

Moderator: Developer

Re: GhostBSD-11 testing the "test" repository

Postby ASX » Wed May 31, 2017 10: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.
ASX
Developer
 
Posts: 971
Joined: Wed May 06, 2015 11:46 am
Has thanked: 58 times
Been thanked: 130 times

Re: GhostBSD-11 testing the "test" repository


Re: GhostBSD-11 testing the "test" repository

Postby NevilleGoddard » Wed May 31, 2017 11:01 am

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: 339
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 74 times
Been thanked: 43 times

Re: GhostBSD-11 testing the "test" repository

Postby NevilleGoddard » Wed May 31, 2017 11:05 am

Close to SLiM login but very different to lightdm login and I think the same as lightdm with .xprofile "fix" login
NevilleGoddard
Developer
 
Posts: 339
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 74 times
Been thanked: 43 times

Re: GhostBSD-11 testing the "test" repository

Postby ASX » Wed May 31, 2017 11:08 am

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
ASX
Developer
 
Posts: 971
Joined: Wed May 06, 2015 11:46 am
Has thanked: 58 times
Been thanked: 130 times

Re: GhostBSD-11 testing the "test" repository

Postby NevilleGoddard » Wed May 31, 2017 11:21 am

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.
NevilleGoddard
Developer
 
Posts: 339
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 74 times
Been thanked: 43 times

Re: GhostBSD-11 testing the "test" repository

Postby ASX » Wed May 31, 2017 11:32 am

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
ASX
Developer
 
Posts: 971
Joined: Wed May 06, 2015 11:46 am
Has thanked: 58 times
Been thanked: 130 times

Re: GhostBSD-11 testing the "test" repository

Postby NevilleGoddard » Wed May 31, 2017 11:41 am

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: 339
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 74 times
Been thanked: 43 times

Re: GhostBSD-11 testing the "test" repository

Postby NevilleGoddard » Wed May 31, 2017 11:43 am

So the difference is I used lightdm to log in
So the login manager changes the echo $PATH output
NevilleGoddard
Developer
 
Posts: 339
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 74 times
Been thanked: 43 times

Re: GhostBSD-11 testing the "test" repository

Postby NevilleGoddard » Wed May 31, 2017 11:47 am

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.
NevilleGoddard
Developer
 
Posts: 339
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 74 times
Been thanked: 43 times

Re: GhostBSD-11 testing the "test" repository

Postby ASX » Wed May 31, 2017 11:49 am

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
ASX
Developer
 
Posts: 971
Joined: Wed May 06, 2015 11:46 am
Has thanked: 58 times
Been thanked: 130 times

PreviousNext

Return to Development Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron