Re: [ilugd] Automatically setting display.. A roadblock

2008-09-23 Thread Ashish Shukla आशीष शुक्ल
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tanveer Singh writes: [snip] > ssh? I am not using ssh. The box I am logging onto is via rsh. For > ssh its simple, no DISPLAY nonsense, just do ssh -X and it works >> And what if you're logged-in at :1 and want to work at :0, hmm...? > Nope, I don'

Re: [ilugd] Automatically setting display.. A roadblock

2008-09-23 Thread Tanveer Singh
On Tue, Sep 23, 2008 at 3:58 PM, Ashish Shukla आशीष शुक्ल <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I think this will be insecure, unless you're using XAUTH and other form > of ACLs provided by X, and X11 Forwarding via OpenSSH is the recommended > way to do

Re: [ilugd] Automatically setting display.. A roadblock

2008-09-23 Thread Ashish Shukla आशीष शुक्ल
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tanveer Singh writes: > I used to have this in my .cshrc > set DISP = `who am i | sed -e "s/(//" -e "s/)//" | awk '{printf "%s",$6}'` > setenv DISPLAY {$DISP}:0.0 > This works as long as I am on X server 0 > So my local machine is alpha and I login to

[ilugd] Automatically setting display.. A roadblock

2008-09-23 Thread Tanveer Singh
I used to have this in my .cshrc set DISP = `who am i | sed -e "s/(//" -e "s/)//" | awk '{printf "%s",$6}'` setenv DISPLAY {$DISP}:0.0 This works as long as I am on X server 0 So my local machine is alpha and I login to beta, I would have a DISPLAY set to alpha:0 The problem is what if my local ma