> ts-shell: Connecting to linux149 (terminal identifier: lnxhvc0)...
> login: linux149
> Password:
> Last login: Mon Oct 19 23:42:27 from LINUX149
> iucvconn_on_login: Connecting to linux149 (terminal ID: lnxhvc0)
> iucvconn: Connecting to the z/VM guest virtual machine failed: Connection
> refused
> ts-shell: Connection ended
I think Donald Russell mentioned it before, the terminal identifier has to
match the terminal entries you specified in /etc/inittab and default to
lnxhvc0 if you don't give it a specific terminal id on the ts-shell. Also
you have to reboot or run "init q" to reread /etc/inittab to make sure the
terminal programs are spawned. For example, if you put something like the
following in /etc/inittab:
V1:2345:respawn:/usr/bin/iucvtty iucv1
V2:2345:respawn:/usr/bin/iucvtty iucv2
ps should show some corresponding processes:
[r...@lac0022 ~]# ps -ef | grep iucvtty
root 1866 1 0 16:44 ? 00:00:00 /usr/bin/iucvtty
iucv2
root 1961 1 0 17:22 ? 00:00:00 /usr/bin/iucvtty
iucv1
root 2020 1677 0 17:34 pts/0 00:00:00 grep iucvtty
[r...@lac0022 ~]#
You then connect by giving the matching terminal identifier (or you can
leave the identifier out if you had defined lnxhvc0), ex:
r...@ts-shell> connect LAC0022 iucv1
ts-shell: Connecting to LAC0022 (terminal identifier: iucv1)...
login: root
Password:
Last login: Tue Oct 20 17:23:32 from LAC0031
[r...@lac0022 ~]#
Then, make sure the terminal connections are allowed. The sessions appear
to use pseudo-terminal device files (pts/0, pts/1, etc), but are treated
like login shells and need to have corresponding entries in /etc/securetty.
For example:
[r...@lac0022 ~]# echo 'pts/2' >> /etc/securetty
[r...@lac0022 ~]#
Since the pseudo-terminal device files are also used by other programs,
like sshd, make sure to add enough entries (or add one for the next unused
entry) to allow for the connection.
- Mark Ver
office: Building 710 / Room 2-RF-10
phone: (845) 435-7794 [tie 8 295-7794]
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390