#46800: gnome-terminal is not working -----------------------------+---------------------- Reporter: lightoml@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gnome-terminal | -----------------------------+---------------------- Comment (by devans@…): Yes, it is still not working even after upgrading to GNOME 3.16. And I have been working on it (as time permits) but no final solution as yet. The problem seems to be that when gnome-terminal starts up, it tries to get dbus to launch the org.gnome.Terminal service which should start /opt/local/libexec/gnome-terminal-server. This service (server) is the thing that starts one or more Terminal instances and keeps track of them. With version 3.16.1, I realized that there were two problem going on. First, attempts to launch gnome-terminal-server by hand failed because it's code to increase RLIMIT_NOFILE (max number of files it can open) is flawed. It ends up trying to set this limit to infinity, something that traditionally is allowed but OS X does not. Instead one should set it to MAX_OPEN. This is now fixed and the server starts up and runs until it times out waiting for a client request. However, when gnome-terminal tries to start the service using dbus, the launch fails with error code 8 (format error) which immediately kills the launched process and the server never really gets started. On the surface, the messages to and from dbus look correct and the point of failure (where the error occurs) seems to be in the dbus code itself. So that's where I'm working right now. I'm not a dbus guru by any means so if anyone has any ideas on what the problem is they would be gratefully accepted. Now that 3.16.1 is out, I am working on upgrading to 3.16.2 and will continue debugging there. -- Ticket URL: <https://trac.macports.org/ticket/46800#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X