[X2go-Dev] resuming fails: "x2gogetagent" not found

Patrick Willam p.willam at gmx.de
Sat Jul 30 01:18:09 CEST 2011


Mistyped the topic; now corrected. Full paste of body below.
Sorry for any inconveniences! X-/
------------------------------------------------------------

Nice day to everyone!

Regarding: x2goserver 3.0.99.5-0~x2go3+wheezy~heuler~20110728~182~build1

If "x2gogetagent" is to keep its place below ".../lib/x2go/" then the
following change seems appropriate, because otherwise session-resuming
fails with error-message "x2gogetagent not found".

.../bin/x2goresume-session (upstream):
  30
  31 X2GO_AGENT_PID=`x2gogetagent $SESSION_NAME`
  32
  33 X2GO_ROOT=${HOME}/.x2go
  34 X2GO_RESIZE=0
  35 X2GO_FULLSCREEN=0
  36
  37 X2GO_LIB_PATH=`echo -n \$(x2gobasepath)/lib/x2go`
  38

.../bin/x2goresume-session (fixed):
  30
  31 X2GO_ROOT=${HOME}/.x2go
  32 X2GO_LIB_PATH=`echo -n \$(x2gobasepath)/lib/x2go`
  33 X2GO_AGENT_PID=`${X2GO_LIB_PATH}/x2gogetagent $SESSION_NAME`
  34
  35 X2GO_RESIZE=0
  36 X2GO_FULLSCREEN=0
  37

Best wishes and happy hacking!
Patrick



More information about the x2go-dev mailing list