LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   xterm not spawning "not enough ptys" (https://www.linuxquestions.org/questions/linux-general-1/xterm-not-spawning-not-enough-ptys-234430/)

sohmc 09-23-2004 03:27 PM

xterm not spawning "not enough ptys"
 
Hey everyone

I'm stumped again. I'm having problems making new terminals with xterm. I've searched around on google and on LQ and haven't found a solution that solves my problem.

my /etc/fstab does mount /dev/pty at boot time. I'm running Kernel 2.6.8.1 and this is what I have in my kernel config:

Code:

$> cat /boot/config-2.6.8.1 | grep PTY
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set

How do I enable CONFIG_LEGACY_PTY? what are it's dependencies? when I rune make menuconfig, it doesn't show up as something I can enable. When I run xconfig, it is grayed out, so I assume that I did not activate some kernel option before it.

Any leads would help. I'm tired of killing all my xterms just to get xterms up and running again.

BTW: kill `pidof xterm` works great!

Tinkster 09-23-2004 04:55 PM

What about
CONFIG_LEGACY_PTY_COUNT=256

?


Cheers,
Tink

sohmc 09-23-2004 07:33 PM

what do I need to enable to get that option in menuconfig? that option does not show up.

Tinkster 09-23-2004 07:38 PM

Darn ... I didn't look well enough, sorry.

Code:

$> cat /boot/config-2.6.8.1 | grep PTY
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set

Just remove that # ;)


Cheers,
Tink

sohmc 09-23-2004 07:42 PM

compiling now...wow, make all was smart enough to ask me if I wanted the dependencies to turn on!

We'll see what happens.

Thanks for all the help!


All times are GMT -5. The time now is 10:21 PM.