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

Re: X authentication and su (Re: changing framebuffer device owner during login)



On Tue, 19 Jun 2001, Jochen Voss wrote:
[...]
> I use a tiny script for this purpose: I just call "xgive",
> which is
> 
>     #! /bin/sh
>     echo "export DISPLAY=\"$DISPLAY\""
>     echo "echo `xauth nextract - $DISPLAY` | xauth nmerge -"
> 
> It outputs something like
> 
>     export DISPLAY=":0.0"
>     echo 0100 0007 ... | xauth nmerge -
> 
> These two commands I cut and paste into another user's xterm,
> to give him access to the display.

   It would be sweet to have something that does all this automatically.
'su -X - foo' for instance, kind of like 'ssh -X -l foo hostname' but
without the encryption and forwarding overhead...


--
Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
     We are Pentium of Borg. You will be approximated. Division is futile.



Reply to: