Find the answer to your Linux question:
Results 1 to 4 of 4
I just installed xxgdb on my Mandrake 10.1 box. I went to run it and it stated: [hacksaw@localhost hacksaw]$ xxgdb xxgdb: all ptys in use I poked around to try ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    2

    All ptys in use


    I just installed xxgdb on my Mandrake 10.1 box. I went to run it and it stated:
    [hacksaw@localhost hacksaw]$ xxgdb
    xxgdb: all ptys in use
    I poked around to try and figure out what's going on and found this and similar things. Unfortunately, the document it points to is missing in action.

    I searched some more and things seemed to be pointing to permissions on either /dev/pty* or on xxgdb itself. I don't see /dev/pty* on my box, so I'm assuming that's a distribution difference. I looked at xxgdb's permissions:
    [hacksaw@localhost hacksaw]$ ls -l `which xxgdb`
    -rwxr-xr-x 1 root root 89816 Aug 16 2004 /usr/X11R6/bin/xxgdb*
    I then tried:
    chgrp tty xxgdb
    chmod g+s xxgdb
    based on some things I saw, but that didn't fix the problem.

    Has anyone else seen this? Does anyone have any pointers? Any help would be greatly appreciated. Thanks.

  2. #2
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    I *think* that /dev/pty* is really called /dev/tty. I just went through this trying to get talk working, but alas my box is at home, and I'm not. I'll give more when I get home.

    In the mean time, what's the output of

    ls -l /dev/tty*

    You might also try tts* or (worst case) tt*

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Posts
    2
    Hey, the more (data), the merrier:
    [hacksaw@localhost thread_test]$ ls -l /dev/tt*
    crw-rw-rw- 1 root tty 5, 0 Feb 21 03:26 /dev/tty
    crw------- 1 root root 4, 0 Feb 21 08:27 /dev/tty0
    crw------- 1 root root 4, 1 Feb 21 08:27 /dev/tty1
    crw-rw---- 1 root tty 4, 10 Feb 21 03:26 /dev/tty10
    crw-rw---- 1 root tty 4, 11 Feb 21 03:26 /dev/tty11
    crw-rw---- 1 root tty 4, 12 Feb 21 03:26 /dev/tty12
    crw-rw---- 1 root tty 4, 13 Feb 21 03:26 /dev/tty13
    crw-rw---- 1 root tty 4, 14 Feb 21 03:26 /dev/tty14
    crw-rw---- 1 root tty 4, 15 Feb 21 03:26 /dev/tty15
    crw-rw---- 1 root tty 4, 16 Feb 21 03:26 /dev/tty16
    crw-rw---- 1 root tty 4, 17 Feb 21 03:26 /dev/tty17
    crw-rw---- 1 root tty 4, 18 Feb 21 03:26 /dev/tty18
    crw-rw---- 1 root tty 4, 19 Feb 21 03:26 /dev/tty19
    crw------- 1 root root 4, 2 Feb 21 08:27 /dev/tty2
    crw-rw---- 1 root tty 4, 20 Feb 21 03:26 /dev/tty20
    crw-rw---- 1 root tty 4, 21 Feb 21 03:26 /dev/tty21
    crw-rw---- 1 root tty 4, 22 Feb 21 03:26 /dev/tty22
    crw-rw---- 1 root tty 4, 23 Feb 21 03:26 /dev/tty23
    crw-rw---- 1 root tty 4, 24 Feb 21 03:26 /dev/tty24
    crw-rw---- 1 root tty 4, 25 Feb 21 03:26 /dev/tty25
    crw-rw---- 1 root tty 4, 26 Feb 21 03:26 /dev/tty26
    crw-rw---- 1 root tty 4, 27 Feb 21 03:26 /dev/tty27
    crw-rw---- 1 root tty 4, 28 Feb 21 03:26 /dev/tty28
    crw-rw---- 1 root tty 4, 29 Feb 21 03:26 /dev/tty29
    crw------- 1 root root 4, 3 Feb 21 08:27 /dev/tty3
    crw-rw---- 1 root tty 4, 30 Feb 21 03:26 /dev/tty30
    crw-rw---- 1 root tty 4, 31 Feb 21 03:26 /dev/tty31
    crw-rw---- 1 root tty 4, 32 Feb 21 03:26 /dev/tty32
    crw-rw---- 1 root tty 4, 33 Feb 21 03:26 /dev/tty33
    crw-rw---- 1 root tty 4, 34 Feb 21 03:26 /dev/tty34
    crw-rw---- 1 root tty 4, 35 Feb 21 03:26 /dev/tty35
    crw-rw---- 1 root tty 4, 36 Feb 21 03:26 /dev/tty36
    crw-rw---- 1 root tty 4, 37 Feb 21 03:26 /dev/tty37
    crw-rw---- 1 root tty 4, 38 Feb 21 03:26 /dev/tty38
    crw-rw---- 1 root tty 4, 39 Feb 21 03:26 /dev/tty39
    crw------- 1 root root 4, 4 Feb 21 08:27 /dev/tty4
    crw-rw---- 1 root tty 4, 40 Feb 21 03:26 /dev/tty40
    crw-rw---- 1 root tty 4, 41 Feb 21 03:26 /dev/tty41
    crw-rw---- 1 root tty 4, 42 Feb 21 03:26 /dev/tty42
    crw-rw---- 1 root tty 4, 43 Feb 21 03:26 /dev/tty43
    crw-rw---- 1 root tty 4, 44 Feb 21 03:26 /dev/tty44
    crw-rw---- 1 root tty 4, 45 Feb 21 03:26 /dev/tty45
    crw-rw---- 1 root tty 4, 46 Feb 21 03:26 /dev/tty46
    crw-rw---- 1 root tty 4, 47 Feb 21 03:26 /dev/tty47
    crw-rw---- 1 root tty 4, 48 Feb 21 03:26 /dev/tty48
    crw-rw---- 1 root tty 4, 49 Feb 21 03:26 /dev/tty49
    crw------- 1 root root 4, 5 Feb 21 08:27 /dev/tty5
    crw-rw---- 1 root tty 4, 50 Feb 21 03:26 /dev/tty50
    crw-rw---- 1 root tty 4, 51 Feb 21 03:26 /dev/tty51
    crw-rw---- 1 root tty 4, 52 Feb 21 03:26 /dev/tty52
    crw-rw---- 1 root tty 4, 53 Feb 21 03:26 /dev/tty53
    crw-rw---- 1 root tty 4, 54 Feb 21 03:26 /dev/tty54
    crw-rw---- 1 root tty 4, 55 Feb 21 03:26 /dev/tty55
    crw-rw---- 1 root tty 4, 56 Feb 21 03:26 /dev/tty56
    crw-rw---- 1 root tty 4, 57 Feb 21 03:26 /dev/tty57
    crw-rw---- 1 root tty 4, 58 Feb 21 03:26 /dev/tty58
    crw-rw---- 1 root tty 4, 59 Feb 21 03:26 /dev/tty59
    crw------- 1 root root 4, 6 Feb 21 08:27 /dev/tty6
    crw-rw---- 1 root tty 4, 60 Feb 21 03:26 /dev/tty60
    crw-rw---- 1 root tty 4, 61 Feb 21 03:26 /dev/tty61
    crw-rw---- 1 root tty 4, 62 Feb 21 03:26 /dev/tty62
    crw-rw---- 1 root tty 4, 63 Feb 21 03:26 /dev/tty63
    crw------- 1 root root 4, 7 Feb 21 03:26 /dev/tty7
    crw------- 1 root root 4, 8 Feb 21 03:26 /dev/tty8
    crw------- 1 root root 4, 9 Feb 21 03:26 /dev/tty9
    crw-rw---- 1 hacksaw uucp 4, 64 Feb 21 03:26 /dev/ttyS0
    crw-rw---- 1 hacksaw uucp 4, 65 Feb 21 03:26 /dev/ttyS1
    crw-rw---- 1 hacksaw uucp 4, 66 Feb 21 03:26 /dev/ttyS2
    crw-rw---- 1 hacksaw uucp 4, 67 Feb 21 03:26 /dev/ttyS3
    crw-rw---- 1 hacksaw uucp 4, 68 Feb 21 03:26 /dev/ttyS4
    crw-rw---- 1 hacksaw uucp 4, 69 Feb 21 03:26 /dev/ttyS5
    crw-rw---- 1 hacksaw uucp 4, 70 Feb 21 03:26 /dev/ttyS6
    crw-rw---- 1 hacksaw uucp 4, 71 Feb 21 03:26 /dev/ttyS7

    /dev/tts:
    total 0
    lrwxrwxrwx 1 root root 8 Feb 21 08:27 0 -> ../ttyS0
    lrwxrwxrwx 1 root root 8 Feb 21 08:27 1 -> ../ttyS1
    lrwxrwxrwx 1 root root 8 Feb 21 08:27 2 -> ../ttyS2
    lrwxrwxrwx 1 root root 8 Feb 21 08:27 3 -> ../ttyS3
    lrwxrwxrwx 1 root root 8 Feb 21 08:27 4 -> ../ttyS4
    lrwxrwxrwx 1 root root 8 Feb 21 08:27 5 -> ../ttyS5
    lrwxrwxrwx 1 root root 8 Feb 21 08:27 6 -> ../ttyS6
    lrwxrwxrwx 1 root root 8 Feb 21 08:27 7 -> ../ttyS7

  4. #4
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    Okay, I'll have to wait till I get home.

    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •