Hi

I explain more the issue

My configuration
  * x2goserver with postgressql database on a xubuntu 14.04 64 bits
  * x2gobroker on a ubuntu 12.04 64 bits

When I connect directly to the x2goserver, the resume function can be used with no pb. If a session is open, a dialog box open which propose to terminate a session, resume a session, or create a new session.

This was exactly what I need, in production mode I want to have, at least, 2 x2goserver and session must be restored.

Then I install the broker.

When I connect trough the broker x2goclient --broker-url=ssh://xx.yy.zz.aa:22/usr/bin/x2gobroker, I can open sessions but no dialog box appear to choose a session opened before.

The command  ps aux | grep ddt67 | grep nx run a the x2goserver give me :
ddt67 346 0.0 0.0 24436 552 ? S 15:14 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session ddt67 2987 0.0 1.0 185132 20556 ? S 12:54 0:05 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/ddt67/.Xauthority -name X2GO-ddt67-50-1432637659_stDXFCE_dp24 :50 ddt67 3199 0.0 0.0 24436 288 ? S 12:54 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session ddt67 8057 0.0 0.8 202360 18056 ? S 13:13 0:04 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/ddt67/.Xauthority -name X2GO-ddt67-51-1432638816_stDXFCE_dp24 :51 ddt67 8269 0.0 0.0 24436 288 ? S 13:13 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session ddt67 9674 0.0 1.2 199376 24912 ? S 13:14 0:04 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/ddt67/.Xauthority -name X2GO-ddt67-52-1432638895_stDXFCE_dp24 :52 ddt67 9907 0.0 0.0 24436 288 ? S 13:14 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session ddt67 11160 0.1 4.7 202300 96476 ? S 14:47 0:01 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/ddt67/.Xauthority -name X2GO-ddt67-56-1432644477_stDXFCE_dp24 :56 ddt67 11296 0.0 2.5 202468 51580 ? S 13:19 0:04 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/ddt67/.Xauthority -name X2GO-ddt67-53-1432639194_stDXFCE_dp24 :53 ddt67 11383 0.0 0.0 24436 536 ? S 14:48 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session ddt67 11531 0.0 0.0 24436 288 ? S 13:19 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session ddt67 12487 0.0 3.6 172500 73908 ? S 14:49 0:01 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/ddt67/.Xauthority -name X2GO-ddt67-57-1432644565_stDXFCE_dp24 :57 ddt67 12728 0.0 0.0 24436 536 ? S 14:49 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session ddt67 26087 0.0 3.6 171852 74840 ? S 13:59 0:03 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/ddt67/.Xauthority -name X2GO-ddt67-54-1432641565_stDXFCE_dp24 :54 ddt67 26326 0.0 0.0 24436 532 ? S 13:59 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session ddt67 26944 0.0 3.7 182100 77232 ? S 13:59 0:02 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/ddt67/.Xauthority -name X2GO-ddt67-55-1432641589_stDXFCE_dp24 :55 ddt67 27162 0.2 1.7 123060 35872 ? S 15:07 0:01 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/ddt67/.Xauthority -geometry 800x600 -name X2GO-ddt67-58-1432645629_stDXFCE_dp24 :58 ddt67 27181 0.0 0.0 24436 532 ? S 13:59 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session ddt67 27480 0.0 0.0 24436 532 ? S 15:07 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session ddt67 31223 0.4 4.1 187472 85476 ? S 15:12 0:01 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/ddt67/.Xauthority -name X2GO-ddt67-59-1432645971_stDXFCE_dp24 :59 ddt67 31479 0.0 0.0 24436 552 ? S 15:12 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session ddt67 32556 0.3 3.5 182968 72776 ? S 15:13 0:00 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/ddt67/.Xauthority -name X2GO-ddt67-60-1432646035_stDXFCE_dp24 :60

We can see lots of opened sessions which can be closed or resumed with a direct connexion from the client to the server.

If you need more information (logs, conf file, ...) tell me.

Any Idea ?

Regards

Franck

Information about x2go component version:

Client
  * ii x2goclient 4.0.4.0-0~1038~ubuntu12.04.1

Broker
* ii python-ecdsa 0.11-1~bpo70+1~0x2go~ubuntu12.04.1 ECDSA cryptographic signature library (Python 2) * ii python-paramiko 1.15.1-1~0x2go1~ubuntu12.04.1 Make ssh v2 connections with Python (Python 2) * ii python-six 1.8.0-1~bpo70+1~0x2go~ubuntu12.04.1 Python 2 and 3 compatibility library (Python 2 interface) * ii python-urllib3 1.7.1-1build1~x2go1~ubuntu12.04.1 HTTP library with thread-safe connection pooling for Python * ii python-x2gobroker 0.0.3.0-0~920~ubuntu12.04.1 X2Go Session Broker (Python modules) * ii x2gobroker 0.0.3.0-0~920~ubuntu12.04.1 X2Go Session Broker (executable) * ii x2gobroker-agent 0.0.3.0-0~920~ubuntu12.04.1 X2Go Session Broker (remote agent) * ii x2gobroker-authservice 0.0.3.0-0~920~ubuntu12.04.1 X2Go Session Broker (PAM authentication service) * ii x2gobroker-daemon 0.0.3.0-0~920~ubuntu12.04.1 X2Go Session Broker (standalone daemon) * ii x2gobroker-wsgi 0.0.3.0-0~920~ubuntu12.04.1 X2Go Session Broker (WSGI)

Broker : x2gobroker.conf
    [global]
    use-static-cookie = false
    auth-timeout = 36000
    verify-ip = true
    enable-plain-output = true
    default-agent-query-mode=SSH

    [broker_zeroconf]
    enable = false

    [broker_inifile]
    enable = true
    session-profiles = /etc/x2go/broker/x2gobroker-sessionprofiles.conf
    use-load-checker = false

Broker : x2gobroker-sessionprofiles.conf
    [DEFAULT]
    defsndport=true
    sound=true
    print=true
     fullscreen=true
    applications=
    link=auto
    setdpi=96
    pack=16m-jpeg
    user=
    type=auto
    rootless=false
    xinerama=1
    layout=
    broker-session-autologin=false
    usebrokerpass=true

    [xfce]
    host=10.67.0.184
    name=xfce
    command=XFCE

Server :
* ii libx2go-log-perl 4.1.0.0-0~1278~ubuntu14.04.1 all Perl X2Go::Log package * ii libx2go-server-db-perl 4.1.0.0-0~1278~ubuntu14.04.1 amd64 Perl X2Go::Server:DB package * ii libx2go-server-perl 4.1.0.0-0~1278~ubuntu14.04.1 all Perl X2Go::Server package * 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.32-0~634~ubuntu14.04.1 all X2Go agent * ii x2gobroker-agent 0.0.3.0-0~920~ubuntu14.04.1 amd64 X2Go Session Broker (remote agent) * ii x2goserver 4.1.0.0-0~1278~ubuntu14.04.1 amd64 X2Go server daemon scripts * ii x2goserver-common 4.1.0.0-0~1278~ubuntu14.04.1 amd64 X2Go Server (common files) * ii x2goserver-extensions 4.1.0.0-0~1278~ubuntu14.04.1 all X2Go Server (extension support) * ii x2goserver-fmbindings 4.1.0.0-0~1278~ubuntu14.04.1 all X2Go Server (file manager bindings) * ii x2goserver-printing 4.1.0.0-0~1278~ubuntu14.04.1 all X2Go server (printing support) * ii x2goserver-xsession 4.1.0.0-0~1278~ubuntu14.04.1 all X2Go Server (Xsession runner)

Server x2goserver.conf
    [limit users]
    #user-foo=1

    [limit groups]
    #bar-group=1

    [security]
# SSHFS umask for client-side folder sharing. Leave uncommented to keep the server's default umask
    #umask="0117"

    [superenicer]
# enable the SupeReNicer code in x2gocleansessions, this will renice suspended sessions to nice level 19 # and renice them to level 0 if the session becomes marked as running again...
    enable=no

    # list of users that shall never be reniced
    #ignored_users=

# force renicing of the complete user, don't set it to 'yes' unless you know what you are doing
    #force-user-renice=no

    # the normal nice level (for running sessions)
    #normal-nice-level=0

    # the idle nice level (for suspended sessions)
    #idle-nice-level=19

    [telekinesis]
# telekinesis provides a bidirectional communication framework between X2Go Client
    # and X2Go Server
    enable=no

    [log]
# possible levels are: emerg, alert, crit, err, warning, notice, info, debug
    loglevel=notice

Le 22/05/2015 15:05, "> BOTZ Franck (Administrateur Systèmes et Réseaux) - DDT 67/SIDSIC/Pôle Infra (par Internet, dépôt [email protected])" a écrit :
Hi.

When I open a session x2goclient -> x2goserver there is no problem to resume a session

When I open a session x2goclient -> x2gobroker -> x2goserver it is not possible to resume a session.

Any idea ?

Regards

Franck
_______________________________________________
x2go-user mailing list
[email protected]
http://lists.x2go.org/listinfo/x2go-user


_______________________________________________
x2go-user mailing list
[email protected]
http://lists.x2go.org/listinfo/x2go-user
  • ... BOTZ Franck (Administrateur Systèmes et Réseaux) - DDT 67/SIDSIC/Pôle Infra
    • ... BOTZ Franck (Administrateur Systèmes et Réseaux) - DDT 67/SIDSIC/Pôle Infra

Reply via email to