-----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't want to do that. > All I want is this > Suppose I do a startx -- :1 on alpha > My X server starts > I open xterm and do a rsh -l username beta > When I login on beta, my display should be automatically set to alpha:1 I've never used rsh(1), and from a glance on its manpage, I don't think it supports exporting environment variables, so the only thing you can do is to probably invoke a script (a wrapper script around your shell which also exports the desired $DISPLAY to the shell) on your login to the server. Ashish - -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjYy3EACgkQHy+EEHYuXnSeJQCgtIIr5v9Si7NJEdpnbJdk71zl RqsAn0ZQup7uiykBAbBApHc078FiecTT =5Dq0 -----END PGP SIGNATURE----- _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/