Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: problems with aterm, aterm: can't open pseudy-tty< Next Oldest | Next Newest >
mark_one Offline





Group: Members
Posts: 29
Joined: Nov. 2005
Posted: Jan. 20 2006,13:03 QUOTE

hello dsl users.

i have a very annoying problem that i can't solve:
i used dsl-2.0RC3b and remasterd it. i compiled a new kernel and installed a new windowmanager (fvwm) via chroot.
when i boot it, everything seems to work fine. the kernel loads and Xvesa and fvwm are started. until i want to open an aterm. then the console window appears for a very short time and then it dissapears again. when i switch to the console via ctrl+alt+f1 theres an error message like:
"aterm: can't open pseudo-tty"

i searched through the net and found some postings saying that...
"Unix98 PTY support" and
"(256) Maximum number of Unix98 PTYs in use (0-2048)"

...in the kernel config may be the problem. but i don't think that's true, because 256 should be more than enough.

does anyone have an idea, what's wrong or what i can do to solve this problem?

edit:
i installed "strace" to find out what the reason could be and i figured out that i don't have access to the /dev/pty* devices as normal user "dsl". there are a lot of messages like

"open("/dev/ptmx", O_RDWR)               = -1 EACCES (Permission denied)
open("/dev/ptyp0", O_RDWR)              = -1 EACCES (Permission denied)
...

that happens for all of the /dev/pty* devices and in the end i get the message you can already read above: "aterm: can't open pseudy-tty".

why is that and how can i solve this problem?



greetings

mark
Back to top
Profile PM ICQ 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 22 2006,15:43 QUOTE

You can use "chmod" to change the permissions for the devices.

http://www.die.net/doc/linux/man/man1/chmod.1.html
Back to top
Profile PM 
mark_one Offline





Group: Members
Posts: 29
Joined: Nov. 2005
Posted: Jan. 22 2006,20:55 QUOTE

hello.

you're right. stupid mistake of myself. something probably went wrong with the file/device permissions when i copied  the directories out of the iso image for remastering. i compared them and they were different. i don't know why that happend but this was the failure.

greetings

mark
Back to top
Profile PM ICQ 
2 replies since Jan. 20 2006,13:03 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: problems with aterm

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code