multiseat X11

  • Follow


Hi,

is there someone who has experimented with multiseat X11? I am having
trouble getting JDS working on Solaris 10/sparc in multiseat mode...
JDS is not the only environment having problems, but the one which
shows the issues at once.

My /etc/dt/config/Xservers:
    :0   Local local_uid@none root /usr/X11/bin/Xserver :0 -nobanner -dev /dev/fb0
    :1   Local local_uid@none root /usr/X11/bin/Xserver :1 -nobanner -dev /dev/fb1


This one works without problems, but is a little bit slow and I don't get any
sound, because I am not on console with :0.

If I change this to:
    :0   Local local_uid@console root /usr/X11/bin/Xserver :0 -nobanner -dev /dev/fb0
    :1   Local local_uid@none root /usr/X11/bin/Xserver :1 -nobanner -dev /dev/fb1

everything looks find, but JDS hangs during startup and other windowmanagers will
run for a short time and then all X11 applications are getting trouble with authentication.
Additionally, this config caused Xsun to become really nasty: I didn't terminate
anymore and was unkillable (even kill -9 did nothing - I had to reboot).

Both servers on console didn't work at all IIRC.
So does anybody have an idea how to get sound and fast X11 and JDS working in multiseat mode?

TIA,
Tom
0
Reply Thomas 9/9/2005 3:13:46 PM

Thomas Maier-Komor wrote:
> Hi,
> 
> is there someone who has experimented with multiseat X11? I am having
> trouble getting JDS working on Solaris 10/sparc in multiseat mode...
> JDS is not the only environment having problems, but the one which
> shows the issues at once.
> 
> My /etc/dt/config/Xservers:
>    :0   Local local_uid@none root /usr/X11/bin/Xserver :0 -nobanner -dev 
> /dev/fb0
>    :1   Local local_uid@none root /usr/X11/bin/Xserver :1 -nobanner -dev 
> /dev/fb1
> 
> 
> This one works without problems, but is a little bit slow and I don't 
> get any
> sound, because I am not on console with :0.
> 
> If I change this to:
>    :0   Local local_uid@console root /usr/X11/bin/Xserver :0 -nobanner 
> -dev /dev/fb0
>    :1   Local local_uid@none root /usr/X11/bin/Xserver :1 -nobanner -dev 
> /dev/fb1
> 
> everything looks find, but JDS hangs during startup and other 
> windowmanagers will
> run for a short time and then all X11 applications are getting trouble 
> with authentication.
> Additionally, this config caused Xsun to become really nasty: I didn't 
> terminate
> anymore and was unkillable (even kill -9 did nothing - I had to reboot).
> 
> Both servers on console didn't work at all IIRC.
> So does anybody have an idea how to get sound and fast X11 and JDS 
> working in multiseat mode?
> 
> TIA,
> Tom
i dont know if multihead is it same as xinerama ?, i used to use this
/usr/openwin/bin/xinit /usr/dt/bin/Xsession -- /usr/openwin/bin/Xsun 
+xinerama
-dev /dev/fb0 defdepth 24 -dev /dev/fb1 defdepth 24
or
/usr/openwin/bin/xinit /usr/dt/bin/Xsession -- /usr/openwin/bin/Xsun 
-dev /dev/fb0 left -dev /dev/fb1 right
to start in xinerama mode.

maybe its different using Xorg ?

for sound are you the owner of /dev/audio* /dev/sound*
ls -lL /dev/audio*
crw-------   1 me    again     34,  0 Feb 11  2005 /dev/audio
crw-------   1 me    again     34,  1 Feb 11  2005 /dev/audioctl

see /etc/logindevperm
which uses console trigger permissions for audio, so none is excluded.
think you can chown "you" /dev/audio* /dev/sound*
to get sound working.

/j�rgen
0
Reply Jorgen 9/9/2005 9:07:13 PM


Jorgen Moquist schrieb:
> Thomas Maier-Komor wrote:
> 
>> Hi,
>>
>> is there someone who has experimented with multiseat X11? I am having
>> trouble getting JDS working on Solaris 10/sparc in multiseat mode...
>> JDS is not the only environment having problems, but the one which
>> shows the issues at once.
>>
>> My /etc/dt/config/Xservers:
>>    :0   Local local_uid@none root /usr/X11/bin/Xserver :0 -nobanner 
>> -dev /dev/fb0
>>    :1   Local local_uid@none root /usr/X11/bin/Xserver :1 -nobanner 
>> -dev /dev/fb1
>>
>>
>> This one works without problems, but is a little bit slow and I don't 
>> get any
>> sound, because I am not on console with :0.
>>
>> If I change this to:
>>    :0   Local local_uid@console root /usr/X11/bin/Xserver :0 -nobanner 
>> -dev /dev/fb0
>>    :1   Local local_uid@none root /usr/X11/bin/Xserver :1 -nobanner 
>> -dev /dev/fb1
>>
>> everything looks find, but JDS hangs during startup and other 
>> windowmanagers will
>> run for a short time and then all X11 applications are getting trouble 
>> with authentication.
>> Additionally, this config caused Xsun to become really nasty: I didn't 
>> terminate
>> anymore and was unkillable (even kill -9 did nothing - I had to reboot).
>>
>> Both servers on console didn't work at all IIRC.
>> So does anybody have an idea how to get sound and fast X11 and JDS 
>> working in multiseat mode?
>>
>> TIA,
>> Tom
> 
> i dont know if multihead is it same as xinerama ?, i used to use this
> /usr/openwin/bin/xinit /usr/dt/bin/Xsession -- /usr/openwin/bin/Xsun 
> +xinerama
> -dev /dev/fb0 defdepth 24 -dev /dev/fb1 defdepth 24
> or
> /usr/openwin/bin/xinit /usr/dt/bin/Xsession -- /usr/openwin/bin/Xsun 
> -dev /dev/fb0 left -dev /dev/fb1 right
> to start in xinerama mode.
> 
> maybe its different using Xorg ?
> 
> for sound are you the owner of /dev/audio* /dev/sound*
> ls -lL /dev/audio*
> crw-------   1 me    again     34,  0 Feb 11  2005 /dev/audio
> crw-------   1 me    again     34,  1 Feb 11  2005 /dev/audioctl
> 
> see /etc/logindevperm
> which uses console trigger permissions for audio, so none is excluded.
> think you can chown "you" /dev/audio* /dev/sound*
> to get sound working.
> 
> /j�rgen


Thank you for the hint with logindevperm - I didn't know this file...

Multiseat is something differnet than multihead or xinerama. Multiseat
means that you have mulitple sets of keyboard, mouse, and display
connected to one machine. So there are acutally multiple seats, where
multiple persons can work.

Cheers,
Tom
0
Reply Thomas 9/10/2005 2:40:10 PM

In article <dfs8rd$jfs$1@wsc10.lrz-muenchen.de>,
	Thomas Maier-Komor <maierkom@lpr.e-technik.no-spam.tu-muenchen.de> writes:
> Hi,
> 
> is there someone who has experimented with multiseat X11? I am having
> trouble getting JDS working on Solaris 10/sparc in multiseat mode...
> JDS is not the only environment having problems, but the one which
> shows the issues at once.
> 
> My /etc/dt/config/Xservers:
>    :0   Local local_uid@none root /usr/X11/bin/Xserver :0 -nobanner -dev /dev/fb0
>    :1   Local local_uid@none root /usr/X11/bin/Xserver :1 -nobanner -dev /dev/fb1
> 
> 
> This one works without problems, but is a little bit slow and I don't get any
> sound, because I am not on console with :0.
> 
> If I change this to:
>    :0   Local local_uid@console root /usr/X11/bin/Xserver :0 -nobanner -dev /dev/fb0
>    :1   Local local_uid@none root /usr/X11/bin/Xserver :1 -nobanner -dev /dev/fb1
> 
> everything looks find, but JDS hangs during startup and other windowmanagers will
> run for a short time and then all X11 applications are getting trouble with authentication.
> Additionally, this config caused Xsun to become really nasty: I didn't terminate
> anymore and was unkillable (even kill -9 did nothing - I had to reboot).
> 
> Both servers on console didn't work at all IIRC.
> So does anybody have an idea how to get sound and fast X11 and JDS working in multiseat mode?
> 

How to configure the X server (if it's even possible!) to handle one each
of multiple keyboard and pointer (mouse) devices, would be the major
problem.  Sound would be another problem.  Setting the right permissions
on each frame buffer, keyboard and pointer (and if one had some idea of
what one wanted to do for sound, that too) would be another problem.
I suppose one would need to start with modified versions of
/usr/openwin/server/modules/ddxSUNWkbd.so.1 and
/usr/openwin/server/modules/ddxSUNWmouse.so.1, but without source, creating
them would be a problem.

On x86, one might be able to do it with the Xorg server, but unless you
build your own (and can create your own SPARC frame buffer DDX code as
needed), I think you're SOL on SPARC.


-- 
mailto:rlhamil@smart.net  http://www.smart.net/~rlhamil

Lasik/PRK theme music:
    "In the Hall of the Mountain King", from "Peer Gynt"
0
Reply Richard 9/10/2005 3:40:32 PM

On Sat, 10 Sep 2005 15:40:32 -0000
Richard.L.Hamilton@mindwarp.smart.net (Richard L. Hamilton) wrote:

 
> On x86, one might be able to do it with the Xorg server, but unless
> you build your own (and can create your own SPARC frame buffer DDX
> code as needed), I think you're SOL on SPARC.
> 


No its possible on sparc and x86.
Beside the obvious choice of deploying Sunrays, there is a way to setup
usb machines to do what you want:

http://groups.google.com/group/comp.unix.solaris/tree/browse_frm/thread/8cc914e12c9ad4de/0a0d12ca4b2321a1?rnum=1&_done=%2Fgroup%2Fcomp.unix.solaris%2Fbrowse_frm%2Fthread%2F8cc914e12c9ad4de%2Fe99438d347c5bb06%3Flnk%3Dst%26rnum%3D1%26#doc_2a522a4b0f8c3192


-- 
Barbie - Prayers are like junkmail for Jesus

I have seen things you lusers would not believe.
I've seen Sun monitors on fire off the side of the multimedia lab.
I've seen NTU lights glitter in the dark near the Mail Gate.
All these things will be lost in time, like the root partition last
week. Time to die.
0
Reply Barbie 9/10/2005 4:02:54 PM

In article <20050910180254.1d04eb50.barbie@gods-inc.de>,
	Barbie LeVile <barbie@gods-inc.de> writes:
> On Sat, 10 Sep 2005 15:40:32 -0000
> Richard.L.Hamilton@mindwarp.smart.net (Richard L. Hamilton) wrote:
> 
>  
>> On x86, one might be able to do it with the Xorg server, but unless
>> you build your own (and can create your own SPARC frame buffer DDX
>> code as needed), I think you're SOL on SPARC.
>> 
> 
> 
> No its possible on sparc and x86.
> Beside the obvious choice of deploying Sunrays, there is a way to setup
> usb machines to do what you want:
> 
> http://groups.google.com/group/comp.unix.solaris/tree/browse_frm/thread/8cc914e12c9ad4de/0a0d12ca4b2321a1?rnum=1&_done=%2Fgroup%2Fcomp.unix.solaris%2Fbrowse_frm%2Fthread%2F8cc914e12c9ad4de%2Fe99438d347c5bb06%3Flnk%3Dst%26rnum%3D1%26#doc_2a522a4b0f8c3192
> 

Someone who can actually _find_ what they think they remember.  Cool.
I suppose one could handle multiple audio boards with different device names
for the -audiobell parameter.  But I still wonder how one would set the
permissions for the devicesproperly, so that dtlogin would set the owner
for the devices used by each X server corresponding to the user logged in
on that display.  A possible hint seems to appear in dtlogin(1):

     The default Xstartup file contains code to change  ownership
     of  /dev/console to the user whose session is running on the
     console.
[...]
     The default Xreset file contains code  change  ownership  of
     /dev/console back to root.


But looking at dtlogin(1) together with Xstartup, $ITE only makes sense in
the case of a Xserver line containing something like local_uid@console,
i.e. one where $ITE is indeed an "Internal Terminal Emulator".  I suppose
one could hard-code a case statement to map different $DISPLAY values to
different devices that needed their ownership set (and in Xreset, to
restore them), for cases where $ITE was something other than "console".

So perhaps this could be made to work.  But there's enough editing of
files and other setup involved to get it to behave as much as possible
for additional servers as for the one associated with the console, that
I can certainly see why "support will probably give you a blank look if
you ask them about it".

-- 
mailto:rlhamil@smart.net  http://www.smart.net/~rlhamil

Lasik/PRK theme music:
    "In the Hall of the Mountain King", from "Peer Gynt"
0
Reply Richard 9/10/2005 10:39:20 PM

Richard.L.Hamilton@mindwarp.smart.net (Richard L. Hamilton) writes in comp.unix.solaris:
|How to configure the X server (if it's even possible!) to handle one each
|of multiple keyboard and pointer (mouse) devices, would be the major
|problem.

http://groups.google.com/group/comp.unix.solaris/msg/2a522a4b0f8c3192?hl=en&

|I suppose one would need to start with modified versions of
|/usr/openwin/server/modules/ddxSUNWkbd.so.1 and
|/usr/openwin/server/modules/ddxSUNWmouse.so.1, but without source, creating
|them would be a problem.

Those were modified and made available in Solaris patches and releases
a few years ago.  (See above linked posting from 2003.)

-- 
________________________________________________________________________
Alan Coopersmith * alanc@alum.calberkeley.org * Alan.Coopersmith@Sun.COM
 http://www.csua.berkeley.edu/~alanc/   *   http://blogs.sun.com/alanc/
  Working for, but definitely not speaking for, Sun Microsystems, Inc.
0
Reply Alan 9/11/2005 4:24:36 PM

6 Replies
174 Views

(page loaded in 0.109 seconds)

Similiar Articles:




7/21/2012 11:48:18 PM


Reply: