Unix Technical Forum

xxgdb error

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: ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 08:20 PM
iluvatar
 
Posts: n/a
Default xxgdb error

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 08:23 PM
Chris Sorenson
 
Posts: n/a
Default Re: xxgdb error

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 08:24 PM
iluvatar
 
Posts: n/a
Default Re: xxgdb error

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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 08:24 PM
Chris Sorenson
 
Posts: n/a
Default Re: xxgdb error

iluvatar wrote:
> Hi.
>
> And I have the put no to the variable CONFIG_UNIX98_PTYS?
>
> Thanks.
>
> Chris Sorenson wrote:
>


The default is "no," you want to put "yes."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:30 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com