[问题] x2go (已解决)

楼主: Piin (过去 现在与未来)   2018-07-19 10:53:55
大家好..小弟日前在一台工作站(centos7)上安装了x2goserver
之前工作一切良好,但是在最近重新开机之后,从client用x2go client连线
开始抱怨
"connection failed. bash: .bash_profile: command not found"
小弟家目录底下的的.bash_profile长得如下,也已经重新yum remove/install x2go了
不知有没有任何建议可以解决这个问题?
==============================
.bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin:$HOME/GAMIT_GLOBK/gamit/bin:
$HOME/GAMIT_GLOBK/com:$HOME/GAMIT_GLOBK/kf/bin:/bin:/etc:
export PATH
==============================
感恩~
作者: Adama (So Say We All.)   2018-07-19 10:58:00
第一行就错了 .bash_profile不是指令
楼主: Piin (过去 现在与未来)   2018-07-19 12:16:00
.bash_profile的内容是用vi print出来的我在猜是.bash_profile里面有PATH变量错误, 所以有指令找不到
作者: holishing   2018-07-19 13:15:00
可是出现 bash: .bash_profile: command not found ...如果第一行用 # 注解还是有问题就可以排除 1F 的说法了

Links booklink

Contact Us: admin [ a t ] ucptt.com