Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xterm: Error 32, errno 2: No such file or directory
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
newtwogentwo
n00b
n00b


Joined: 12 Aug 2005
Posts: 24
Location: Oxford

PostPosted: Fri Aug 12, 2005 8:24 pm    Post subject: xterm: Error 32, errno 2: No such file or directory Reply with quote

I am somewhat new to Gentoo and I get the following strange error when I attempt to open an xterm window:

xterm: Error 32, errno 2: No such file or directory
Reason: get_pty: not enough ptys

Does anybody have any ideas why I might be getting this error? I may have messed something up in the setup process.. not so sure what I'm doing. So I would be happy to try whatever suggestions you might have.

Thanks again..
Back to top
View user's profile Send private message
jk3us
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 201
Location: Memphis, TN

PostPosted: Fri Aug 12, 2005 9:15 pm    Post subject: Reply with quote

Can you give a little more info? What kernel version are you using (run uname -r)? Are you using udev or devfs? Has this worked before? Have you recently recompiled your kernel? Have you been playing with udev rules or anything?
Back to top
View user's profile Send private message
newtwogentwo
n00b
n00b


Joined: 12 Aug 2005
Posts: 24
Location: Oxford

PostPosted: Fri Aug 12, 2005 9:27 pm    Post subject: Reply with quote

thanks jk3us...

kernel version is 2.6.11-gentoo-r11

Although I don't know much about devfs and udev and how exactly they work.. I believe I am using udev since "ps aux | grep dev" returned a process called udevd. I'm assuming this is the default when installing from stage3 since I don't remember ever actually specifying this..

It did work before! And I don't believe i recently recompiled my kernel or played with udev rules.. I emerged things over time but that is about all the activity I have personally done (I think) since this problem started..

thanks again..
Back to top
View user's profile Send private message
jk3us
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 201
Location: Memphis, TN

PostPosted: Fri Aug 12, 2005 10:13 pm    Post subject: Reply with quote

reading through some other posts, Here are something that other suggested.

* run etc-update, and then perhaps udevstart
* reboot ?

see:
https://forums.gentoo.org/viewtopic-p-2427185-highlight-.html
https://forums.gentoo.org/viewtopic-t-339303-highlight-ptys.html
https://forums.gentoo.org/viewtopic-t-284903-highlight-udev+pty.html

hope this helps.
Back to top
View user's profile Send private message
newtwogentwo
n00b
n00b


Joined: 12 Aug 2005
Posts: 24
Location: Oxford

PostPosted: Sun Aug 14, 2005 6:55 pm    Post subject: Reply with quote

jk3us,

thanks for the tips.. i use dispatch-conf rather than etc-update. So I tried running dispatch-conf followed by udevstart which did not solve the problem and also rebooting did not solve the problem.

another weird thing i should report.. running udevstart changes the permissions on my /dev/null file to crw-rw---- everytime i run it.. shouldnt this file generally be crw-rw-rw-??

also, if anyone has any other ideas.. it would be much appreciated as being unable to run xterm is quite a hindrance!

thanks in advance..

newtwogentwo
Back to top
View user's profile Send private message
CBarcley
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2003
Posts: 133

PostPosted: Mon Oct 03, 2005 7:10 pm    Post subject: Reply with quote

Did you solve the problem yet?

I have the same.

Calvin
Back to top
View user's profile Send private message
newtwogentwo
n00b
n00b


Joined: 12 Aug 2005
Posts: 24
Location: Oxford

PostPosted: Wed Oct 05, 2005 11:12 am    Post subject: Reply with quote

I actually don't remember, but I followed another post which I cannot find anymore. It was something like deleting some group of files and re-emerging udev and rebooting... anyway try the latter two..

Code:
emerge -u udev
Back to top
View user's profile Send private message
mag_windows
n00b
n00b


Joined: 31 Dec 2005
Posts: 4

PostPosted: Sat Dec 31, 2005 1:25 am    Post subject: Reply with quote

after 2 days of searching I solved it with:
chmod 666 /dev/ptmx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum