Operating System - HP-UX
1833759 Members
2208 Online
110063 Solutions
New Discussion

dtterm doesn't work anymore

 
Thomas Sit
Occasional Contributor

dtterm doesn't work anymore

After a series of patching on my HP-UX 10.20 system, I found my dtterm to be broken, although xterm seems to work fine.

Let me elaborate : the window appears, but a warning crops up -- 'unable to get pty'. And no prompt appears inside the window as expected consequently.

The error message that appears when I try to start up a dtterm is :
ts@mustang:/home/ts/>dtterm
grantpt: Error 0
Warning:
Name: dtTerm
Class: DtTerm
unable to get pty

Would be really grateful if someone could point me in the right direction.

Thanks for help rendered in advance.
3 REPLIES 3
Alex Glennie
Honored Contributor

Re: dtterm doesn't work anymore

Check the permissions on /usr/dt/bin/dtterm are -r-sr-xr-x : also use dr_dt (CDE diagnostic tool) to help : if problem persists : post result to this forum again ?
Rick Beldin
HPE Pro

Re: dtterm doesn't work anymore

grantpt() system call is failing. There are a couple of reason that this could be so from the man page.

I would suspect either a lack of ptys or some corruption with the pty device files.

Might to verify the number of ptys in your kernel.
Necessary questions: Why? What? How? When?
Eileen Millen
Trusted Contributor

Re: dtterm doesn't work anymore

We had a similar problem after installing patches on UX11. We were unable to telnet to the system. The /dev/pts/ta-tz and /dev/pts/tA-tZ files had been removed by the patch installation. They should have been put back at the end but were not.
insf -d tels should have recreated them
We had to download a cumulative mksf patch to get the insf to work.