Page 1 of 1

無法開啟aterm

Posted: Thu Apr 08, 2004 11:46 pm
by Reach
開啟aterm時會有下面的錯誤訊息出現

aterm: can't open pseudo-tty
aterm: aborting

但是root可以正常的執行
可見應該不是我kernel編錯的緣故 而是甚麼權限是錯誤的

而執行xterm的錯誤則是

xterm: Error 32, errno 2: 沒有此一檔案或目錄
Reason: get_pty: not enough ptys

一樣是只有root可以正常執行

請問誰知道是那邊出了錯嗎?????? :oops:

Posted: Fri Apr 09, 2004 6:37 am
by ccpz
看看 /dev/pts(應該是這個吧) 的權限吧

Re: 無法開啟aterm

Posted: Fri Apr 09, 2004 11:46 am
by feuer
Reach wrote: 而執行xterm的錯誤則是
xterm: Error 32, errno 2: 沒有此一檔案或目錄
Reason: get_pty: not enough ptys

一樣是只有root可以正常執行
我用 Mandrake 10, kernel 2.6 或 2.4 都會有這情況,
把 devfs 關掉 是可以 run 的.
很可能是 devfs udev 那些東西的問題,
因為 root 可以自動生出 pty devices , users 不行。