On Sun, 9 Sep 2007 15:13:58 +0530, G Karunakar
<[EMAIL PROTECTED]> said:  

 [This is not a response to OP; I am just responding to solutions that
  open up the X display; there are alternatives to doing this]

> typically you can do this..
> 1) open a terminal $ xhost +

        This essentially defeats all the security you had in place. I
 would not recommend this.

> 2)
>    $ su - otheruser $ export DISPLAY=:0.0 (or DISPLAY=urip:0.0 )

xauth extract - $DISPLAY | ssh [EMAIL PROTECTED] /usr/bin/X11/xauth merge -

        Here is how to allow oneself on another machine to run X
 clients on host tiamat from host glaurung.

#!/bin/sh 
if [ `hostname` == "glaurung" ]; then
    xauth extract - $DISPLAY | ssh tiamat /usr/bin/xauth merge -
    ssh tiamat "DISPLAY=glaurung:0 ${1+"$@"} & "
fi

        manoj
-- 
Every reform is only a mask under cover of which a more terrible reform,
which dares not yet name itself, advances.  -- Ralph Waldo Emerson
Manoj Srivastava <[EMAIL PROTECTED]> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to