|
From: Hugo V. <hvw...@ya...> - 2005-08-16 11:22:57
|
--- ludovic pollet <pl...@nn...> wrote: > Le Mardi 16 Août 2005 08:05, vous avez écrit : > > On Otrdiena, 9. Augusts 2005 03:04, ludovic pollet > wrote: > > > Hello, > > > > > > I adressed the sound card issue with multiple X > display. > > > > > > It is a little filesystem for fuse > (http://fuse.sourceforge.net/). > > > Basically, it provides a symlink which depends > on the DISPLAY environment > > > variable. > > > > > > When a process will open /dev/dsp, the symlink > will resolve depending on > > > the DISPLAY variable of the process. From there, > it is easy to make > > > process on first display open the first dsp, and > so on... > > > > > > This should works for any program using OSS > (this covers most unfriendly > > > ones, like Mozilla plugin, OpenOffice or vmware, > ...), or ALSA in > > > emulation mode (for native mode, alsalib is our > friend :-). > > > > > > Source and binary are available at > http://www.nnx.com/~pludov/sessiond/ > > > It should work out of the box for Fedora core 3, > (with fuse installed)... > > > > > > Any feedback is welcome ! > > > > Hm. How easy is /dev/ttyXX redirect? > > After /dev/tty redirect to new/fake driver all X > switch-tty patches goes > > away. So i have in my mind unpatched linux and X. > > > > Aivils > > I don't really understand why tty redirection is > interesting ! > But it should be just the same : Replace the > existing /dev/ttyXX > to /var/session/currents/current/ttyXX and then, > create the per display link > in /var/session/:0 or /var/session/:1 > > Then link in /var/session/:X will be used regarding > the DISPLAY variable. > What happens to using sound in the vc's? E.g. I hit Alt+Ctl+F1 and in vc1/0 issue: play mplayer.wav? Hugo __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |