[問題] 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