Re: syntax of ssh wrapper for X Windows command

From: dawbins (dawbins_at_n0n0.com)
Date: 06/23/03


Date: Mon, 23 Jun 2003 21:45:08 GMT

Thank you for responding.

I have two computers comp1 (local) and comp2 (remote) connected by
ethernet.

'ssh comp2' allows me to log into comp2 from comp1 but as a
command line user and the connection is encrypted.

X :1 -query comp2 (after changes to /etc/inittab,
/etc/X11/xdm/xdm-config and /etc/X11/xdm/Xservers on comp2)
allows logging into a comp2 Xwindows from comp1.

if I do 'ssh comp2' and log in - and then type startx - an Xwindow
is started on comp2 not on comp1

I want to log into comp2 from comp1 by way of the Xwindows
which is what X :1 -query comp2 does.

You are saying it isn't possible to ssh wrap the command
X :1 -query comp2
like
tar cf - /dir | ssh comp2 tar xf -

so the Xwindows login connection is encrypted over the ethernet?

thanks,

Richard E Silverman wrote:
>
> > Hi
> > I have been trying to openSSH wrap the following X windows command :
> >
> > X :1 -query comp2
>
> It is not clear what you mean by "wrapping a command." However, if you're
> trying to use SSH X forwarding, you're confused. This command starts an X
> server. SSH X forwarding is used to protect connections from X clients.
> This command does not start any X connections to protect. Separately, the
> -query argument tells it to use XDMCP, but that's a UDP protocol not
> amenable to SSH forwarding anyway.
>
> --
> Richard Silverman
> res@qoxp.net



Relevant Pages

  • Re: 3 NIC computer
    ... >seems to keep droping my connection every now and then. ... Comp1 needs routing enabled ... Comp2 may need routing enabled if you wish to forward from one ethernet ... connected interface to subnet 2 is the preferred interface. ...
    (comp.os.linux.networking)
  • More XP -> XP Networking woes
    ... On checking the settings I noticed that Comp2 was set for DHCP - I do not ... see how to set DHCP server on Comp1 and the Internet connection is via a PCI ... "Network path not found. ...
    (microsoft.public.windowsxp.general)
  • 3 NIC computer
    ... seems to keep droping my connection every now and then. ... So what i want is a network according ... Core 3 on both comp1 and comp2. ...
    (comp.os.linux.networking)
  • Networking
    ... Check your setup on comp2. ... the other computer (in the network wizard, control panel, ... When you enter the network on comp1, ... ethernet connection, you may want to try reinstalling that ...
    (microsoft.public.windowsxp.network_web)
  • RE: Dialin problem
    ... # /etc/ppp/ppp.conf File for dial out modem to ISP and Dial in modem ... # connection to this FBSD system. ... # it's default options profile set to, NO command echo ATE0 and NO ... Edit /etc/ttys to enable a getty on the port where the dialin ...
    (freebsd-questions)