This is a discussion on xxgdb error within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi all. When I try to open xxgdb as a normal user it gives me the following error: xxgdb: ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all. When I try to open xxgdb as a normal user it gives me the following error: xxgdb: all ptys in use and doesnt start. As root the program starts normally, and when I change the permissions in the udev rule to MODE="0666" for the pty devices, xxgdb also works for normal users. What is the real problem with xxgdb? Is correct, safe or sane to change the permissions of the pty devices? or, Is there a better solution? Thanks in advance. |
| |||
| iluvatar wrote: > Hi all. > > When I try to open xxgdb as a normal user it gives me the following > error: > xxgdb: all ptys in use > and doesnt start. > > As root the program starts normally, and when I change the permissions > in the udev rule to MODE="0666" for the pty devices, xxgdb also works > for normal users. > > What is the real problem with xxgdb? Is correct, safe or sane to change > the permissions of the pty devices? or, Is there a better solution? > > Thanks in advance. > If you're using a 2.6 kernel, you'll need to turn on "LEGACY (BSD) PTY support" in the character devices section, to get it to work for regular users. If you're a POSIX fan, the error you're getting is probably ENXIO, which means the driver is there but not the hardware. In this case it's the hardware support in the kernel that's missing. |
| |||
| Hi. And I have the put no to the variable CONFIG_UNIX98_PTYS? Thanks. Chris Sorenson wrote: > iluvatar wrote: > > Hi all. > > > > When I try to open xxgdb as a normal user it gives me the following > > error: > > xxgdb: all ptys in use > > and doesnt start. > > > > As root the program starts normally, and when I change the permissions > > in the udev rule to MODE="0666" for the pty devices, xxgdb also works > > for normal users. > > > > What is the real problem with xxgdb? Is correct, safe or sane to change > > the permissions of the pty devices? or, Is there a better solution? > > > > Thanks in advance. > > > > If you're using a 2.6 kernel, you'll need to turn on "LEGACY (BSD) PTY > support" in the character devices section, to get it to work for regular > users. If you're a POSIX fan, the error you're getting is probably > ENXIO, which means the driver is there but not the hardware. In this > case it's the hardware support in the kernel that's missing. |