[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X connection



on Mon, Mar 26, 2001 at 11:50:01PM -0800, Karsten M. Self (kmself@ix.netcom.com) wrote:
> on Mon, Mar 26, 2001 at 07:12:21PM -0600, aoki@aokiconsulting.com (aoki@aokiconsulting.com) wrote:
> > I know xhost and xauth to get X connected from remote site. xhost 
> > is insecure and xauth is complicated.  I see ssh has portforwarding 
> > (-X) for X.  Can anyone pont me to how to do remote connection
> > using ssh.
> 
> Client side:
> 
>   $ ssh -X host
> 
> Note that syntax has changed.  Older clients may use a '+/-x' syntax.
> Check your system.
> 
> On the server side, you have to enable X11 forwarding.  This may be
> disabled by default.  See /etc/ssh/sshd_config.

Apologies, I didn't read through your post the first time through.

If you are doing both the above an you still can't start any X
applications, provide additional detail.

Essentially, the following should work or provide more information.

  - Start in an existing X session as a user capable of displaying
    clients on the active display.

  - Connect to the remote host.  For debugging purposes, use the verbose
    option:

      $ ssh -X -v user@remote 2>&1 | tee ssh.log

  - Launch an X client from the remote client.  I usually pick xlogo as
    a simple, light, fast test:

      $ xclient

...if any of this fails, check your debugging output for messages and
post back.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgp4ANxWFyroG.pgp
Description: PGP signature


Reply to: