X over SSH!

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Sanjay Darisi
Date:  
Subject: X over SSH!
This is a multi-part message in MIME format.
--------------020200080109080607090502
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit


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.

--------------020200080109080607090502
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
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&nbsp; 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. <br>
<br>
Thank you,<br>
Sanjay.<br>
</body>
</html>

--------------020200080109080607090502--