TERM, AIX and X problems.

TERM, AIX and X problems.

Post by DAVID GRUMBI » Fri, 10 Jun 1994 11:17:41

I'm having some problems getting X to work through term.  trsh works fine and
so does tupload, but X connections through txconn refuse to work.  Also,
redirecting ports from the remote to the local computer doesn't work well

Some system stats:

Local machine:
486DLC40, 8M RAM, 32M swap, 128k cache.
/dev/hda3 on / type ext2 (rw)
/dev/hda1 on /dosc type msdos (rw)
/dev/hdb1 on /home type ext2 (rw)
/dev/hdb2 on /usr/src type ext2 (rw)
/dev/hda2 is swap space.
hda1 = 345Mb, hdb = 204Mb, both IDE.
uname gives:
chrome:>uname -a
Linux chrome 1.0 #1 Mon Apr 18 17:27:13 EDT 1994 i486

Remote machine:
IBM RS/6000 running AIX.
uname gives:
plasma:/u/grumbine>uname -a
AIX plasma 2 3 000015443800

Route between machines: IBX modem box (digital telephone system) to Annex
terminal server, then telnet to remote machine.

Both machines are running term117.  Compiled with no errors (finally, after
114, 115, and 116 didn't compile correctly under AIX).

termrc files: (same except for remote entry on remote machine):
escape 13
escape 17
escape 19
escape 29
ignore 13
ignore 17
ignore 19
ignore 29
baudrate 19200

Now, I connect with term, open a trsh.  Then do
plasma:/u/grumbine>export DISPLAY=`hostname``txconn`
Xconn bound to screen 9
plasma:/u/grumbine>echo $DISPLAY

and then try to open an X client on the remote machine:

plasma:/u/grumbine>aixterm &
[1]     42028
plasma:/u/grumbine>XIO:  fatal IO error 32 (Broken pipe) on X server ""
      after 0 requests (0 known processed) with 0 events remaining.
      The connection was probably broken by a server shutdown or

[1] + 42028      Done(1)                 aixterm &

Didn't work.  I tried doing xhost + on my local machine with the same results.
Now, I try

plasma:/u/grumbine>tredir 7890 23
Redirecting 7890 to 23

to allow me to telnet to my local machine from the remote.  Then this happens:

plasma:/u/grumbine>telnet localhost 7890
Connected to localhost.Lehigh.EDU.
Escape character is '^]'.
Connection closed.

Upon checking /usr/adm/messages I find these lines added:

Jun  8 21:08:08 chrome in.telnetd[124]: connect from localhost
Jun  8 21:08:09 chrome telnetd[124]: ttloop:  read: Broken pipe

so the connection did get through but for some reason got closed by the local
computer (Linux).
It seems like my Linux box is refusing any TCP/IP connections through term.
I do have networking installed, but localhost is the only machine listed in
/etc/hosts.  /etc/hosts.allow contains ALL: ALL to allow everything from
anyone.  /etc/hosts.deny is empty.  Even so, I am not connected to any
networks, except through term.  Redirecting ports fron the local machine
to the remote does work, however.

Any help, ideas, etc. would be greatly appreciated.  There is at least one
other person I know that is having these same problems.  Again, it seems
more like a Linux problem and not a term problem.

If I forgot some pertenant information, let me know.  All thoughts will be


The opinions expressed above may or may not be my own.   But I'm not telling.

Physics is fun! ....  Honest.     To 3D or not to 3D, that is not a question.

Physics Dept.            Bethlehem, PA  18015
Lehigh University        USA