Click to See Complete Forum and Search --> : devpts, xterm, and me


A. Buza
04-01-2001, 12:44 AM
Posted this months ago, but I still haven't found a solution. Time to try again :)

Whenever I start any kind of terminal emulator in X-Windows (things like xterm, gterm, eterm, etc...), it complains that there are no open ptys. Now, the odd thing is that it only does this when I'm not superuser. When I *am* root, everything works fine (i.e, you can see /dev/pts/1, /dev/pts/2, etc, being created & used). I've read a bit about the devpts filesystem, and all my permissions and such on the directory and /etc/fstab seems to be correct, but it still doesn't work.

Any ideas?

Neurotica
04-01-2001, 01:20 AM
Is your kernel configured correctly to allow enough?

A. Buza
04-01-2001, 08:02 PM
YAAAYY! I found the answer!

I had to change /dev/ptmx to have these permissions:

crw-rw--- root tty

It was set to

crw-r--r-- root root

before..

whew.. well, it *finally* works now!
Wheee! I'm so happy!