Hi!

  I have a cople of issues, which I hope has not been posted before.
  My system is a Red Hat 8.0, with lates updates from up2date
$ uname -a
Linux deimos 2.4.18-17.8.0 #1 Tue Oct 8 11:48:09 EDT 2002 i686 athlon
i386 GNU/Linux

1)
  First question is about devices. One user (user) logs in X-window, and
it plays with multimedia software, making use of several devices:
/dev/mixer /dev/dsp /dev/video0. This same user logs in into a text
termianl (virtual terminal). Then, later on, the user logs out from X,
but keeps the text terminal/s. Another user (user_2) logs in X, but it
_can not_ use any of the devices specified before, unless the previous
user logs out from all terminals, then user_2 has to log out and log in
again to take control of the devices. The virtual terminals of the first
user were only used to run setiathome and other basic apps (i.e.: no
multimedia software).
  Doing a simple ls -la, reveals that the devices are still owned by the
first user. If one does a /usr/sbin/lsof /dev/[mixer,dsp,video0], none
of them are opened by any user.

  Is this how it should be? Is this the normal operation?
  I thought that the devices were taken when one was using them, and
after they were released, but this doesn't seem to be the case.


After this I have another question, which puzzles me a little:

2)
  I have the same user loged in into two text terminals (virtual
terminals 1 and 2). In terminal 1 is running setiathome (as the
foreground process, no other processes attached to this terminal), in
terminal two is doing nothing, sometimes doing a grep or checking a
manual page. After a while, the user decides to logout from terminal 2
by pressing ctrl-d. What happens is that it logs out from terminal 2, as
expected, but setiathome (running in terminal 1) is killed! Why? Is that
normal? It always happens, but only with setiathome... And it doesn't
matter if setiathome is in the background or not. Just by loging out
from a terminal causes setiathome to be killed... If I do ctrl-d in the
console where setiathome is running (in the foreground), nothing
happens, if I want to kill it I have to send ctrl-c or the appropiate
signal with kill. What is going on? How are the two terminals related to
make that happen?


Thanks a lot!

/JPC




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to