[ILUG] UserA <--> UserB Interaction

Gavin Beatty gavinbeatty at gmail.com
Fri Feb 1 13:13:49 GMT 2008


On Fri, Feb 1, 2008 at 12:59 PM, Frank Murphy <frankly3d.ilug at gmail.com> wrote:
>
>  On Fri, 2008-02-01 at 11:57 +0000, Gavin Beatty wrote:
>
>  > I found Xnest to be very slow, YMMV. If nesting is preferable to you
>  > (so you can run an actual desktop as UserB), I'd recommend Xephyr.
>  >
>  > Launch it with:
>  > $ Xephyr :1 -extension GLX &
>  > Login to UserB
>  > $ su - UserB
>
>  Tried it a number of ways,
>  $ Xephyr :1 -extension GLX &
>  Xephyr -query localhost -screen 1024x768 :1
>
>  ends up as a chequerboard pattern.

What you _should_ get is a chequerboard patter. Xephyr basically
launches a new Xserver with NO applications displaying anything on it.
If you'd like to run `myapp' as UserB, do:
$ su - UserB
$ DISPLAY=:1 myapp

I forgot to mention the part about setting DISPLAY last time. Do
$ export DISPLAY=:1
if you'd like subsequent GUI apps to use the Xephyr for displaying to
the screen.

>   Xephyr -query localhost -screen 1024x768 :1 -extension GLX &
>  [1] 4144
>  [root at frank-02 frank]# Extended Input Devices not yet supported.
>  Impelement it at line 625 in kinput.c

I have no Xserver knowledge but are you saying Xephyr _exited_ with
this error? If it did not exit, I'd just ignore it. Update you
xserver-xorg package on your distro if you can/wish, but otherwise
ignore.

>  locate kinput.c no result

The program was compiled to report which _source_ files errors occur
in. This is so the developer can fix the problem easier. Obviously
you're not developing so you don't have the C source installed, hence
no `locate' results. On my Debian Etch, xserver-xorg is version 7.1.0
and this message doesn't appear.

>  Frank
>
>
>



-- 
Gavin Beatty

SEMPER UBI SUB UBI
GPG Fingerprint: 354D 9E9C 5C66 EDF4 E7D9 0EC5 6A7A C55D 49DD 695F



More information about the ILUG mailing list