This is a multi-part message in MIME format. --------------070704040004070105070307 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Wow!!! it works...Thank you Bryce. Btw, what additional things does the -X switch do apart from setting the DISPLAY to localhost:10.0 . 'cos I tried ssh without the -X switch for the second time and it works. So, does it have some kind of cookie setup somewhere or anything to do with .Xauthority file? And how are the resources utilized? For few programs I get the shell prompt back (like mozilla) and for many programs that I executed I didn't get the prompt back. So, If I invoke an application called A, should this application be on the local machine for the display to come up? Sanjay. Bryce C wrote: >Just try `ssh -X computer` and then run something simple like xlogo to >test that X forwarding is working. The -X switch tells it to use SSH X >forwarding so the DISPLAY should automatically be set to localhost:10.0 >Good Luck > >On Tue, 2003-12-30 at 20:45, Sanjay Darisi wrote: > > >>I never had luck with exporting display over SSH. I want to run X-apps >>on my linux box (say computer 2) and export the display to my other >>linux computer (say Computer 1). I ssh'ed to computer 2 and set the >>$DISPLAY to computer1's IP:10.0 The 10 is the offset in sshd_config. >>And X11Forwarding is set to yes in sshd_config. when I run any x-app >>(like say xcalc), it says it can't open the display. Any ideas how to >>export display over ssh? Is it anything to do with .Xauthority file??? >>I ran ethereal on computer 1 and saw that a few tcp packets are >>destined to port 6010 ( 6000 + 10 offset). So, does it mean my Xserver >>is not accepting connections on that port? I did xhost + too. It >>didn't work. >> >>Thank you, >>Sanjay. >> >> --------------070704040004070105070307 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
Just try `ssh -X computer` and then run something simple like xlogo to test that X forwarding is working. The -X switch tells it to use SSH X forwarding so the DISPLAY should automatically be set to localhost:10.0 Good Luck On Tue, 2003-12-30 at 20:45, Sanjay Darisi wrote:I never had luck with exporting display over SSH. I want to run X-apps on my linux box (say computer 2) and export the display to my other linux computer (say Computer 1). I ssh'ed to computer 2 and set the $DISPLAY to computer1's IP:10.0 The 10 is the offset in sshd_config. And X11Forwarding is set to yes in sshd_config. when I run any x-app (like say xcalc), it says it can't open the display. Any ideas how to export display over ssh? Is it anything to do with .Xauthority file??? I ran ethereal on computer 1 and saw that a few tcp packets are destined to port 6010 ( 6000 + 10 offset). So, does it mean my Xserver is not accepting connections on that port? I did xhost + too. It didn't work. Thank you, Sanjay.