LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-23-2004, 04:27 PM   #1
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
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!
 
Old 09-23-2004, 05:55 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
What about
CONFIG_LEGACY_PTY_COUNT=256

?


Cheers,
Tink
 
Old 09-23-2004, 08:33 PM   #3
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
what do I need to enable to get that option in menuconfig? that option does not show up.
 
Old 09-23-2004, 08:38 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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
 
Old 09-23-2004, 08:42 PM   #5
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
screen error "no more PTYs" darcon3k Linux - Software 10 04-19-2011 05:30 PM
Starting an xterm window that is "always on top" on command line azilkie Fedora 1 10-07-2005 10:17 PM
how to log user commands in xterm without using "script" command lilachb Linux - General 2 08-28-2005 02:08 AM
"there are no more ptys" error!..pls help!! chakkaradeepcc Linux From Scratch 3 05-07-2005 01:48 PM
xterm: no available ptys stpg Linux - General 1 07-19-2004 08:34 AM


All times are GMT -5. The time now is 05:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration