[X2Go-Dev] Bug#644: x2goserver : The $SSH_CLIENT environment variable is not set
Office NextITLevel GmbH
office at nextitlevel.de
Fri Oct 17 17:24:49 CEST 2014
Package: <x2goserver>
Version: <4.0.1.18-0x2go1+git20141006.949+wheezy.main.1>
$ uname -a
Linux n-ostack-test 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linuxlibc6:armhf 2.13-38+rpi2+de
x2goagent 2:3.5.0.27-0x2go1+git20140701.511+wheezy.main.1
--
Dear X2go Team,
For some reason the SSH_CLIENT environment variable is not set by the ssh-connection.
I looks to me that a newer ssh server on debian does not set the SSH_CLIENT variable anymore.
This variable is needed by x2gostartagent script and later by the x2goserver.
I added manually the variable to the /usr/bin/x2goagent script by adding these lines:
set -- $SSH_CONNECTION
SSH_CLIENT="$1 $2 $4"
export SSH_CLIENT
---
But still the x2goserver did not start. Here is the output from the client side (Raspberry PI):
$ x2goclient --session=lokal
ONMainWindow constructor
primary screen geometry: QRect(0,0 3200x1080)
ONMainWindows constructor finished, home Directory is: "/home/fraroot"
read 3 sessions from config file
start new ssh connection to server: "192.168.1.6" : "22" krb: false
ssh connection ok
continue normal x2go session
executing remote command: "sh -c "export HOSTNAME && x2golistsessions""
"x2gostartagent 1440x900 adsl 16m-jpeg-9 unix-kde-depth_24 de pc105/de 1 D LXDE"
executing remote command: "sh -c "x2gostartagent 1440x900 adsl 16m-jpeg-9 unix-kde-depth_24 de pc105/de 1 D LXDE""
Agent output: "The $SSH_CLIENT environment variable is not set. Aborting session startup.
"
Bus-Zugriffsfehler
------------
The new environment variable is $SSH_CONNECTION and the environment variable $SSH_CLIENT will be gone
in future ssh releases.
I did set the variable in /etc/profile and in /usr/bin/x2goagent, but it did not help.
Attached you find all the output and details about this environment.
Thank you very much and have a nice day,
Franz Lückl
Mobil DE: +49 152 3437 5620
Mobil AT: +43 676 37 00 299
Mobiles Festnetz: +49 69 3487 8985
Fax: +43 1 89 00 2999
mailto:franz at nextitlevel.de
Internet Home Page: http://www.nextitlevel.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x2goclient-error2.txt
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20141017/3d25b919/attachment.txt>
More information about the x2go-dev
mailing list