- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unable to get ptty
Categories
Company
Local Language
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 01:53 AM
08-04-2006 01:53 AM
unable to get ptty
I Tried: Insf -e
Permisions
-r-sr-xr-x 1 root bin 294912 Nov 14 2000 /usr/bin/X11/xterm
-r-sr-sr-x 1 root sys 299008 Nov 14 2000 /usr/bin/X11/hpterm
-r-sr-xr-x 1 root bin 65536 Nov 14 2000 /usr/dt/bin/dtterm
-r-sr-sr-x 1 root bin 212992 Nov 14 2000 /usr/lbin/chgpt
-r-sr-xr-x 1 root bin 385024 Nov 14 2000 /usr/contrib/bin/X11/xterm
$HOME/.dt/errorlog:
grantpt: Not a typewriter
Warning:
Name: dtTerm
Class: DtTerm
unable to get pty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 02:13 AM
08-04-2006 02:13 AM
Re: unable to get ptty
could you please execute this command from an already connected terminal or from server console, as root:
kmtune | grep pty
and post the output here ?
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 02:17 AM
08-04-2006 02:17 AM
Re: unable to get ptty
unable to get pty
Here is the output you requested.
npty 200 - 200
nstrpty 200 - 200
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 02:25 AM
08-04-2006 02:25 AM
Re: unable to get ptty
cd /dev ; ll -d pty*|wc -l
cd /dev/pty; ll -d pty*|wc -l
cd /dev/ptym; ll -d pty*|wc -l
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 02:32 AM
08-04-2006 02:32 AM
Re: unable to get ptty
It appears that dtexec is trying to execute a dtterm and the command is failing with a "Not a typewriter" error for grantpt.
grantpt relies on the system command, /usr/lbin/chgpt; therefore, you need to check the permission and ownership of this chgpt file.
NOTE: The permission and ownership should be:
-r-sr-sr-x 1 root bin 110592 Jun 10 1996 /usr/lbin/chgpt
Setting the correct ownership and permission on this file should allow your eXceed session to properly start a Dtterm window on your PC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 02:41 AM
08-04-2006 02:41 AM
Re: unable to get ptty
Thanks for your help.