On 04/14/2018 03:35 PM, Ulrich Sibiller wrote:
Info: Agent running with pid '4112'. Session: Starting session at 'Tue Apr 10 01:15:16 2018'. Error: Aborting session with 'Unable to open display 'nx/nx,options=/tmp/.x2go-fangq/C-fangq-...._stDXFCE_dp24/options:51''. Session: Aborting session at 'Tue Apr 10 01:15:16 2018'. Session: Session aborted at 'Tue Apr 10 01:15:16 2018'. I see you are using a rather unusual date format. So I am wondering if the might be related to the locale you are using. Please post the output of the "locale" command.
hi Uli
the locales on both the "working" and "nonworking" machines are en_US.UTF-8, the full output is
*|fangq@neza:~$ locale|*| ||LANG=en_US.UTF-8|| ||LANGUAGE=|| ||LC_CTYPE="en_US.UTF-8"|| ||LC_NUMERIC=en_US.UTF-8|| ||LC_TIME=en_US.UTF-8|| ||LC_COLLATE="en_US.UTF-8"|| ||LC_MONETARY=en_US.UTF-8|| ||LC_MESSAGES="en_US.UTF-8"|| ||LC_PAPER=en_US.UTF-8|| ||LC_NAME=en_US.UTF-8|| ||LC_ADDRESS=en_US.UTF-8|| ||LC_TELEPHONE=en_US.UTF-8|| ||LC_MEASUREMENT=en_US.UTF-8|| ||LC_IDENTIFICATION=en_US.UTF-8|| ||LC_ALL=
| I also dumped the environment variables for the working (env > good.txt) and the non-working (env > bad.txt) and the difference is listed below. the |/space/hoyi/1/users/shared/mesa-10.1.3 |in LD_LIBRARY_PATH enables to run opengl programs in the remote session, I added it to the non-working machine LD_LIBRARY_PATH, but still get the same error message.|
|||*|fangq@taote:~$ diff good.txt bad.txt |*| ||2c2|| ||< XDG_SESSION_ID=4|| ||---|| ||> XDG_SESSION_ID=11|| ||8c8|| ||< XDG_SESSION_COOKIE=1330194a2eadd749c3beabd157520f0a-1523747416.936381-1031780882|| ||---|| ||> XDG_SESSION_COOKIE=1330194a2eadd749c3beabd157520f0a-1523747426.95076-1702226505|| ||10c10|| ||< SSH_CLIENT=173.xx.xx.xx 38437 22|| ||---|| ||> SSH_CLIENT=129.xx.xx.xx 38556 22|| ||13c13|| ||< SSH_TTY=/dev/pts/26|| ||---|| ||> SSH_TTY=/dev/pts/27|| ||15c15|| ||< LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/lib:/pub/lib:/pub/cuda-7.5/lib64:/space/hoyi/1/users/shared/mesa-10.1.3:/usr/lib/x86_64-linux-gnu/mesa:/usr/lib/nvidia-375:/usr/lib/nvidia-387:/usr/lib/nvidia-384|| ||---|| ||> LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/lib:/pub/lib:/pub/cuda-7.5/lib64:/usr/lib/nvidia-375:/usr/lib/nvidia-387:/usr/lib/nvidia-384:/usr/lib/x86_64-linux-gnu|| ||31c31|| ||< SSH_CONNECTION=|||173.xx.xx.xx| 38437 129.xx.xx.xx 22|| ||---|| ||> SSH_CONNECTION=|||129.xx.xx.xx| 38556 129.|||xx.xx.xx| 22|
Qianqian
Uli