:(

So, something else is going on here... You have the correct localhost patch (you have tried this without the modification to /etc/hosts right?)

rpcbind is running, and ttsession is registering successfully. So, anything of interest in:

~/.dt/errorlog

~/.dt/sessionlogs/*/*

Note, for the session logs you need to edit ~/.dtprofile and comment out the line:

export dtstart_sessionlogfile="/dev/null"

... or they won't be created.

-jon

On 06/24/2018 04:57 PM, Christopher Turkel wrote:
  rpcinfo -p
program vers proto   port  service
     100000    4   tcp    111  portmapper
     100000    3   tcp    111  portmapper
     100000    2   tcp    111  portmapper
     100000    4   udp    111  portmapper
     100000    3   udp    111  portmapper
     100000    2   udp    111  portmapper
1342177279    4   tcp  53495
1342177279    1   tcp  53495
1342177280    4   tcp  36559
1342177280    1   tcp  36559
1342177281    4   tcp  46257
1342177281    1   tcp  46257
1342177282    4   tcp  53197
1342177282    1   tcp  53197
1342177283    4   tcp  49741
1342177283    1   tcp  49741

And git show 8c1ad2d3

commit 8c1ad2d3a8ec095e86da02dbea3adec228c48820
Author: Jon Trulson <j...@radscan.com <mailto:j...@radscan.com>>
Date:   Wed Jun 20 16:59:34 2018 -0600

     libtt: if local hostname lookup fails, default to localhost

     A recurring problem, mainly on the BSD's, and also on some Linux
     installations, is a failure for ttsession to start and any clients
     trying to attach to it failing due to having a hostname that is not
     associated with an IP address.

     This is due to code which looks up the hostname, and if it does not
     have a valid host record, then TT just fails.

     This has required those users to add an alias for their host name in
     their /etc/hosts file.

     With this commit, this should no longer be necessary.  Now, if
     _XGethostbyname() fails when looking up the local name, a default of
     "localhost" is used, which should always exist.

     This was run tested on Linux and FreeBSD 11.1.  It was compile tested
     on OpenBSD 6.2.

diff --git a/cde/lib/tt/lib/util/tt_host.C b/cde/lib/tt/lib/util/tt_host.C
index f73fd4ba..d608b57e 100644
--- a/cde/lib/tt/lib/util/tt_host.C
+++ b/cde/lib/tt/lib/util/tt_host.C
@@ -207,7 +207,38 @@ init_byname(_Tt_string name)

         memset((char*) &host_buf, 0, sizeof(_Xgethostbynameparams));
         if (name.len() == 0) {
-               _name = _tt_gethostname();
There is a ,lot more, but I can't get it all -)

On Sun, Jun 24, 2018 at 6:38 PM Jon Trulson <j...@radscan.com <mailto:j...@radscan.com>> wrote:

    Ok, so:

    1) What does "rpcinfo -p" show you?

    2) what does "git show 8c1ad2d3"

    -jon

    On 06/24/2018 04:35 PM, Christopher Turkel wrote:
     > No, I'm saying despite rpcbind running and /etc/hosts set
    properly I am
     > still getting the same error, ie " "Could not connect to ToolTalk..."
     >
     > On Sun, Jun 24, 2018 at 6:01 PM Jon Trulson <j...@radscan.com
    <mailto:j...@radscan.com>
     > <mailto:j...@radscan.com <mailto:j...@radscan.com>>> wrote:
     >
     >
     >
     >     On 06/24/2018 03:56 PM, Christopher Turkel wrote:
     >      > Rpcbind is running, and there a hostname, but the same issue.
     >      >
     >
     >     So, you are saying that if you add your hostname (uname -n)
    to the list
     >     of names for your localhost (127.0.0.1) in /etc/hosts, everything
     >     starts
     >     up properly?
     >     -jon
     >
     >
     >      > On Fri, Jun 22, 2018 at 9:16 PM Jon Trulson
    <j...@radscan.com <mailto:j...@radscan.com>
     >     <mailto:j...@radscan.com <mailto:j...@radscan.com>>
     >      > <mailto:j...@radscan.com <mailto:j...@radscan.com>
    <mailto:j...@radscan.com <mailto:j...@radscan.com>>>> wrote:
     >      >
     >      >     On 06/22/2018 07:10 PM, Henry Bonath wrote:
     >      >      > I think that's either rpcbind isn't running, or
    maybe the
     >     /etc/hosts
     >      >      > file not having the hostname in there?
     >      >      > I just loaded up a raspbian lite image and loaded a
     >     barebones CDE
     >      >     build
     >      >      > and I definitely got that error, and am pretty sure
    it was
     >     one of
     >      >     the
     >      >      > two that was the issue.
     >      >      >
     >      >
     >      >     Definitely make sure rpcbind is running, ttsession
    exists, etc.
     >      >
     >      >     But, as of current master (8c1ad2d), you should not
    have to
     >     add your
     >      >     hostname to /etc/hosts anymore. If you find that you
    do, I'd
     >     love to
     >      >     hear about it...
     >      >
     >      >     -jon
     >      >
     >      >      > On Fri, Jun 22, 2018 at 9:06 PM, Christopher Turkel
     >      >      > <turkel.christop...@gmail.com
    <mailto:turkel.christop...@gmail.com>
     >     <mailto:turkel.christop...@gmail.com
    <mailto:turkel.christop...@gmail.com>>
     >      >     <mailto:turkel.christop...@gmail.com
    <mailto:turkel.christop...@gmail.com>
     >     <mailto:turkel.christop...@gmail.com
    <mailto:turkel.christop...@gmail.com>>>
     >      >     <mailto:turkel.christop...@gmail.com
    <mailto:turkel.christop...@gmail.com>
     >     <mailto:turkel.christop...@gmail.com
    <mailto:turkel.christop...@gmail.com>>
     >      >     <mailto:turkel.christop...@gmail.com
    <mailto:turkel.christop...@gmail.com>
     >     <mailto:turkel.christop...@gmail.com
    <mailto:turkel.christop...@gmail.com>>>>> wrote:
     >      >      >
     >      >      >     I have gotten past the dthello hang in Archlinux.
     >      >      >
     >      >      >     Now I get this:
     >      >      >
     >      >      >     "Could not connect to ToolTalk message server:
     >     TT_ERR_NOMP No
     >      >      >     ttsession process is running, probably because
     >     tt_open() has not
     >      >      >     been called yet. If this code is returned from
     >     tt_open() it means
     >      >      >     ttsession could not be started, which generally
    means
     >     ToolTalk is
     >      >      >     not installed on this system.Exiting
     >      >      >
     >      >      >     I know there is a solution for this. I just forget
     >     what it is.
     >      >      >
     >      >      >
     >      >      >
     >      >
>  ------------------------------------------------------------------------------
     >      >      >     Check out the vibrant tech community on one of the
     >     world's most
     >      >      >     engaging tech sites, Slashdot.org!
     > http://sdm.link/slashdot
     >      >      >     _______________________________________________
     >      >      >     cdesktopenv-devel mailing list
     >      >      > cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
     >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>>
     >      >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
     >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>>>
     >      >      >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
     >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>>
     >      >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
     >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>>>>
     >      >      >
    https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
     >      >      >
>  <https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel>
     >      >      >
     >      >      >
     >      >      >
     >      >      >
     >      >      >
     >      >
>  ------------------------------------------------------------------------------
     >      >      > Check out the vibrant tech community on one of the
    world's
     >     most
     >      >      > engaging tech sites, Slashdot.org!
    http://sdm.link/slashdot
     >      >      >
     >      >      >
     >      >      >
     >      >      > _______________________________________________
     >      >      > cdesktopenv-devel mailing list
     >      >      > cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
     >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>>
     >      >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
     >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>>>
     >      >      >
    https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
     >      >      >
     >      >
     >      >     --
     >      >     Jon Trulson
     >      >
     >      >     "Fire all weapons and open a hailing frequency for my
    victory
     >     yodle."
     >      >
     >      >                                     - Zapp Brannigan
     >      >
     >      >
>  ------------------------------------------------------------------------------
     >      >     Check out the vibrant tech community on one of the
    world's most
     >      >     engaging tech sites, Slashdot.org!
    http://sdm.link/slashdot
     >      >     _______________________________________________
     >      >     cdesktopenv-devel mailing list
     >      > cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
     >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>>
     >      >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
     >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>>>
     >      > https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
     >      >
     >      >
     >      >
     >      >
>  ------------------------------------------------------------------------------
     >      > Check out the vibrant tech community on one of the world's
    most
     >      > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
     >      >
     >      >
     >      >
     >      > _______________________________________________
     >      > cdesktopenv-devel mailing list
     >      > cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
     >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>>
     >      > https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
     >      >
     >
     >     --
     >     Jon Trulson
     >
     >     "Fire all weapons and open a hailing frequency for my victory
    yodle."
     >
     >                                     - Zapp Brannigan
     >
>  ------------------------------------------------------------------------------
     >     Check out the vibrant tech community on one of the world's most
     >     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
     >     _______________________________________________
     >     cdesktopenv-devel mailing list
     > cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
     >     <mailto:cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>>
     > https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
     >
     >
     >
     >
    
------------------------------------------------------------------------------
     > Check out the vibrant tech community on one of the world's most
     > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
     >
     >
     >
     > _______________________________________________
     > cdesktopenv-devel mailing list
     > cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
     > https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
     >

-- Jon Trulson

    "Fire all weapons and open a hailing frequency for my victory yodle."

                                    - Zapp Brannigan

    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    _______________________________________________
    cdesktopenv-devel mailing list
    cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


--
Jon Trulson

"Fire all weapons and open a hailing frequency for my victory yodle."

                              - Zapp Brannigan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to