LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2008, 06:02 PM   #1
blancs
Member
 
Registered: Mar 2005
Posts: 49

Rep: Reputation: 15
Cool can't run screen, no more PTYs?


Hello, I'm running a vps, i dont know if that would be the cause of this but, when i try to create a screen as a unpriv user I get the error "no more PTYs", "Can't find a PTY". Ive ls -la the /dev/pts dir and this is what I see.

assaultcube@me:/dev/pts$ ls -la
total 0
drwxr-xr-x 2 root root 0 Sep 22 00:24 .
drwxr-xr-x 6 root root 2120 Sep 22 00:24 ..
crw--w---- 1 assaultcube tty 136, 0 Sep 22 18:56 0
crw--w---- 1 root tty 136, 1 Sep 22 18:28 1


how would I create more, or fix this. Im not sure what the solution to my problem would be? Oh and I can create a screen as root just fine, just not when under the assaultcube user. many thanks.
 
Old 09-22-2008, 06:37 PM   #2
blancs
Member
 
Registered: Mar 2005
Posts: 49

Original Poster
Rep: Reputation: 15
also looking at /etc/fstab i see if this helps?

none /dev/pts devpts rw 0 0
 
Old 09-22-2008, 06:40 PM   #3
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Check out this thread on LQ:
http://www.linuxquestions.org/questi...e-ptys-299380/
 
Old 09-22-2008, 06:49 PM   #4
blancs
Member
 
Registered: Mar 2005
Posts: 49

Original Poster
Rep: Reputation: 15
yea I checked that out, they mentioned checking the perms on /dev/pty*, but when i

root@me:/dev# ls -l /dev/pty*
ls: cannot access /dev/pty*: No such file or directory

Quote:
Matir
Moderator

Apparently it's looking to allocate ptys. Most likely it's a question of permissions on the /dev/pty* devices. Most likely, they should be 666, I believe.
maybe i should try?

chmod 666 /dev/ptmx
chmod 666 /dev/null
 
Old 09-22-2008, 07:31 PM   #5
blancs
Member
 
Registered: Mar 2005
Posts: 49

Original Poster
Rep: Reputation: 15
chmod 666 /dev/ptmx

seemed to have fixed it, i know nothing about this. will this cause a security threat in the future?
 
  


Reply



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 Off
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 04:30 PM
redhat linux screen error - no more PTYs dk245 Linux - Software 0 06-07-2006 08:19 PM
More PTYs? How? microsoft/linux Linux From Scratch 4 05-16-2006 08:19 PM
not enough ptys carboncopy Slackware 2 03-24-2005 07:51 AM
How to turn off screen blanking screen saver in run level 3? Arodef Linux - Software 1 01-04-2005 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:06 AM.

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
Open Source Consulting | Domain Registration