x2go - Linux

Table of Contents

大家好..小弟日前在一臺工作站(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
==============================

感恩~




--

All Comments

Agnes avatarAgnes2018-07-23
第一行就錯了 .bash_profile不是指令
Rebecca avatarRebecca2018-07-26
.bash_profile的內容是用vi print出來的
Rae avatarRae2018-07-28
我在猜是.bash_profile裡面有PATH變數錯誤, 所以有指令找
不到
Genevieve avatarGenevieve2018-07-29
可是出現 bash: .bash_profile: command not found ...
Rae avatarRae2018-08-01
如果第一行用 # 註解還是有問題就可以排除 1F 的說法了