problems with atermForum: Other Help Topics Topic: problems with aterm started by: mark_one Posted by mark_one on Jan. 20 2006,13:03
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 Posted by cbagger01 on Jan. 22 2006,15:43
You can use "chmod" to change the permissions for the devices.< http://www.die.net/doc/linux/man/man1/chmod.1.html > Posted by mark_one on Jan. 22 2006,20:55
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 |