Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* xterm: no available ptys
@ 1999-01-15  5:00 Eng. Daniele Peri
  1999-01-18  5:00 ` Nikola Milutinovic
  0 siblings, 1 reply; 5+ messages in thread
From: Eng. Daniele Peri @ 1999-01-15  5:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 635 bytes --]


Since yesterday I have this problem with my au600.
When I try to open an xterm, I get this message:

Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: :0.0

It is quite strange, because I operate directly from the console.
After this, I add myself in the access control list (xhost +)
and try again. Now the message is:

xterm: no available ptys

I've checked the persmissions on /dev/tty*, /dev/pty* and /dev/pts/*,
but the problem persists.

Any suggestion about it?

Thanks
--
Eng. Daniele Peri
I.N.S.E.A.N.
The Italian Model Basin
E-mail: D.Peri@insean.it

[-- Attachment #2: Type: text/html, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xterm: no available ptys
  1999-01-15  5:00 xterm: no available ptys Eng. Daniele Peri
@ 1999-01-18  5:00 ` Nikola Milutinovic
  1999-01-19  5:00   ` Eng. Daniele Peri
  0 siblings, 1 reply; 5+ messages in thread
From: Nikola Milutinovic @ 1999-01-18  5:00 UTC (permalink / raw)


"Eng. Daniele Peri" wrote:
> 
> 
> Since yesterday I have this problem with my au600.
> When I try to open an xterm, I get this message:
> 
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> Error: Can't open display: :0.0
> 
> It is quite strange, because I operate directly from the console.
> After this, I add myself in the access control list (xhost +)
> and try again. Now the message is:
> 
> xterm: no available ptys
> 
> I've checked the persmissions on /dev/tty*, /dev/pty* and /dev/pts/*,
> but the problem persists.

How many ptys do you have? How many of them were in use?

Note that every telnet and every xterm (or dxterm) takes one pseudo-tty.
So, count your users with command "w" and see how many ttys are in use.
You can increase the number of ptys with MAKEDEV script in your /dev
directory.

Nix.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xterm: no available ptys
  1999-01-18  5:00 ` Nikola Milutinovic
@ 1999-01-19  5:00   ` Eng. Daniele Peri
  1999-01-19  5:00     ` Timo Felbinger
  0 siblings, 1 reply; 5+ messages in thread
From: Eng. Daniele Peri @ 1999-01-19  5:00 UTC (permalink / raw)



Thanks for your reply.

I've 32 ptys defined, and the message comes up when I login:
the dxconsole don't starts too! But I can use the dtterm.

Funny...

Daniele Peri
D.Peri@insean.it




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xterm: no available ptys
  1999-01-19  5:00   ` Eng. Daniele Peri
@ 1999-01-19  5:00     ` Timo Felbinger
  1999-01-19  5:00       ` Eng. Daniele Peri
  0 siblings, 1 reply; 5+ messages in thread
From: Timo Felbinger @ 1999-01-19  5:00 UTC (permalink / raw)
  To: Eng. Daniele Peri


On Tue, 19 Jan 1999, Eng. Daniele Peri wrote:

> I've 32 ptys defined, and the message comes up when I login:
> the dxconsole don't starts too! But I can use the dtterm.
> 
Did you (maybe by accident) modify permissions and/or ownership
of xterm? It must be SUID root to successfully obtain ptys. On
my system, it looks like
  -rwsr-xr-x   1 root     bin       221184 Aug 15  1997 /x/bin/xterm
and I remember getting the same error messages when I once tried to
run xterm without the SUID bit.

Timo

-- 
Timo Felbinger   (Timo.Felbinger@quantum.physik.uni-potsdam.de)
Quantum Physics Group
Institute of Physics
University of Potsdam, Germany





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xterm: no available ptys
  1999-01-19  5:00     ` Timo Felbinger
@ 1999-01-19  5:00       ` Eng. Daniele Peri
  0 siblings, 0 replies; 5+ messages in thread
From: Eng. Daniele Peri @ 1999-01-19  5:00 UTC (permalink / raw)


Timo Felbinger wrote:

> On Tue, 19 Jan 1999, Eng. Daniele Peri wrote:
>
> > I've 32 ptys defined, and the message comes up when I login:
> > the dxconsole don't starts too! But I can use the dtterm.
> >
> Did you (maybe by accident) modify permissions and/or ownership
> of xterm? It must be SUID root to successfully obtain ptys. On
> my system, it looks like
>   -rwsr-xr-x   1 root     bin       221184 Aug 15  1997 /x/bin/xterm
> and I remember getting the same error messages when I once tried to
> run xterm without the SUID bit.
>
> Timo
>
> --
> Timo Felbinger   (Timo.Felbinger@quantum.physik.uni-potsdam.de)
> Quantum Physics Group
> Institute of Physics
> University of Potsdam, Germany

Unfortunately, no.
The only difference is tho ownership, but it is of
none importance:

-rwsr-xr-x   1 bin      bin       221184 Dec  9  1997 xterm

The problem is the pty assignment, I think.

Thanks a lot

Daniele




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-01-19  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-15  5:00 xterm: no available ptys Eng. Daniele Peri
1999-01-18  5:00 ` Nikola Milutinovic
1999-01-19  5:00   ` Eng. Daniele Peri
1999-01-19  5:00     ` Timo Felbinger
1999-01-19  5:00       ` Eng. Daniele Peri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox