[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X, ttyp? hangers-on



   My .xinitrc opens two xterms, so when I am running X, `who' says
something like this:

$ who
--------------------------------------
bhogan   tty2     Mar 13 14:23
gonzo    tty3     Mar 13 14:17
gonzo    tty4     Mar 13 15:48
root     tty6     Mar 13 17:55
gonzo    ttyp1    Mar 13 14:18 (:0.0)
gonzo    ttyp0    Mar 13 14:18 (:0.0)
---------------------------------------

    However, long after I have quitted the X session, `who' still says
this; the `ttyp' lines ending in `(:0.0)' do not go away unless
`gonzo' exits (logs off).

    Am I mistaken in thinking these `ttyp' entries should disappear as
soon as I quit X?

    I don't remember it having been this way in the past but it is not
impossible that I simply never noticed it.

    Btw, what permissions should these `ttyp' devices have in the
first place?

    Why (on my setup at least) is ttyp3 chmod 600 while all the others
are chmod 666? Why does root:root own tttyp[0-4] while root:tty owns
all the others?

crw-rw-rw-   1 root     root       4, 192 Mar 14 03:42 ttyp0
crw-rw-rw-   1 root     root       4, 193 Mar 14 03:42 ttyp1
crw-rw-rw-   1 root     root       4, 194 Mar 12 21:59 ttyp2
crw-------   1 root     root       4, 195 Mar 14 01:53 ttyp3
crw-rw-rw-   1 root     root       4, 196 Mar 14 03:04 ttyp4
crw-rw-rw-   1 root     tty        4, 197 Oct 19 11:45 ttyp5
crw-rw-rw-   1 root     tty        4, 198 Sep  9  1995 ttyp6
crw-rw-rw-   1 root     tty        4, 199 Sep  9  1995 ttyp7
crw-rw-rw-   1 root     tty        4, 200 Sep  9  1995 ttyp8
crw-rw-rw-   1 root     tty        4, 201 Sep  9  1995 ttyp9
crw-rw-rw-   1 root     tty        4, 202 Sep  9  1995 ttypa
crw-rw-rw-   1 root     tty        4, 203 Sep  9  1995 ttypb
crw-rw-rw-   1 root     tty        4, 204 Sep  9  1995 ttypc
crw-rw-rw-   1 root     tty        4, 205 Sep  9  1995 ttypd
crw-rw-rw-   1 root     tty        4, 206 Sep  9  1995 ttype
crw-rw-rw-   1 root     tty        4, 207 Sep  9  1995 ttypf

    Thank you.

-- 
<bhogan@rahul.net> |- "5. Improve constantly and forever the system of
production and service, to improve quality and productivity, and thus
constantly decrease costs." (W. Edwards Deming)



Reply to: