I have the same problem after upgrade from Intrepid to Jaunty.
I don't know of this is information is useful, but i experience this issue problem trying to start gnome-terminal from /etc/gdm/PostSession/Default. This script is run when the user logs out of the system. In Intrepid, a terminal pops out in front of the user, but it does nothing in Jaunty. The terminal does not start, and I get this very same error.
What I don't understand is that the very same command works perfectly when started from /etc/gdm/PostLogin/Default. This script is run right after user logon.
And when i try to run it between logon and logoff, manually from terminal, it also works.
I tried the suggested workaround which seems to solve the problem when executed from /etc/gdm/PostSession/Default
I have the same problem after upgrade from Intrepid to Jaunty.
I don't know of this is information is useful, but i experience this issue problem trying to start gnome-terminal from /etc/gdm/ PostSession/ Default. This script is run when the user logs out of the system. In Intrepid, a terminal pops out in front of the user, but it does nothing in Jaunty. The terminal does not start, and I get this very same error.
What I don't understand is that the very same command works perfectly when started from /etc/gdm/ PostLogin/ Default. This script is run right after user logon.
And when i try to run it between logon and logoff, manually from terminal, it also works.
I tried the suggested workaround which seems to solve the problem when executed from /etc/gdm/ PostSession/ Default