Oelmüller, Christoph schreef:
Hi,
we are sporadically encoutering problems starting the x2goagent:
session.log says:
NXAGENT - Version 3.3.0
Copyright (C) 2001, 2007 NoMachine. See http://www.nomachine.com/ for more information.
Info: Agent running with pid '21323'. Session: Starting session at 'Wed Aug 19 12:09:46 2009'. Info: Proxy running in server mode with pid '21323'. Info: Waiting for connection from 'localhost' on port '1053'. Info: Aborting the procedure due to signal '1'. Error: Aborting session with 'X2goagent: Unable to open display 'nx/nx,options=/home/9ffc8ff2/.recobs/options:17''. Session: Aborting session at 'Wed Aug 19 12:10:19 2009'. Session: Session aborted at 'Wed Aug 19 12:10:19 2009'.
the options file looks like this:
nx/nx,link=adsl,pack=16m-jpeg-8,limit=0,root=/home/9ffc8ff2/.recobs,cache=8M,images=32M,type=unix-kde-depth_32,id=Recobs-Agent,cookie=cd36e6c69a09ce555b5204a7c576045c,errors=/home/9ffc8ff2/.recobs/session.log,keyboard=de,kbtype=pc105/de,keybd=0,geometry=800x600,resize=0,fullscreen=0,accept=localhost,listen=1053:17
commandline starting the agent is:
RECOBS_HOST=nx/nx,link=adsl,pack=${RECOBS_PACK},limit=0,root=${SESSION_DIR},cache=8M,images=32M,type=unix-kde-depth_32,
id=Recobs-Agent,\ cookie=${COOKIE},errors=${SESSION_DIR}/session.log,keyboard="de",kbtype="pc105/de",
keybd="0",\ geometry="800x600",resize=0,fullscreen=0,accept=localhost,listen=$GR_TUNNEL_PORT echo "${RECOBS_HOST}:${RECOBS_PORT}" >${SESSION_DIR}/optionsDISPLAY=nx/nx,options=${SESSION_DIR}/options:${RECOBS_PORT} export DISPLAY
# ... LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/lib/x2go" export LD_LIBRARY_PATH
# add x-authorization xauth add ${HOSTNAME}/unix:${RECOBS_PORT} MIT-MAGIC-COOKIE-1 ${COOKIE} xauth add ${HOSTNAME}:${RECOBS_PORT} MIT-MAGIC-COOKIE-1 ${COOKIE}
# start agent NX_AGENT=":${RECOBS_PORT}" $AGENT_BIN -R -geometry 800x600 -name "ReCoBS-Browser-Session" ${NX_AGENT} 2>${SESSION_DIR}/session.log &
ssh-tunnel from client is estabished when starting the agent.
Any hints?! Do you know a manpage/documentation/... where the mentioned signals (...due to signal '1') are described?
We are just using the your/nx components x2goagent incl. libs on server side. On client side we are using your nxproxy.exe, taken from your nxclient for windows package, but that shouldn't matter at this point.
Unfortunally the failure doesn't happen reproducable :-(
The only hint I can give is Google for the error, and you will see you are not alone. I know people using FreeNX have sometimes the same problem. Maybe there is a solution, I don't know.
Searching the knoledgebase of Nomachine is another idea.
With regards, Paul van der Vlis.