Hi Mike,

I am getting closer to a working setup :) Adding the parameters, of course, helped. The Wiki doesn't tell about these so I am going to add that later on. About the parameters though:

http://***.***.***.***/x2gobroker/plain/inifile?user=mathias&password=**********

=> Access granted.


http://***.***.***.***/x2gobroker/plain/inifile?user=mathias&password=**********&task=listsessions

=> 500: Internal Server Errror

root@x2gobroker:/var/log/x2gobroker# tail -f -n 0 /var/log/x2gobroker/*
==> /var/log/x2gobroker/access.log <==

==> /var/log/x2gobroker/access.log.1 <==

==> /var/log/x2gobroker/authservice.log <==

==> /var/log/x2gobroker/authservice.log.1 <==

==> /var/log/x2gobroker/broker.log <==

==> /var/log/x2gobroker/broker.log.1 <==

==> /var/log/x2gobroker/error.log <==

==> /var/log/x2gobroker/wsgi.log <==

==> /var/log/x2gobroker/broker.log <==
2013-10-08 05:45:28,142 - broker - WARNING - GET http request detected, if unwanted: disable X2GOBROKER_DEBUG
2013-10-08 05:45:28,147 - broker - INFO - client address is 79.249.103.51
2013-10-08 05:45:28,148 - broker - DEBUG - username: mathias, password: XXXXX, task: listsessions, profile_id: 2013-10-08 05:45:28,149 - broker - DEBUG - base_broker.X2GoBroker.get_authentication_mechanism(): found default-auth-mech in global config section: pam 2013-10-08 05:45:28,149 - broker - DEBUG - base_broker.X2GoBroker._do_authenticate(): authenticating user=mathias with password=<hidden> against backend=inifile. 2013-10-08 05:45:28,149 - broker - DEBUG - connecting to authentication service socket /run/x2gobroker/x2gobroker-authservice.socket 2013-10-08 05:45:28,150 - broker - DEBUG - sending username=mathias, password=<hidden>, service=x2gobroker to authentication service 2013-10-08 05:45:28,165 - broker - INFO - authentication against PAM service »x2gobroker« succeeded for user »mathias« 2013-10-08 05:45:28,166 - broker - DEBUG - base_broker.X2GoBroker.check_access(): result of authentication check is: True


x2goclient --broker-url=http://***.***.***.***/x2gobroker/plain/inifile

Shows me a login screen but then says login failed with the same error messages on the server as above.


About the nightly builds: I need to get this working quickly. Once that is done I will play with the nightly.

cheers
Mathias



On 10/05/2013 02:44 PM, Mike Gabriel wrote:
Hi Mathias,

----- Original message -----

the installation works now, thanks! I left most of the configuration at
defaults but changed to iniconf and enabled debug mode. Following the
instructions to browse http://IP:80/x2gobroker/plain/iniconf shows this
HTML:

<html><title>404: Not Found</title><body>404: Not Found</body></html>
May this be related to using a wrong URL? It has to be inifile, not iniconf.

In the meantime, apache shows this
[...]

It's a bit confusing to see "X2GOBROKER_DEBUG: False" and then "if
unwanted: disable X2GOBROKER_DEBUG". First line makes me think debug is
not enabled, second says it is. But the real problem for now is that I
expected to see the contents
/etc/x2go/broker/x2gobroker-sessionprofiles.conf but saw 404 instead.

Wrong expectations, or misconfiguration? :D
First, you have to give some parameters:

<URL>?user=<user>&password=<pw>&task=listsessions

If that is not somewhere in the wiki, then please add that piece of 
information. Thanks

Then, you should really try out the version from the nightly builds which I am 
about to release (0.0.3.0). It would be cool if you could play with that one, 
because the we can get some more fixes into 0.0.3.0.

Greets,
Mike

_______________________________________________
X2Go-User mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-user

Reply via email to