Hi.
I use the nightly build on a 14.04 Ubuntu
Could anyone confim me that resuming/suspending a session is functionnal trough a broker ?
I can resume/suspend a session directly to a x2goserver but i can't with the broker.
Regards
Franck
On 29.05.2015 11:29 AM, "BOTZ Franck (Administrateur Systèmes et Réseaux) - DDT 67/SIDSIC/Pôle Infra" wrote:
Could anyone confim me that resuming/suspending a session is functionnal trough a broker ?
I can resume/suspend a session directly to a x2goserver but i can't with the broker.
I can't confirm or deny anything broker-related, as I have never set it up, but: Did you install x2gobroker-agent? I got told this is a requirement to resume/suspend via a broker (but don't know specifics.)
Mihai
On 29.05.2015 10:19 PM, Mihai Moldovan wrote:
I can't confirm or deny anything broker-related, as I have never set it up, but: Did you install x2gobroker-agent? I got told this is a requirement to resume/suspend via a broker (but don't know specifics.)
Nevermind, your initial mail included all installed packages. x2gobroker-agent was one of them. Hum, I don't know. Maybe there's more work required to make it work, other than installing x2gobroker-agent. There's no information I can offer off-hand, though.
Mihai
Hi Franck,
On Fr 29 Mai 2015 11:29:45 CEST, BOTZ Franck (Administrateur Systèmes
et Réseaux) - DDT 67/SIDSIC/Pôle Infra wrote:
I use the nightly build on a 14.04 Ubuntu
Could anyone confim me that resuming/suspending a session is
functionnal trough a broker ?I can resume/suspend a session directly to a x2goserver but i can't
with the broker.
Resume+Suspend works with the broker version in the nightly builds.
It requires x2gobroker-agent to be installed on X2Go Servers.
It requires a working x2gobroker <-> x2gobroker-agent setup.
It requires a running x2gocleansessions script on the X2Go Servers
(which needs to be activated on non-Debian based installations of X2Go
IIRC).
It requires agent-query-mode=SSH (or LOCAL) to be set in
/etc/x2go/x2gobroker.conf,
... or broker-agent-query-mode=SSH (or LOCAL) to be set in invididual
session profiles.
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi Mike
I'm very happy to see your message !! I test it for 10 days and can't see the resume function working properly.
I connect on the broker with this command : x2goclient --borker-url=ssh://10.0.0.XXX/usr/bin/x2gobroker The server run xfce desktop
When I launch the command i Never see the box which permit to choose resum/supend/or create a new session.
Why ?
--- x2goserver ------------------------------------------------ On x2goserver I installed x2gobroker-agent The list of process that works on x2goserver : avahi 649 0.0 0.0 32344 1640 ? S 08:22 0:00 avahi-daemon: running [xu1404-x2go-server-02.local] root 1217 0.0 0.2 33784 5220 ? S 08:22 0:00 /usr/bin/perl /usr/sbin/x2gocleansessions root 3169 0.0 0.0 18952 932 pts/2 S+ 08:28 0:00 grep --color=auto x2go
I see that the x2gocleansessions is working
dpkg -l | grep x2go
ii python-ecdsa 0.11-1~bpo70+1~0x2go~ubuntu14.04.1 all ECDSA
cryptographic signature library (Python 2)
ii python-paramiko 1.15.1-1~0x2go1~ubuntu14.04.1 all
Make ssh v2 connections with Python (Python 2)
ii x2goagent 2:3.5.0.31-0~605~ubuntu14.04.1 all X2Go agent
ii x2gobroker-agent 0.0.2.3-0~429~ubuntu14.04.1 amd64
X2Go http(s) based session broker (common files)
ii x2goserver 4.0.1.19-0~1064~ubuntu14.04.1 amd64 X2Go
server daemon scripts
ii x2goserver-extensions 4.0.1.19-0~1064~ubuntu14.04.1
all X2Go server daemon scripts (extensions)
ii x2goserver-xsession 4.0.1.19-0~1064~ubuntu14.04.1
all X2Go server daemon scripts (Xsession runner)
--- x2gobroker -------------------------------------------- On x2gobroker the x2gobroker.conf [global] default-session-autologin=false default-authorized-keys=%h/.x2go/authorized_keys default-agent-query-mode=SSH default-portscan-x2goservers = true default-use-load-checker = true load-checker-intervals = 300
[broker_zeroconf] enable = false #auth-mech = pam #user-db = libnss #group-db = libnss #desktop-shell = KDE
[broker_inifile] enable = true session-profiles = /etc/x2go/broker/x2gobroker-sessionprofiles.conf use-load-checker = true
When I open a session with x2gobroker user and open a ssh session on the x2goserver, the session openned with no password authentification because i put the broker .pub key in the x2gobroker authorized_keys file on the x2goserver # su -s /bin/bash x2gobroker x2gobroker@UB1404-X2GO-BROKER:/root$ ssh x2gobroker@10.0.0.XXX Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-53-generic x86_64)
* Documentation: https://help.ubuntu.com/
5 packages can be updated. 0 updates are security updates.
Last login: Fri May 29 10:38:44 2015 from 10.0.0.YYY x2gobroker@xu1404-x2go-server-02:~$
Regards
Franck
Le 30/05/2015 16:23, > Mike Gabriel (par Internet) a écrit :
Hi Franck,
On Fr 29 Mai 2015 11:29:45 CEST, BOTZ Franck (Administrateur Systèmes et Réseaux) - DDT 67/SIDSIC/Pôle Infra wrote:
I use the nightly build on a 14.04 Ubuntu
Could anyone confim me that resuming/suspending a session is functionnal trough a broker ?
I can resume/suspend a session directly to a x2goserver but i can't with the broker.
Resume+Suspend works with the broker version in the nightly builds.
It requires x2gobroker-agent to be installed on X2Go Servers.
It requires a working x2gobroker <-> x2gobroker-agent setup.
It requires a running x2gocleansessions script on the X2Go Servers (which needs to be activated on non-Debian based installations of X2Go IIRC).
It requires agent-query-mode=SSH (or LOCAL) to be set in /etc/x2go/x2gobroker.conf, ... or broker-agent-query-mode=SSH (or LOCAL) to be set in invididual session profiles.
Regards, Mike
Bonjour, Franck!
Tu as écrit:
I'm very happy to see your message !! I test it for 10 days and can't see the resume function working properly.
Well, the fact is, most of the people on this list are currently pretty busy. So apologies for the delay, but paid work takes priority.
I connect on the broker with this command : x2goclient --borker-url=ssh://10.0.0.XXX/usr/bin/x2gobroker The server run xfce desktop
When I launch the command i Never see the box which permit to choose resum/supend/or create a new session.
Why ?
This hints at an incomplete setup of your broker. Installing the packages is not enough, there are a few commands like x2go-keygen and x2gobroker-pubkeyauthorizer that you will have to run manually, with the proper parameters for your setup in place.
Here are some hints where to look if you want to do it on your own:
man x2gobroker-pubkeyauthorizer
man x2gobroker-keygen
http://wiki.x2go.org/doku.php/doc:installation:x2gobroker#x2go_session_broke...
http://wiki.x2go.org/doku.php/wiki:advanced:x2gobroker:loadbalancing
Of course, as Mike#1 already pointed out, commercial support is available, if you have a budget for it. Expect an hourly rate of 110 EUR (+value added tax) and about 1-2 hours of work required to get things set up and explained to you.
Feel free to contact me off-list if you're interested in that. :-)
Cordialement, Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
No problem for the delay ;-)
I'm happy for Mike's answer. He confirm that the resume function works, so I can continue to test x2gobroker.
For the moment, no budget is available :-[
This morning , the resume session works !!
Great !!
Le 01/06/2015 12:46, "> Stefan Baur (par Internet, dépôt x2go-user-bounces@lists.x2go.org)" a écrit :
Bonjour, Franck!
Tu as écrit:
I'm very happy to see your message !! I test it for 10 days and can't see the resume function working properly. Well, the fact is, most of the people on this list are currently pretty busy. So apologies for the delay, but paid work takes priority.
I connect on the broker with this command : x2goclient --borker-url=ssh://10.0.0.XXX/usr/bin/x2gobroker The server run xfce desktop
When I launch the command i Never see the box which permit to choose resum/supend/or create a new session. Why ? This hints at an incomplete setup of your broker. Installing the packages is not enough, there are a few commands like x2go-keygen and x2gobroker-pubkeyauthorizer that you will have to run manually, with the proper parameters for your setup in place.
Here are some hints where to look if you want to do it on your own:
man x2gobroker-pubkeyauthorizer
man x2gobroker-keygen
http://wiki.x2go.org/doku.php/doc:installation:x2gobroker#x2go_session_broke...
http://wiki.x2go.org/doku.php/wiki:advanced:x2gobroker:loadbalancing
Of course, as Mike#1 already pointed out, commercial support is available, if you have a budget for it. Expect an hourly rate of 110 EUR (+value added tax) and about 1-2 hours of work required to get things set up and explained to you.
Feel free to contact me off-list if you're interested in that. :-)
Cordialement, Stefan
x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Hi Franck,
On Di 02 Jun 2015 11:30:16 CEST, BOTZ Franck (Administrateur Systèmes
et Réseaux) - DDT 67/SIDSIC/Pôle Infra wrote:
- broker
- x2gobroker-sessionprofiles.conf
- host=HostName of the server (if I use IP the resume function
did not work)
You can also use
host=HostName (IP-Address)
e.g.
host=server2 (192.168.2.52)
For load balancing
host=server1 (192.168.2.51), server2 (192.168.2.52)
If your DNS system is whacky or DNS is different from /etc/hostname
(e.g., people connect via a gateway), then you can do this:
host=server1 (gateway.company:22051), server2 (gateway.company:22052)
Where server1 and server2 are the actual hostnames of the X2Go Servers
and the host address in parentheses (gateway.company:<port>) is the
host address under which the X2Go Servers can be contacted by the
client.
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi Franck,
On Mo 01 Jun 2015 09:49:10 CEST, BOTZ Franck (Administrateur Systèmes
et Réseaux) - DDT 67/SIDSIC/Pôle Infra wrote:
Hi Mike
I'm very happy to see your message !! I test it for 10 days and
can't see the resume function working properly.I connect on the broker with this command : x2goclient
--borker-url=ssh://10.0.0.XXX/usr/bin/x2gobroker The server run xfce desktopWhen I launch the command i Never see the box which permit to choose
resum/supend/or create a new session.Why ?
Maybe because there is a package named "x2gobroker-ssh" providing
/usr/bin/x2gobroker-ssh. I presume you log into the session broker as
the user who also shall launch the session (and not as the
"x2gobroker" system user).
That x2gobroker-ssh binary is a wrapper that sets the correct
permissions (setuid x2gobroker for all members of the group
x2gobroker-users). Unfortunately, this "hack" is necessary when using
the SSH brokerage functionality in relation with the x2gobroker-agent.
Regards, Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...