Re: GhostBSD-11 testing the "test" repository
Posted: Tue May 30, 2017 12:41 pm
I think I may have fixed the PATH problem in lightdm.
Logging in with lightdm the network icon is normal now and ifconfig now returns normal output.
The way I fixed it was to copy some lines from the .profile file in the "file system" section I think it's called HOME/.profile.
My .profile has this:
# $FreeBSD: releng/11.0/etc/root/dot.profile 278616 2015-02-12 05:35:00Z cperciva $
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:~/bin
export PATH
HOME=/root
export HOME
TERM=${TERM:-xterm}
export TERM
PAGER=more
export PAGER
I copied these lines:
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:~/bin
export PATH
into the .xprofile file in my home folder
my .xprofile now looks like this:
#!/bin/sh
setxkbmap -layout jp -variant OADG109A
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:~/bin
export PATH
the command echo $PATH under fish and lightdm now returns:
/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin /home/neville/bin
I hope this is a fix. I haven't found any adverse effects from this change.
Logging in with lightdm the network icon is normal now and ifconfig now returns normal output.
The way I fixed it was to copy some lines from the .profile file in the "file system" section I think it's called HOME/.profile.
My .profile has this:
# $FreeBSD: releng/11.0/etc/root/dot.profile 278616 2015-02-12 05:35:00Z cperciva $
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:~/bin
export PATH
HOME=/root
export HOME
TERM=${TERM:-xterm}
export TERM
PAGER=more
export PAGER
I copied these lines:
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:~/bin
export PATH
into the .xprofile file in my home folder
my .xprofile now looks like this:
#!/bin/sh
setxkbmap -layout jp -variant OADG109A
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:~/bin
export PATH
the command echo $PATH under fish and lightdm now returns:
/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin /home/neville/bin
I hope this is a fix. I haven't found any adverse effects from this change.