Re: [X2Go-User] [INTERNET] Re: x2gobroker resume session
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 desktop When 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.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgp3_cZEh55Jx.pgp Description: Digitale PGP-Signatur ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] [INTERNET] Re: x2gobroker resume session
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_broker_agent 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 signature.asc Description: OpenPGP digital signature ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] [INTERNET] Re: x2gobroker resume session
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 ?S08:22 0:00 avahi-daemon: running [xu1404-x2go-server-02.local] root 1217 0.0 0.2 33784 5220 ?S08:22 0:00 /usr/bin/perl /usr/sbin/x2gocleansessions root 3169 0.0 0.0 18952 932 pts/2S+ 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.1all 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.1amd64X2Go 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) The x2gobroker-agent is installed - --- 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 x2gobro...@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:~$ 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 python-x2gobroker 0.0.3.0-0~920~ubuntu14.04.1all X2Go Session Broker (Python modules) ii x2gobroker 0.0.3.0-0~920~ubuntu14.04.1all X2Go Session Broker (executable) ii x2gobroker-authservice 0.0.3.0-0~920~ubuntu14.04.1 all X2Go Session Broker (PAM authentication service) - 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 ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user