terminal problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers terminal problem
# 1  
Old 02-06-2002
terminal problem

Hi all

While trying to upon a new window it is saying UNABLE TO GET PTY..what does this means how to solve it

Thanks

Prafulla
# 2  
Old 02-06-2002
What is your OS? What were you trying to run at the time?

Sunsolve shows the following - this may or may NOT be your problem:

This error is due to dtterm not being able to open /dev/pts/N (where N
is an integer). The reason they are unable to open this file is because
grantpt failed to change the permissions on the file. Grantpt failed
because the binary /usr/lib/pt_chmod is not setuid root. The permissions
on /usr/lib/pt_chmod must be 4111.

To restore the correct permissions to pt_chmod, use the following
command: (as root)

# chmod 4111 /usr/lib/pt_chmod

Also, make sure that /usr/lib/pt_chmod is owned by root and by the group
bin.
thehoghunter
# 3  
Old 02-07-2002
I have seen this error on SCO Openserver where there were not enough psuedo tty's or pty's entries in /dev. there is a commnad to make dev pty's on SCO Openserver. Not sure if this the problem you are having or not.
# 4  
Old 02-07-2002
With some Unices, there is also a kernel parameter that limits maximum ptys. In Linux, for one, you would have to recompile you kernel all together.
# 5  
Old 02-07-2002
Hi all
Thanks for ur suggestions.
actually i am using solaris2.5 un a sunultra1 sparc server.
wht i found that a number of terminals had been opened in the console itself.

i just closed all those terminals and now from remote machine i can telnet and open new terminals.
so what Livinfree is telling seems true.
i also checked the pt_chmod and the permission is as follows
---s--x--x 1 root bin 4388 Oct 6 1998 pt_chmod

Any other ideas..on the kernel parameters that restricts no of terminals.
Thanks and regards

Praful
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem reading terminal response string from Zsh

Note: This posting is related to my posting at bash - Reading answer to control string sent to xterm - Stack Overflow , but I could get there a solution only for bash. I can use that solution, but for curiosity, I wonder, whether I could do this in Zsh as well. The problem is to send a (Posix-)... (6 Replies)
Discussion started by: rovf
6 Replies

2. UNIX for Dummies Questions & Answers

sed Or Grep Problem OR Terminal Problem?

I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore. Here is what 's happening: * I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies

3. HP-UX

Problem with terminal

Hi Guys, I'm using my putty to connect to the HP-UX test box. Once I get connected to server there seem to be something wrong with my putty that behaves very odd. for example it starts from the half of the screen. I really dont know how to explain this problem. or for instance when i run vi to... (2 Replies)
Discussion started by: messi777
2 Replies

4. Linux

Terminal logging character problem -Newbie-

Im a complete newbie tryin to work with linux centos; in terminal wanted to log with script command; but output file has some strange characters when I try to open with gedit or bluefish terminal , gedit, bluefish encoding is utf-8 ; Script started on Mon 08 Mar 2010 03:32:39 PM EET... (2 Replies)
Discussion started by: anacondauser
2 Replies

5. Shell Programming and Scripting

Problem - gnome terminal shell scripting

I've a python script named rwe.py. I'm running the program in three separate terminals. If one of the executing program stops . I want to leave the terminal as it is so that i can see the error. i wrote a the below script and used cron to run it every one hour to check if the three programs are... (0 Replies)
Discussion started by: msteve2002
0 Replies

6. Shell Programming and Scripting

Problem with gnome-terminal

Hello everyone. This is my first post.:o Using Ubuntu 8.04 and bash 3.2.39 i'm trying to adapt my routine to this platform. So, this means forget xterm and use gnome-terminal (as default ubuntu terminal). EveryDay i need to connect to several servers, and i've made a Tcl'script to make this... (1 Reply)
Discussion started by: trutoman
1 Replies

7. Linux

tty terminal permissions problem

I'm hoping someone can help me out here. I'm having a problem on my Red Hat Enterprise 5 Server where my tty devices "tty" are being set to read only permissions. I need them to be set to 777 in order to write to the serial printers through a custome application. I have gone through many... (2 Replies)
Discussion started by: Netwrkengeer
2 Replies

8. Programming

terminal problem

i am executiing some commands using system an popen command in c. while executing the code . some data is shown on terimal without using any print statement. how can i solve this problem thank u sree (1 Reply)
Discussion started by: phani_sree
1 Replies

9. SCO

Terminal Allocation Problem

Hello All, I am facing a problem on SCO Open Server V 5x, We are using serial communication on dumb terminals, right now i am facing a problem on some terminals, as they are not showing thier previous tty no, as tty13 or tty18, but they are showing ttya6 or ttya4, i also tried to move and link... (5 Replies)
Discussion started by: Awadhesh
5 Replies

10. UNIX for Advanced & Expert Users

terminal type problem with cygwin on aix

hey, I use cygwin to connect to AIX 5.2 but when I open vi I get an error saying: ex: 0602-108 cygwin is not a recognized terminal type how can I fix that? I thought cygwin was tty vt100? (1 Reply)
Discussion started by: rein
1 Replies
Login or Register to Ask a Question