On Mi 09 Okt 2013 15:04:39 CEST, Mathias Ewald wrote:
Without log files I cannot say anything about this...
Send log information, please (x2goclient --debug and x2gobroker in
debug mode).
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,
when I get the no x2go sessions found message, broker shows
2013-10-09 16:26:55,183 - broker - INFO - client address is 79.249.113.198 2013-10-09 16:26:55,184 - broker - DEBUG - username: fabian, password: XXXXX, task: listsessions, profile_id: 2013-10-09 16:26:55,184 - broker - DEBUG - base_broker.X2GoBroker.get_authentication_mechanism(): found default-auth-mech in global config section: pam 2013-10-09 16:26:55,185 - broker - DEBUG - base_broker.X2GoBroker._do_authenticate(): authenticating user=fabian with password=<hidden> against backend=inifile. 2013-10-09 16:26:55,185 - broker - DEBUG - connecting to authentication service socket /run/x2gobroker/x2gobroker-authservice.socket 2013-10-09 16:26:55,185 - broker - DEBUG - sending username=fabian, password=<hidden>, service=x2gobroker to authentication service 2013-10-09 16:26:55,201 - broker - INFO - authentication against PAM service »x2gobroker« succeeded for user »fabian« 2013-10-09 16:26:55,201 - broker - DEBUG - base_broker.X2GoBroker.check_access(): result of authentication check is: True 2013-10-09 16:26:55,209 - broker - DEBUG - base_broker.X2GoBroker.get_session_autologin(): found default-session-autologin in global config section: False 2013-10-09 16:26:55,221 - broker - DEBUG - base_broker.X2GoBroker.get_session_autologin(): found default-session-autologin in global config section: False 2013-10-09 16:26:55,233 - broker - DEBUG - base_broker.X2GoBroker.get_session_autologin(): found default-session-autologin in global config section: False 2013-10-09 16:26:55,245 - broker - DEBUG - base_broker.X2GoBroker.get_session_autologin(): found default-session-autologin in global config section: False
while client says
x2go-INFO-1> "Starting x2goclient..." x2go-WARNING-1> "Can't load translator: :/x2goclient_en_us" x2go-WARNING-2> "Can't load translator: :/qt_en_US" x2go-DEBUG-../onmainwindow.cpp:1165> Removing apps from tray x2go-DEBUG-../onmainwindow.cpp:1133> Plugging apps in tray. x2go-INFO-3> "Started x2goclient." x2go-DEBUG-../onmainwindow.cpp:464> "$HOME=/home/mathias" x2go-DEBUG-../httpbrokerclient.cpp:459> cmd request answer: "" x2go-DEBUG-../onmainwindow.cpp:3084> Starting broker request. x2go-DEBUG-../httpbrokerclient.cpp:459> cmd request answer: "Access granted " x2go-DEBUG-../httpbrokerclient.cpp:353> inifile content: "Access granted "
x2go-DEBUG-../onmainwindow.cpp:2160> Reading 0 sessions from config file. x2go-DEBUG-../onmainwindow.cpp:1423> Close event received. x2go-INFO-6> "Closing x2goclient..." x2go-DEBUG-../onmainwindow.cpp:1276> Saving settings... x2go-DEBUG-../onmainwindow.cpp:1285> Saved settings. x2go-INFO-7> "Closed x2goclient."
cheers Mathias
On 10/09/2013 09:22 PM, Mike Gabriel wrote:
Hi Mathias,
On Mi 09 Okt 2013 21:51:40 CEST, Mathias Ewald wrote:
Argh. The 0.0.2.3 x2gobroker is not so verbose at that point...
Neither is the 0.0.3.0, actually. I have to add more debug output to
checkaccess() method in the base broker code.
Do you by any chance use any ACL in the broker's session profiles config?
Mike
PS: discussing such questions on IRC would really speed up the
debugging process...
--
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,
yes I am using ACL:
[vs55-dev-mathias] user=mathias host=10.173.20.16 user=student0 name=vSphere 5.5 Dev command=XFCE sshproxyuser=mathias sshproxysameuser=false acl-groups-allow=mathias acl-groups-deny=ALL acl-clients-allow=ALL acl-any-order=deny-allow
[vs55-dev-fabian] user=fabian host=10.173.20.16 user=student0 name=vSphere 5.5 Dev command=XFCE sshproxyuser=fabian sshproxysameuser=false acl-groups-allow=fabian acl-groups-deny=ALL acl-clients-allow=ALL acl-any-order=deny-allow
I wanted to give access on a per-user basis so I used the groups that are created with the same name as the username anyways and did
addgroup username groupname
Is there a better solution?
I am connected to IRC now, we can go on there.
cheers Mathias
On 10/09/2013 10:21 PM, Mike Gabriel wrote:
Hi Mathias,
I'll be around on IRC after 10am CEST today (until 1pm).
Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976148
GnuPG Key ID 0x25771B13 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
----- Original message -----