tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Slightly off topic XDMCP and SSH
@ 2003-06-19 14:26 Chris Bryant
  2003-06-19 15:38 ` SSH X11 question Jonathan Williams
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Bryant @ 2003-06-19 14:26 UTC (permalink / raw)


Thanks to Eric Sisson, Tim Cutts, Bob Vickers, and David Smith for their
responses.  Basicly I just needed to setup X-Win32 as an X server and run my
connection trough ssh client and my X utilities will be tunneled trough ssh.
Here is the web sight I found dealing with this.

http://www2.slac.stanford.edu/comp/winnt/faq/xwin32/xwin32_faq.html

Thanks again,

Chris

-----Original Message-----
From: Chris Bryant 
Sent: Thursday, June 19, 2003 7:54 AM
To: Tru64 Unix (tru64-unix-managers@ornl.gov)
Subject: Slightly off topic XDMCP and SSH


Admins,

	This is slightly off topic but has to do with functionallity of
Tru64 UNIX 5.1B.  As I upgrade my servers to this version of unix I want to
implement secure shell.  I am using StarNet X-Win32 to connect via X Display
Management Control Protocol (XDMCP).  I was wanting to know if there was a
free ssh client that would allow me to still use my X utilities?  If not, is
there a way that I can configure ssh to work with XDMCP?  

TIA,  

Chris Bryant
Unix Administrator
Dollar Thrifty Automotive Group



^ permalink raw reply	[flat|nested] 3+ messages in thread

* SSH X11 question
  2003-06-19 14:26 SUMMARY: Slightly off topic XDMCP and SSH Chris Bryant
@ 2003-06-19 15:38 ` Jonathan Williams
  2003-06-19 21:57   ` SUMMARY: " Jonathan Williams
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Williams @ 2003-06-19 15:38 UTC (permalink / raw)


We just got a brand new Alphaserver ES80 (running Tru64 5.1b), and I'm busily
trying to configure it as a production machine.  One of the things that needs
configuring is SSH.

We have two other machines running SSH and 5.1b, and if I were to ssh2 from one
to the other, my DISPLAY variable would automatically be set for me (if I ssh2
from systemA to systemB, my DISPLAY will be set to something like
"systemB.shubertorg.com:10.0".  And all of the X11 applications work just fine.

With this new system, I noticed that the DISPLAY variable is blank when I ssh2
from the other systems to this system, or even from this system to the other
systems (causing a "cannot open display" error when starting X11 apps).  It's
like something is missing.  I don't recall having to do anything special to the
other systems to get this to work properly.  I compared the ssh2_config and
sshd2_config files (with a working system), and they seem to be identical
(including the FORWARDX11 option set to "yes").

One thing I noticed is that this new system seems to be running 5.1b patchkit 2,
while the others are running patchkit1--I'm not sure if that means anything
though.

Any suggestions are greatly appreciated.

Jonathan Williams
Unix Systems Administrator
The Shubert Organization, Inc.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* SUMMARY: SSH X11 question
  2003-06-19 15:38 ` SSH X11 question Jonathan Williams
@ 2003-06-19 21:57   ` Jonathan Williams
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Williams @ 2003-06-19 21:57 UTC (permalink / raw)


Bah!  I hate summaries like this one.  chalk this one up to user error. =(

There were two problems that I overlooked.  One was pointed out by Trevor
Osatchuk.  He said: "Before you ssh into the other system make sure that your
DISPLAY variable is set correctly.  If this isn't right then the other system
will have the same erroneous or null value."

Sure enough...I was using a user that I had "su"-ed to--so the DISPLAY variable
wasn't set.  If I ssh over from a fresh login, the DISPLAY is set correctly, and
X11 apps run fine.

The other problem was that when I tried it using the SSH Secure Shell windows
program, I forgot to put a little checkmark next to the "Tunnel X11
connections?" box.  Checked it, and now that works too.

Thanks for everyone that responded.  Almost all the responses suggested
modifying the /etc/hosts.allow file, and adding a line something like this:
sshdfwd-X11:        .domain.xxx      :ALLOW
I put this in, because maybe it will help others with similar problems.  I don't
use the hosts.deny file, so the hosts.allow file is unnecessary.  From the SSH
admin guide: "If /etc/hosts.allow does not contain a rule allowing access, tcpd
reads /etc/hosts.deny for a rule that would deny access.  If neither of the
files contains an accept or deny rule, access is granted by default."

So that's that.  Thanks again for the responses.

Jonathan Williams
Unix Systems Administrator
The Shubert Organization, Inc.


----- Original Message -----
From: "Jonathan Williams" <jonathw@shubertorg.com>
To: <tru64-unix-managers@ornl.gov>
Sent: Thursday, June 19, 2003 11:38 AM
Subject: SSH X11 question


> We just got a brand new Alphaserver ES80 (running Tru64 5.1b), and I'm busily
> trying to configure it as a production machine.  One of the things that needs
> configuring is SSH.
>
> We have two other machines running SSH and 5.1b, and if I were to ssh2 from
one
> to the other, my DISPLAY variable would automatically be set for me (if I ssh2
> from systemA to systemB, my DISPLAY will be set to something like
> "systemB.shubertorg.com:10.0".  And all of the X11 applications work just
fine.
>
> With this new system, I noticed that the DISPLAY variable is blank when I ssh2
> from the other systems to this system, or even from this system to the other
> systems (causing a "cannot open display" error when starting X11 apps).  It's
> like something is missing.  I don't recall having to do anything special to
the
> other systems to get this to work properly.  I compared the ssh2_config and
> sshd2_config files (with a working system), and they seem to be identical
> (including the FORWARDX11 option set to "yes").
>
> One thing I noticed is that this new system seems to be running 5.1b patchkit
2,
> while the others are running patchkit1--I'm not sure if that means anything
> though.
>
> Any suggestions are greatly appreciated.
>
> Jonathan Williams
> Unix Systems Administrator
> The Shubert Organization, Inc.
>
>
>
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-19 21:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-19 14:26 SUMMARY: Slightly off topic XDMCP and SSH Chris Bryant
2003-06-19 15:38 ` SSH X11 question Jonathan Williams
2003-06-19 21:57   ` SUMMARY: " Jonathan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox