Yes, even your username and password are the same as with the web client. When you start the GTK client for the first time, it will default go to the demo-server of tryton.org. You have to change some fields. Click on Host / Database information and change the Host to localhost:8000, the database to the database you want to connect and username to the username you want to login with.
Back on topic, if the above settings work, do you have your Trytond-server running on localhost?
Change the different fields:
Host → localhost:8000
Database → the name of your test database
username → admin
I think you can see a pattern here. If you cannot connect and you have to wait some time before you get an answer, it can be a firewall issue. However, you also shouldn’t be able to connect with the browser.
There is something weird going on here. The link isn’t working, the database field is not filled in and you get an ‘Bad Gateway’ error with the right database name and username. However when you remove the port 8000 (including the colon) it’s working.
I fixed it. The configuration of ngnix was using $host to set the X-Forwarded-Host header but it does not contain the port, so the CORS validation was applied. Now it set the header using $http_host which include the port.
At the GTK client, when trying to connect to demo5.4, it says “server version incompatible”. Which makes sense to me, my client it the vanilla ubuntu one - v. 4.8.22.
Can that be the problem with my local instance as well?
You must have the first two digits of the version the same. So when you have a Tryton-server version 5.4.3, you must have a client version of at least 5.4.0