Hi !
I'm new in x2go installation/utilisation.
I start with install a x2go server on a precise distribution
- add "precise" repository : OK
- Install x2goserver : OK
- Open a session with a client an a local/winbind username : OK
- Start application : OK
- Resume a session from an other client an a local/winbind username: OK
- Start a session from a client with an ADSL connexion : OK
This first exprience is very great !! The next step is to install a
broker and connect it the server.
I follow this page :
http://wiki.x2go.org/doku.php/doc:installation:x2gobroker
What I have doing :
First of all I install x2gobroker-daemon. No problem
I create a SSL certificats
Next I modify /etc/defaults/daemon
- START_BROKER=true
- DAEMON_BIND_ADDRESS=ww.xx.yy.zz:8080
- X2GOBROKER_DEBUG=1
- X2GOBROKER_SSL_CERTFILE=/etc/x2go/broker/ssl/broker.crt
- X2GOBROKER_SSL_KEYFILE=/etc/x2go/broker/ssl/broker.key
/etc/x2go/x2gobroker.conf
- [global]
- check-credentials = false
- enable-plain-output = true
- enable-uccs-output = false
- default-session-autologin=true
- default-authorized-keys=%h/.x2go/authorized_keys
- default-agent-query-mode=SSH
- [zeroconf]
- enable = false
- [inifile]
- enable = true
- session-profiles = /etc/x2go/broker/x2gobroker-sessionprofiles.conf
I modify the broker /etc/ssh/sshd_config
- AuthorizedKeysFile %h/.x2go/authorized_keys
- restart the SSH broker daemon
Modify /etc/x2go/broker/x2gobroker-sessionprofiles.conf
- [DEFAULT]
- command=TERMINAL
- defsndport=true
- useiconv=false
- iconvfrom=UTF-8
- height=600
- export=
- quality=9
- fullscreen=false
- layout=
- useexports=true
- width=800
- speed=2
- soundsystem=pulse
- print=true
- type=auto
- sndport=4713
- xinerama=true
- variant=
- usekbd=true
- fstunnel=true
- applications=TERMINAL,WWWBROWSER,MAILCLIENT,OFFICE
- multidisp=false
- sshproxyport=22
- sound=true
- rootless=true
- iconvto=UTF-8
- soundtunnel=true
- dpi=96
- sshport=22
- setdpi=0
- pack=16m-jpeg
- directrdp=false
- [pool-A-server-A]
- user=
- host=ww.xx.yy.aa
- name=UNITY - pool-A (srv-A)
- command=unity
- broker-session-autologin=true
I restart the x2gobroker-daemon service
I install x2gobroker-wsgi
- But no configuration as made
- Did I install apache2 before ?
On the broker
On the server
- x2gobroker-pubkeyauthorizer --broker-url
https://ww.xx.yy.zz:8080/pubkeys
- The pub is in /var/lib/x2gobroker/.ssh/authorized_keys file
- For this installation I not configure a postgresql database
On a client
x2go-INFO-1> "Starting x2goclient..."
x2go-INFO-4> "Translator: :/x2goclient_fr_fr installed."
x2go-INFO-5> "Translator: :/qt_fr_FR installed."
x2go-DEBUG-../httpbrokerclient.cpp:70> Setting up connection to broker:
"https://ww.xx.yy.zz:8080/plain/inifile/"
x2go-INFO-3> "Started x2goclient."
x2go-DEBUG-../onmainwindow.cpp:490> "$HOME=/home/franck"
x2go-DEBUG-../onmainwindow.cpp:3018> Starting broker request.
x2go-DEBUG-../httpbrokerclient.cpp:249> called getUserSessions:
brokeruser: "test" authid: ""
x2go-DEBUG-../httpbrokerclient.cpp:262> sending request:
"task=listsessions&user=test&password=test%21adm&authid="
x2go-DEBUG-../httpbrokerclient.cpp:557> sslError, code:"Le certificat
n'est pas sécurisé car auto-signé":
x2go-DEBUG-../httpbrokerclient.cpp:487> Broker HTTP request failed with
error: "Error downloading https://ww.xx.yy.zz:8080/plain/inifile/ -
server replied: Internal Server Error"
x2go-DEBUG-../onmainwindow.cpp:1474> Close event received.
x2go-INFO-6> "Closing x2goclient..."
x2go-DEBUG-../onmainwindow.cpp:1327> Saving settings...
x2go-DEBUG-../onmainwindow.cpp:1336> Saved settings.
x2go-INFO-7> "Closed x2goclient."
x2go-DEBUG-../onmainwindow.cpp:503> Destroying x2goclient...
x2go-DEBUG-../onmainwindow.cpp:506> Destroyed x2goclient.
I've got an Internal server error. But why ? And how can I solve it ?
- List of installed paquets
python-ecdsa 0.11-1~bpo70+1~0x2go~ubuntu12.04.1 ECDSA
cryptographic signature library (Python 2)
python-paramiko 1.15.1-1~0x2go1~ubuntu12.04.1 Make ssh
v2 connections with Python (Python 2)
python-six 1.8.0-1~bpo70+1~0x2go~ubuntu12.04.1 Python 2 and 3
compatibility library (Python 2 interface)
python-x2gobroker 0.0.2.3-0~429~ubuntu12.04.1 X2Go
http(s) based session broker (Python modules)
x2gobroker 0.0.2.3-0~429~ubuntu12.04.1 X2Go
http(s) based session broker (executable)
x2gobroker-authservice 0.0.2.3-0~429~ubuntu12.04.1 X2Go http(s)
based session broker (PAM authentication service)
x2gobroker-daemon 0.0.2.3-0~429~ubuntu12.04.1 X2Go
http(s) based session broker (daemon)
x2gobroker-wsgi 0.0.2.3-0~429~ubuntu12.04.1 X2Go http(s)
based session broker (CGI)
Any help will be appreciated
Best regards
Franck