Re: running an x app remotely via ssh

2003-02-12 Thread kitsune
When using a ssh client, putty in your case, and you want X to be forwarded. You need 
to have a X server running on both machines. If you are making us of putty you will 
need a X server running on windows. For this you will need cygwin, 
http://www.cygwin.com/ , and you will need to enable enable X forwarding in putty too.

On Wed, 12 Feb 2003 10:14:13 -0600
"Kirk R. Wythers" <[EMAIL PROTECTED]> wrote:

> I am able to log into my office machine (5.0-RELEASE) with ssh from home
> just fine. However when I attempt to start an X-app (with putty), I get
> the error: 
> 
> lorax: [/etc/ssh] $ evolution &
> [1] 674
> lorax: [/etc/ssh] $ Gdk-ERROR **: X connection to localhost:10.0 broken
> (explicit kill or server shutdown).
> 
> What did I miss? I have a fragment of a memory about adding my home
> machine to some file somewhere on my office box in order for my home
> machine to have permission to receive forwarded X applications? 
> 
> Thanks
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: running an x app remotely via ssh

2003-02-12 Thread Kirk Strauser
At 2003-02-12T16:28:58Z, "Kirk R. Wythers" <[EMAIL PROTECTED]> writes:

> I connecting from an wind32 client (putty)... and yes I enabled X
> forwarding on the connection...

Umm, your client machine is running Windows?  Are you running a X server on
that windows machine?
-- 
Kirk Strauser
In Googlis non est, ergo non est.



msg19051/pgp0.pgp
Description: PGP signature


RE: running an x app remotely via ssh

2003-02-12 Thread Kirk R. Wythers


-Original Message-
From: David Bear [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 12, 2003 10:25 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: running an x app remotely via ssh

On Wed, Feb 12, 2003 at 10:14:13AM -0600, Kirk R. Wythers wrote:
> I am able to log into my office machine (5.0-RELEASE) with ssh from
home
> just fine. However when I attempt to start an X-app (with putty), I
get
> the error: 
> 
> lorax: [/etc/ssh] $ evolution &
> [1] 674
> lorax: [/etc/ssh] $ Gdk-ERROR **: X connection to localhost:10.0
broken
> (explicit kill or server shutdown).
> 
> What did I miss? I have a fragment of a memory about adding my home
> machine to some file somewhere on my office box in order for my home

did you have an X server running on your home machine when you shell
into your office machine?

The home machine is an winxp box (putty is a win32 client)

also, when using ssh I need to use -X at the end of the command line
to instruct it to tunnel X.  don't know about putty. 


-- 
David Bear
College of Public Programs/ASU
Mail Code 0803


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: running an x app remotely via ssh

2003-02-12 Thread Kirk R. Wythers


-Original Message-
From: Kirk R. Wythers [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 12, 2003 10:27 AM
To: 'Michael Sharp'; [EMAIL PROTECTED]
Subject: RE: running an x app remotely via ssh



-Original Message-
From: Michael Sharp [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 12, 2003 10:30 AM
To: [EMAIL PROTECTED]
Subject: Re: running an x app remotely via ssh

Is your sshd server running with " X11Forwarding yes " 
Yes... I uncommented X11Forwarding and set it to YES...

# Kerberos TGT Passing only works with the AFS kaserver
#KerberosTgtPassing no

X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes


I also uncommented ForwardX11 and set it to yes...
# Site-wide defaults for various options

# Host *
#   ForwardAgent no
   ForwardX11 yes
#   RhostsAuthentication no
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
and are you running
nix from home or using a win32 client such as putty/securecrt to connect
to the work unix machine?

I connecting from an wind32 client (putty)... and yes I enabled X
forwarding on the connection... 

michael


> I am able to log into my office machine (5.0-RELEASE) with ssh from
home
> just fine. However when I attempt to start an X-app (with putty), I
get
> the error:
>
> lorax: [/etc/ssh] $ evolution &
> [1] 674
> lorax: [/etc/ssh] $ Gdk-ERROR **: X connection to localhost:10.0
broken
> (explicit kill or server shutdown).
>
> What did I miss? I have a fragment of a memory about adding my home
> machine to some file somewhere on my office box in order for my home
> machine to have permission to receive forwarded X applications?
>
> Thanks
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message


GnuPG Key: http://probsd.org/michael.asc





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: running an x app remotely via ssh

2003-02-12 Thread David Bear
On Wed, Feb 12, 2003 at 10:14:13AM -0600, Kirk R. Wythers wrote:
> I am able to log into my office machine (5.0-RELEASE) with ssh from home
> just fine. However when I attempt to start an X-app (with putty), I get
> the error: 
> 
> lorax: [/etc/ssh] $ evolution &
> [1] 674
> lorax: [/etc/ssh] $ Gdk-ERROR **: X connection to localhost:10.0 broken
> (explicit kill or server shutdown).
> 
> What did I miss? I have a fragment of a memory about adding my home
> machine to some file somewhere on my office box in order for my home

did you have an X server running on your home machine when you shell
into your office machine?

also, when using ssh I need to use -X at the end of the command line
to instruct it to tunnel X.  don't know about putty.


-- 
David Bear
College of Public Programs/ASU
Mail Code 0803

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



running an x app remotely via ssh

2003-02-12 Thread Kirk R. Wythers
I am able to log into my office machine (5.0-RELEASE) with ssh from home
just fine. However when I attempt to start an X-app (with putty), I get
the error: 

lorax: [/etc/ssh] $ evolution &
[1] 674
lorax: [/etc/ssh] $ Gdk-ERROR **: X connection to localhost:10.0 broken
(explicit kill or server shutdown).

What did I miss? I have a fragment of a memory about adding my home
machine to some file somewhere on my office box in order for my home
machine to have permission to receive forwarded X applications? 

Thanks


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message