Operating System - HP-UX
1833813 Members
2943 Online
110063 Solutions
New Discussion

Xterm problem in UX11 machine

 
SOLVED
Go to solution
Sugata
Advisor

Xterm problem in UX11 machine

Hi,
I have a machine of configuration
HP-UX mars B.11.20 U ia64 1865879866

While telneting to the machine it is showing the following mesege
**************************************
Set terminal type to `98550' for console login.

`xterm' terminal type is not supported.

TERM = (98550)

Erase is Backspace6C64C72C80C88C
Kill is Ctrl-U
$
*************************************
while opening an xterm it is showing error
$ xterm
xterm: no available ptys

even we are able to take log of console

$ script
Script started, file is typescript
script: Error opening /dev/ptym/clone: No such device could not reset pty ownership and access mode

Waiting for the help from you.

Regards,
Sugata

4 REPLIES 4
Robert-Jan Goossens
Honored Contributor
Solution

Re: Xterm problem in UX11 machine

Hi Sugata,

Check below doc,

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000068955747

Document description: xterm and hpterm give error: no ptys available or malloc failed
Document id: KBRC00004782

Hope this helps,
Robert-Jan
Sugata
Advisor

Re: Xterm problem in UX11 machine

Hi,
Thank you very much for your help. I have gone through the doc. my system is not showing the driver ptym or ptys. Please let me know how to install those files.
Michael Tully
Honored Contributor

Re: Xterm problem in UX11 machine

You need to increase the pseudo tty's on your system. By default the driver is installed, but what it looks like is you've run out of resources. This is how I would fix this.

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system
if not included add these items and values toward the bottom of the file.

npty 512
nstrtel 512
nstrpty 512

Save the file

# mk_kernel -s system (generates a new kernel)
# kmupdate
Reboot your system
# cd /
# shutdown -r -y now

After the reboot, run the following commands to generate the new pty's

# cd /dev
# insf â d pty â s 1024 â e â v
# insf â d ptm â s 1024 â e â v
# insf -d telm â s 1024 â e â v
# insf -d tels â s 1024 â e -v

I am assuming that the command
Anyone for a Mutiny ?
Sugata
Advisor

Re: Xterm problem in UX11 machine

Hi Michael,
Thanx.
I have changed the kernel configuration. But as users are connected to the system I need some time to reboot the system. Can you please re-type the insf commands once more as those are not properly copied.

Thanx onec more.

Sugata